| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Docs] Optimize document Chinese and English switching experience Co-authored-by: blian6<bin.lian@outlook.com> Co-authored-by: blian<lianbin@huawei.com> # message auto-generated for no-merge-commit merge: !267 merge dev into dev [Docs] Optimize document Chinese and English switching experience Created-by: blian Commit-by: blian6;blian Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes 1. 优化文档内容,并提供网页的中英文切换能力 2. 添加关键融合算子和关键API的说明文档 3. 后续优化点: a. 图片的路径需要移到公有路径(docs/figures),否则,会产生无法找到的问题,但是这个修改涉及面较多,后续提交PR。 b. 中文界面的切换按钮最好是英文。 # Purpose # Test Plan 本地生成 HTML 文档可使用以下命令: bash python -m pip install -r docs/requirements-docs.txt # 构建中英文 python docs/build_docs.py # 仅构建中文 SPHINX_LANGUAGE=zh sphinx-build -b html -c docs docs/zh docs/_build/zh/html # 仅构建英文 SPHINX_LANGUAGE=en sphinx-build -b html -c docs docs/en docs/_build/en/html 本地预览方法: python -m http.server 8080 --directory docs/_build - http://localhost:8080 → 自动跳转中文版 - http://localhost:8080/zh/html/index.html → 中文 - http://localhost:8080/en/html/index.html → 英文 # Test Report   See merge request: Ascend/MindIE-SD!267 | 2 个月前 | |
[Bugfix][eplb]Enhance EPLB fault logs and fault mode library Co-authored-by: guowenna1<guowenna1@huawei.com> # message auto-generated for no-merge-commit merge: !402 merge 0701_fix into dev [Bugfix][eplb]Enhance EPLB fault logs and fault mode library Created-by: guowenna1 Commit-by: guowenna1 Merged-by: ascend-robot Description: # PR Title [Bugfix][eplb]Enhance EPLB fault logs and fault mode library # Which issue(s) this PR fixes or accomplishes Fixes #ISSUE ID # Purpose 本 PR 用于完善 EPLB 故障模式库与运行时日志,满足故障定位工具暂不具备执行指令能力时,用户仅依赖日志内容也能完成定位排查的要求。 主要修改如下: 1. 完善 EPLB 运行时日志中的定位排查信息: - Scheduler 端口绑定失败日志补充端口占用、 --host、--port 排查路径。 - Worker 连接 Scheduler 失败日志补充 actual_error、进程状态、端口监听、worker/scheduler 地址一致性、网络连通性排查路径。 - 认证失败日志补充 scheduler --auth_key、worker auth_key、EPLB_AUTH_KEY 对比方法。 - profile 任务入队失败日志补充 scheduler/worker 消费线程、队列积压、lb_interval 和队列容量排查方法。 - scheduler 处理上报失败日志补充 moe_layer_idx、load、local_expert_list、block_num、world_size、mode/redundant 排查方法。 - 布局未更新日志补充 layer_idx、rank 上报完整性、block_num、负载变化和 EPLB 阈值排查方法。 - 未知指令日志补充 instruction producer、TaskPayload.task_type、TASK_DISPATCHER 排查方法。 2. 同步完善中英文 EPLB 故障模式库: - docs/zh/appendix/eplb_fault_mode_library.csv - docs/en/appendix/eplb_fault_mode_library.csv - 将 故障关键日志 从短关键字改为完整日志模板。 - 动态字段使用 {...} 占位。 - 日志内容不包含 EPLB 故障模式编号。 - 故障定位方法与运行时日志中的排查思路保持一致。 3. 补充 EPLB 未知 TaskType 的 ERROR 日志: - 非 TaskPayload 指令输出 Unknown instruction ignored。 - 非法 TaskPayload.task_type 输出 Unknown task type。 - 保持原有异常行为不变,未知任务类型仍抛出 ParametersInvalid。 # Test Plan 测试内容如下: 1. 故障模式库结构校验: - 验证 EPLB 故障模式库 schema。 - 验证故障模式库仅作为文档引用,不进入包发布数据。 - 验证故障模式库只包含 EPLB 故障模式。 2. EPLB 故障模式日志校验: - 验证 scheduler 未运行 / worker 连接失败日志。 - 验证 scheduler 端口不可用日志。 - 验证认证密钥不一致日志。 - 验证 profile 任务入队失败日志。 - 验证 scheduler 处理上报失败异常。 - 验证专家初始放置失败、共享专家放置失败、专家交换状态不一致、布局未更新、未知任务指令等场景。 3. 提交前静态检查: - 对本次修改文件执行 pre-commit run --files。 - 参考 MR 规则表中 Python 相关规则,重点关注日志工具使用、异常处理、导入顺序、格式与行宽等静态检查要求。 # Test Report 已执行并通过: ```shell python -m unittest tests/test_fault_modes.py -v See merge request: Ascend/MindIE-SD!402 | 22 天前 | |
[Docs]Sync en/ docs to zh/, update README and README.en.md Co-authored-by: blian<lianbin@huawei.com> # message auto-generated for no-merge-commit merge: !358 merge dev-en into dev [Docs]Sync en/ docs to zh/, update README and README.en.md Created-by: blian Commit-by: blian Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fixes #(待补充) # Purpose 以 docs/zh/ 为权威源,完全同步 docs/en/ 的英文文档内容,使中英文文档数量、结构与内容一致。 具体变更: - 删除 en 侧 6 个 zh 不存在的孤立文件(menu_user_manual.md、installing_guide.md、 sparse_quantization.md、others.md、graphics_memory_optimization.md、 environment_variable_configuration.md) - 新建 12 个 en 文件(release_note.md、installation.md、cpu_offload.md、sparse.md、 share_memory.md、quantization.md、fused_moe.md、repo_structure.md、 pattern_dev_guide.md、contribution_guide.md、benchmark_and_profiling.md、 eplb_fault_mode_library.csv) - 重写 15 个已有 en 文件,与 zh 源内容完全对齐(包括 core_layers.md、 parallelism.md、cache.md 等大文件) - docs/en/index.md toctree 结构镜像 docs/zh/index.md - README.md 重构:目录结构迁移至 architecture.md,新增快速入门、开发文档、生态 支持入口 - 删除废弃的 docs/index.md(RTD 构建使用语言子目录 index.md,该文件不在构建路径中) - 新增 README.en.md(完整英文翻译版) - 修复 architecture.md 中 Pygments 不识别的 txt 为 text # Test Plan - V1 文件数验证:zh 27 文件,en 27 文件,路径一一对应 - V2 Sphinx en 构建(-W 严格模式)通过,0 warnings - V3 Sphinx zh 构建(-W 回归)通过,0 warnings - V4 图片路径检查:所有 ../../figures/ 引用可达 - V5 toctree 入口完整性:22 条目全部解析 - 目视检查 README.md / README.en.md 链接可用性 # Test Report (待补充) See merge request: Ascend/MindIE-SD!358 | 1 个月前 | |
[Docs]Sync en/ docs to zh/, update README and README.en.md Co-authored-by: blian<lianbin@huawei.com> # message auto-generated for no-merge-commit merge: !358 merge dev-en into dev [Docs]Sync en/ docs to zh/, update README and README.en.md Created-by: blian Commit-by: blian Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fixes #(待补充) # Purpose 以 docs/zh/ 为权威源,完全同步 docs/en/ 的英文文档内容,使中英文文档数量、结构与内容一致。 具体变更: - 删除 en 侧 6 个 zh 不存在的孤立文件(menu_user_manual.md、installing_guide.md、 sparse_quantization.md、others.md、graphics_memory_optimization.md、 environment_variable_configuration.md) - 新建 12 个 en 文件(release_note.md、installation.md、cpu_offload.md、sparse.md、 share_memory.md、quantization.md、fused_moe.md、repo_structure.md、 pattern_dev_guide.md、contribution_guide.md、benchmark_and_profiling.md、 eplb_fault_mode_library.csv) - 重写 15 个已有 en 文件,与 zh 源内容完全对齐(包括 core_layers.md、 parallelism.md、cache.md 等大文件) - docs/en/index.md toctree 结构镜像 docs/zh/index.md - README.md 重构:目录结构迁移至 architecture.md,新增快速入门、开发文档、生态 支持入口 - 删除废弃的 docs/index.md(RTD 构建使用语言子目录 index.md,该文件不在构建路径中) - 新增 README.en.md(完整英文翻译版) - 修复 architecture.md 中 Pygments 不识别的 txt 为 text # Test Plan - V1 文件数验证:zh 27 文件,en 27 文件,路径一一对应 - V2 Sphinx en 构建(-W 严格模式)通过,0 warnings - V3 Sphinx zh 构建(-W 回归)通过,0 warnings - V4 图片路径检查:所有 ../../figures/ 引用可达 - V5 toctree 入口完整性:22 条目全部解析 - 目视检查 README.md / README.en.md 链接可用性 # Test Report (待补充) See merge request: Ascend/MindIE-SD!358 | 1 个月前 | |
[Docs][docs]Update quantization FIA operator description Co-authored-by: lanwangli<lanwangli@huawei.com> # message auto-generated for no-merge-commit merge: !428 merge 0704_mig_fia_to_mindiesd_docs into dev [Docs][docs]Update quantization FIA operator description Created-by: lanwangli Commit-by: lanwangli Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes TODO: Fixes #ISSUE ID # Purpose Update the FP8 Attention description in the quantization feature docs so the English and Chinese pages match the migrated FIA call path. This PR only changes the docs module: - Update docs/en/features/quantization.md to state that FP8 Attention uses torch.ops.mindiesd.fused_infer_attention_score_v2 and routes to the migrated repository implementation. - Update docs/zh/features/quantization.md with the matching Chinese description. - Remove a duplicated online quantization example block from both pages. # Test Plan - Run pre-commit on the diff between this branch and origin/dev. - Cover whitespace, EOF, spelling, and typos checks for the modified docs. - Check that the English and Chinese docs are updated consistently. # Test Report Executed and passed: bash pre-commit run --from-ref origin/dev --to-ref HEAD Result: Passed Docs site build was not executed. Suggested validation command: bash python -m pip install -r docs/requirements-docs.txt python -m sphinx -b html docs docs/_build/html See merge request: Ascend/MindIE-SD!428 | 19 天前 | |
squash Co-authored-by: w00955629<wangruonan14@huawei.com> # message auto-generated for no-merge-commit merge: !341 merge feature-power-cap into dev add feature: FA_power_cap and examples Created-by: w00955629 Commit-by: w00955629 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes N/A # Purpose Address review comments for FA_Power_Cap documentation: - Align the FA_Power_Cap page title with other feature documents. - Add FA_Power_Cap entries to architecture and index documentation. - Keep Chinese and English documentation links consistent. # Test Plan - Check Markdown diff scope. - Build Chinese documentation with Sphinx. - Build English documentation with Sphinx. - Push branch and verify GitCode remote hooks. # Test Report - git diff --check: passed - SPHINX_LANGUAGE=zh python -m sphinx -b html docs/zh docs/_build/zh/html -c docs: passed - SPHINX_LANGUAGE=en python -m sphinx -b html docs/en docs/_build/en/html -c docs: passed - GitCode remote hooks: passed - markdownlint/pre-commit: not run because they are not installed locally See merge request: Ascend/MindIE-SD!341 | 1 个月前 | |
squash Co-authored-by: w00955629<wangruonan14@huawei.com> # message auto-generated for no-merge-commit merge: !341 merge feature-power-cap into dev add feature: FA_power_cap and examples Created-by: w00955629 Commit-by: w00955629 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes N/A # Purpose Address review comments for FA_Power_Cap documentation: - Align the FA_Power_Cap page title with other feature documents. - Add FA_Power_Cap entries to architecture and index documentation. - Keep Chinese and English documentation links consistent. # Test Plan - Check Markdown diff scope. - Build Chinese documentation with Sphinx. - Build English documentation with Sphinx. - Push branch and verify GitCode remote hooks. # Test Report - git diff --check: passed - SPHINX_LANGUAGE=zh python -m sphinx -b html docs/zh docs/_build/zh/html -c docs: passed - SPHINX_LANGUAGE=en python -m sphinx -b html docs/en docs/_build/en/html -c docs: passed - GitCode remote hooks: passed - markdownlint/pre-commit: not run because they are not installed locally See merge request: Ascend/MindIE-SD!341 | 1 个月前 | |
[Chore][deps]Reorganize requirements into layers and loosen version constraints Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !398 merge requirment into dev [Chore][deps]Reorganize requirements into layers and loosen version constraints Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes Fix part of #92 # Purpose 按 #92「外部依赖治理」的阶段一(依赖声明收敛)重构依赖分层并放宽版本约束,让安装边界更清晰、降低版本漂移: - 核心运行依赖收敛到 requirements.txt:仅 torch/torch_npu 钉 2.9.0,其余用 >=/不锁;新增此前 import mindiesd 缺失的 safetensors。 - 服务化依赖就近放到 examples/service/requirements.txt(唯一真相源);模型生态间接依赖交由外部模型仓自管。 - examples/dummy_run/requirements.txt 补 torch_npu、tensorboard(示例实际需要)。 - 放宽测试/Lint 工具版本:coverage、pre-commit 改 >=;timm==0.9.12(1.x 会 ImportError)、mypy==1.13.0(保类型检查可复现)按需保留 pin。 - 文档(installation/quick_start/service.md,中英文同步)补充分层安装说明与 triton-ascend 3.2.1 的 GitCode 安装来源。 - THIRD_PARTY_LICENSES.txt 去版本号并对齐当前依赖集(补 torch_npu/triton/triton-ascend/safetensors,删过期条目)。 # Test Plan 1. 安装核心运行依赖:pip install -r requirements.txt(应非破坏性,不动 torch/torch_npu)。 2. 源码构建 wheel:python setup.py bdist_wheel。 3. 验证 import mindiesd 及调用接口(如构造 QuantConfig / OnlineQuantConfig)。 4. (SparseLinearAttention)从 GitCode 发布页装 triton-ascend 3.2.1,确认无禁用告警。 5. 核对 installation/quick_start 文档安装路径与 THIRD_PARTY_LICENSES 清单。 # Test Report - pip install -r requirements.txt:非破坏性(装入 triton 3.5.0 / triton-ascend 3.2.1 / strenum,torch 与 torch_npu 不变)。 - python setup.py bdist_wheel:成功,产出 dist/mindiesd-3.0.0-*.whl 与 mindiesd/plugin/libPTAExtensionOPS.so。 - import mindiesd:通过,16 个 __all__ 符号全部可达。 See merge request: Ascend/MindIE-SD!398 | 23 天前 | |
[Docs]Sync en/ docs to zh/, update README and README.en.md Co-authored-by: blian<lianbin@huawei.com> # message auto-generated for no-merge-commit merge: !358 merge dev-en into dev [Docs]Sync en/ docs to zh/, update README and README.en.md Created-by: blian Commit-by: blian Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fixes #(待补充) # Purpose 以 docs/zh/ 为权威源,完全同步 docs/en/ 的英文文档内容,使中英文文档数量、结构与内容一致。 具体变更: - 删除 en 侧 6 个 zh 不存在的孤立文件(menu_user_manual.md、installing_guide.md、 sparse_quantization.md、others.md、graphics_memory_optimization.md、 environment_variable_configuration.md) - 新建 12 个 en 文件(release_note.md、installation.md、cpu_offload.md、sparse.md、 share_memory.md、quantization.md、fused_moe.md、repo_structure.md、 pattern_dev_guide.md、contribution_guide.md、benchmark_and_profiling.md、 eplb_fault_mode_library.csv) - 重写 15 个已有 en 文件,与 zh 源内容完全对齐(包括 core_layers.md、 parallelism.md、cache.md 等大文件) - docs/en/index.md toctree 结构镜像 docs/zh/index.md - README.md 重构:目录结构迁移至 architecture.md,新增快速入门、开发文档、生态 支持入口 - 删除废弃的 docs/index.md(RTD 构建使用语言子目录 index.md,该文件不在构建路径中) - 新增 README.en.md(完整英文翻译版) - 修复 architecture.md 中 Pygments 不识别的 txt 为 text # Test Plan - V1 文件数验证:zh 27 文件,en 27 文件,路径一一对应 - V2 Sphinx en 构建(-W 严格模式)通过,0 warnings - V3 Sphinx zh 构建(-W 回归)通过,0 warnings - V4 图片路径检查:所有 ../../figures/ 引用可达 - V5 toctree 入口完整性:22 条目全部解析 - 目视检查 README.md / README.en.md 链接可用性 # Test Report (待补充) See merge request: Ascend/MindIE-SD!358 | 1 个月前 | |
[Docs]Sync en/ docs to zh/, update README and README.en.md Co-authored-by: blian<lianbin@huawei.com> # message auto-generated for no-merge-commit merge: !358 merge dev-en into dev [Docs]Sync en/ docs to zh/, update README and README.en.md Created-by: blian Commit-by: blian Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fixes #(待补充) # Purpose 以 docs/zh/ 为权威源,完全同步 docs/en/ 的英文文档内容,使中英文文档数量、结构与内容一致。 具体变更: - 删除 en 侧 6 个 zh 不存在的孤立文件(menu_user_manual.md、installing_guide.md、 sparse_quantization.md、others.md、graphics_memory_optimization.md、 environment_variable_configuration.md) - 新建 12 个 en 文件(release_note.md、installation.md、cpu_offload.md、sparse.md、 share_memory.md、quantization.md、fused_moe.md、repo_structure.md、 pattern_dev_guide.md、contribution_guide.md、benchmark_and_profiling.md、 eplb_fault_mode_library.csv) - 重写 15 个已有 en 文件,与 zh 源内容完全对齐(包括 core_layers.md、 parallelism.md、cache.md 等大文件) - docs/en/index.md toctree 结构镜像 docs/zh/index.md - README.md 重构:目录结构迁移至 architecture.md,新增快速入门、开发文档、生态 支持入口 - 删除废弃的 docs/index.md(RTD 构建使用语言子目录 index.md,该文件不在构建路径中) - 新增 README.en.md(完整英文翻译版) - 修复 architecture.md 中 Pygments 不识别的 txt 为 text # Test Plan - V1 文件数验证:zh 27 文件,en 27 文件,路径一一对应 - V2 Sphinx en 构建(-W 严格模式)通过,0 warnings - V3 Sphinx zh 构建(-W 回归)通过,0 warnings - V4 图片路径检查:所有 ../../figures/ 引用可达 - V5 toctree 入口完整性:22 条目全部解析 - 目视检查 README.md / README.en.md 链接可用性 # Test Report (待补充) See merge request: Ascend/MindIE-SD!358 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 22 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 19 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 23 天前 | ||
| 1 个月前 | ||
| 1 个月前 |