昇腾SD类模型推理引擎
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Docs][agents] Refresh .agents/README.md to document 12 newly added skills Co-authored-by: blian6<bin.lian@outlook.com> Co-authored-by: blian<lianbin@huawei.com> # message auto-generated for no-merge-commit merge: !286 merge dev into dev [Docs][agents] Refresh .agents/README.md to document 12 newly added skills Created-by: blian Commit-by: blian6;blian Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes N/A # Purpose Refresh .agents/README.md to document 12 newly added AI agent skills under .agents/skills/ (previously only mindie-sd-community-governance existed). Newly added skills: - Development workflow: dev-workflow, code-standards, markdown-lint, compilation-support - Model verification & deployment: model-verification, ascend-deploy, profiling-collection - Performance engineering: performance-evaluation, performance-analysis, performance-optimization, parallelism-strategy - End-to-end optimization: auto-optimization Changes: 1. Architecture diagram: updated to include all 13 skills with correct topology 2. Skill tables: expanded from 1 category to 5 categories covering all skills 3. Directory structure: mirrored the full .agents/skills/ layout 4. Skill count: 1 → 12 populated + 1 WIP 5. Quick Start: added compilation step to development workflow # Test Plan N/A # Test Report N/A See merge request: Ascend/MindIE-SD!286 | 4 个月前 | |
[Docs] refresh lint and dependency config, docker, docs Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !243 merge dev into dev [Docs] refresh lint and dependency config, docker, docs Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose This PR delivers five grouped changes: 1. add a 910B AArch64 docker build environment; 2. refresh repository lint/dependency inputs; 3. reorganize developer documentation and navigation; 4. align homepage, manuals, and tech report entrypoints; 5. consolidate governance skill routing and require proactive commit/PR draft output. # Test Plan 1. Review the new docker build files and README. 2. Review repository dependency and pre-commit configuration changes. 3. Review Chinese and English developer guide updates and navigation entrypoints. 4. Review homepage/manual/report entry changes. 5. Review AGENTS.md and .agents/skills/mindie-sd-community-governance/SKILL.md for routing and PR-drafting requirements. # Test Report  See merge request: Ascend/MindIE-SD!243 | 5 个月前 | |
feat: implement basic dev container capabilities Co-authored-by: hejianping<hejianping7@huawei.com> # message auto-generated for no-merge-commit merge: !235 merge build/devcontainer into dev feat: implement basic dev container capabilities Created-by: hejianping Commit-by: hejianping Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes Fixes [#69](https://gitcode.com/Ascend/MindIE-SD/issues/69) # Purpose 在社区提供DevContainer核心能力,让 1.环境标准化:把“我本地能跑”变成“团队都能跑” 2 多角色/多场景配置:一个仓库不必只有一种环境 3 Features:把工具安装标准化、模块化 4 Templates:把最佳实践打包成开箱模板 5 生命周期脚本:让环境初始化自动完成 6 预构建能力:把“第一次进入很慢”变成“秒级可用” 7 CLI:把 IDE 体验变成流水线能力 # Test Plan > 设计了哪些测试内容,指导他人如何对你的PR进行测试\ > Apply information to show others your test design and how to test your Pull Request 在wsl下测试执行UT成功,信息如下: INFO:root:creating build/lib/mindiesd/ops/vendors/customize INFO:root:creating build/lib/mindiesd/ops/vendors/customize/framework INFO:root:creating build/lib/mindiesd/ops/vendors/customize/framework/onnx INFO:root:copying mindiesd/ops/vendors/customize/framework/onnx/libcust_onnx_parsers.so -> build/lib/mindiesd/ops/vendors/customize/framework/onnx INFO:root:creating build/lib/mindiesd/ops/vendors/customize/framework/tensorflow INFO:root:copying mindiesd/ops/vendors/customize/framework/tensorflow/npu_supported_ops.json -> build/lib/mindiesd/ops/vendors/customize/framework/tensorflow INFO:root:creating build/lib/mindiesd/ops/vendors/customize/op_impl INFO:root:creating build/lib/mindiesd/ops/vendors/customize/op_impl/ai_core INFO:root:creating build/lib/mindiesd/ops/vendors/customize/op_impl/ai_core/tbe INFO:root:creating build/lib/mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/config INFO:root:creating build/lib/mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/config/ascend310p INFO:root:copying mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/config/ascend310p/aic-ascend310p-ops-info.json -> build/lib/mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/config/ascend310p INFO:root:creating build/lib/mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/customize_impl INFO:root:copying mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/customize_impl/constants.py -> build/lib/mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/customize_impl INFO:root:copying mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/customize_impl/flash_attention_fwd.py -> build/lib/mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/customize_impl INFO:root:copying mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/customize_impl/flash_attention_tik.py -> build/lib/mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/customize_impl INFO:root:copying mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/customize_impl/tik_ops_utils.py -> build/lib/mindiesd/ops/vendors/customize/op_impl/ai_core/tbe/customize_impl INFO:root:creating build/lib/mindiesd/ops/vendors/customize/op_impl/vector_core INFO:root:creating build/lib/mindiesd/ops/vendors/customize/op_impl/vector_core/tbe INFO:root:creating build/lib/mindiesd/ops/vendors/customize/op_impl/vector_core/tbe/customize_impl INFO:root:copying mindiesd/ops/vendors/customize/op_impl/vector_core/tbe/customize_impl/constants.py -> build/lib/mindiesd/ops/vendors/customize/op_impl/vector_core/tbe/customize_impl INFO:root:copying mindiesd/ops/vendors/customize/op_impl/vector_core/tbe/customize_impl/flash_attention_fwd.py -> build/lib/mindiesd/ops/vendors/customize/op_impl/vector_core/tbe/customize_impl INFO:root:copying mindiesd/ops/vendors/customize/op_impl/vector_core/tbe/customize_impl/flash_attention_tik.py -> build/lib/mindiesd/ops/vendors/customize/op_impl/vector_core/tbe/customize_impl INFO:root:copying mindiesd/ops/vendors/customize/op_impl/vector_core/tbe/customize_impl/tik_ops_utils.py -> build/lib/mindiesd/ops/vendors/customize/op_impl/vector_core/tbe/customize_impl INFO:root:creating build/lib/mindiesd/ops/vendors/customize/op_proto INFO:root:copying mindiesd/ops/vendors/customize/op_proto/libcust_op_proto.so -> build/lib/mindiesd/ops/vendors/customize/op_proto INFO:root:copying mindiesd/plugin/libPTAExtensionOPS.so -> build/lib/mindiesd/plugin WARNING:root:warning: CustomBuildPy: byte-compiling is disabled, skipping. root@00464f0fc4a3:/workspace/MindIE-SD# bash tests/run_UT_test.sh ........2026-04-08 20:11:51.462+08:00 CST [10710] [138009548819328] [MindIE-SD] [ERROR] exception.py:26: [MIE06E000002] Config parameter err. Test config exception! .2026-04-08 20:11:51.462+08:00 CST [10710] [138009548819328] [MindIE-SD] [ERROR] exception.py:47: [MIE06E000005] Model exec err. Test model exec exception! .2026-04-08 20:11:51.462+08:00 CST [10710] [138009548819328] [MindIE-SD] [ERROR] exception.py:40: [MIE06E000004] Model init err. Test model init exception! .2026-04-08 20:11:51.463+08:00 CST [10710] [138009548819328] [MindIE-SD] [ERROR] exception.py:19: [MIE06E000001] Parameters invalid. Test parameter exception! .2026-04-08 20:11:51.463+08:00 CST [10710] [138009548819328] [MindIE-SD] [ERROR] exception.py:33: [MIE06E000003] Torch exec err. Test torch exception! ..... ---------------------------------------------------------------------- Ran 17 tests in 0.038s OK # Test Report See merge request: Ascend/MindIE-SD!235 | 5 个月前 | |
update: 更新文件 PULL_REQUEST_TEMPLATE.md Signed-off-by: limuyuan31 <limuyuan3@huawei.com> | 9 个月前 | |
[dev]同步最新代码 Co-authored-by: mazhixin00_00<mazhixin7@huawei.com> | 10 个月前 | |
[Bugfix][build] Skip TIK operator build when CMake >= 4.1.0 Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !298 merge fatik_build into dev [Bugfix][build] Skip TIK operator build when CMake >= 4.1.0 Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes Fixes #[97] # Purpose 在 build_tik_ops.sh 中增加 CMake 版本检查。当检测到 CMake >= 4.1.0 时,跳过 TIK 算子构建并给出提示信息,避免链接失败。 # Test Plan - [x] CMake 3.28 环境:TIK 算子正常构建 - [x] CMake 4.3 环境:TIK 算子被跳过,输出警告信息,整体构建不中断 See merge request: Ascend/MindIE-SD!298 | 4 个月前 | |
删除ascendc目录 Co-authored-by: mazhixin00_00<mazhixin7@huawei.com> # message auto-generated for no-merge-commit merge: !300 merge dev into dev 删除ascendc目录 Created-by: mazhixin00_00 Commit-by: mazhixin00_00 Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20251224 --> # Which issue(s) this PR fixes or accomplishes 删除ascendc目录 ## Purpose - 删除 csrc/ops/ascendc/ 全部 37 个文件,去除维护负担与歧义。 - 同步更新 tests/incremental_test_finder.py 中 6 处指向被删目录的硬编码映射,改为指向 per-op 目录下的等价源文件,保留增量测试发现能力。 ## Test Plan 1、在装有 CANN 的环境执行 bash build/build_ascendc_ops.sh -n 'laser_attention;la_preprocess;ada_block_sparse_attention;sparse_block_estimate' -c 'ascend910;ascend910b;ascend910_93',确认编译通过。 2、全量UT # Test Report 1、 2、 See merge request: Ascend/MindIE-SD!300 | 4 个月前 | |
[CI][build]Adopt PEP 517 build flow and refresh UT coverage Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !247 merge dev into dev [CI][build]Adopt PEP 517 build flow and refresh UT coverage Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose Adopt PEP 517 build flow and refresh UT coverage # Test Plan CI同步修改构建入口和覆盖率拦截,需要通过CIE配置自定义流水线验证 https://gitcode.com/Ascend/MindIE-CI/pull/62 # Test Report   See merge request: Ascend/MindIE-SD!247 | 5 个月前 | |
[Doc]修复样例执行命令 Co-authored-by: mazhixin00_00<mazhixin7@huawei.com> # message auto-generated for no-merge-commit merge: !294 merge dev into dev [Doc]修复样例执行命令 Created-by: mazhixin00_00 Commit-by: mazhixin00_00 Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20251224 --> # Which issue(s) this PR fixes or accomplishes > **如问题已解决,按照下方示例附上ISSUE单号 / Apply bug or request issue as follow if the solved**\ 修复执行wan2.1用例命令拉起报错问题 # Test Report  See merge request: Ascend/MindIE-SD!294 | 4 个月前 | |
[openlibing.ci] auto fixes by pre-commit | 4 个月前 | |
[Bugfix][offload]Fix enable_offload idempotency and event record ordering Co-authored-by: weixin_44144262<lijinxi2@huawei.com> Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !296 merge security into dev [Bugfix][offload]Fix enable_offload idempotency and event record ordering Created-by: changetheway Commit-by: changetheway;weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes issue #96 # Purpose 修复 enable_offload 的两个问题: 1. **幂等性缺失**:多次调用 enable_offload 会为同一 model 重复注册 forward hooks 和 pre-hooks,导致 offload 逻辑被多次触发。本次变更为 model 增加了 _mindie_offload_enabled 标志位,重复调用时直接返回。 2. **event record 顺序**:forward_event.record() 必须在进入 d2h_stream 上下文之前调用,否则 wait_event 无法正确等待 forward 完成。 同时补充了 test_enable_offload_idempotent 单元测试,验证重复调用不会重复注册 hooks。 # Test Plan 1. 运行 offload 模块单元测试: bash python -m pytest tests/test_offload.py -v  See merge request: Ascend/MindIE-SD!296 | 4 个月前 | |
[openlibing.ci] auto fixes by pre-commit | 4 个月前 | |
[Bugfix][offload]Fix enable_offload idempotency and event record ordering Co-authored-by: weixin_44144262<lijinxi2@huawei.com> Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !296 merge security into dev [Bugfix][offload]Fix enable_offload idempotency and event record ordering Created-by: changetheway Commit-by: changetheway;weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes issue #96 # Purpose 修复 enable_offload 的两个问题: 1. **幂等性缺失**:多次调用 enable_offload 会为同一 model 重复注册 forward hooks 和 pre-hooks,导致 offload 逻辑被多次触发。本次变更为 model 增加了 _mindie_offload_enabled 标志位,重复调用时直接返回。 2. **event record 顺序**:forward_event.record() 必须在进入 d2h_stream 上下文之前调用,否则 wait_event 无法正确等待 forward 完成。 同时补充了 test_enable_offload_idempotent 单元测试,验证重复调用不会重复注册 hooks。 # Test Plan 1. 运行 offload 模块单元测试: bash python -m pytest tests/test_offload.py -v  See merge request: Ascend/MindIE-SD!296 | 4 个月前 | |
[openlibing.ci] auto fixes by pre-commit | 4 个月前 | |
[CI][build]Adopt PEP 517 build flow and refresh UT coverage Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !247 merge dev into dev [CI][build]Adopt PEP 517 build flow and refresh UT coverage Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose Adopt PEP 517 build flow and refresh UT coverage # Test Plan CI同步修改构建入口和覆盖率拦截,需要通过CIE配置自定义流水线验证 https://gitcode.com/Ascend/MindIE-CI/pull/62 # Test Report   See merge request: Ascend/MindIE-SD!247 | 5 个月前 | |
[Docs] refresh lint and dependency config, docker, docs Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !243 merge dev into dev [Docs] refresh lint and dependency config, docker, docs Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose This PR delivers five grouped changes: 1. add a 910B AArch64 docker build environment; 2. refresh repository lint/dependency inputs; 3. reorganize developer documentation and navigation; 4. align homepage, manuals, and tech report entrypoints; 5. consolidate governance skill routing and require proactive commit/PR draft output. # Test Plan 1. Review the new docker build files and README. 2. Review repository dependency and pre-commit configuration changes. 3. Review Chinese and English developer guide updates and navigation entrypoints. 4. Review homepage/manual/report entry changes. 5. Review AGENTS.md and .agents/skills/mindie-sd-community-governance/SKILL.md for routing and PR-drafting requirements. # Test Report  See merge request: Ascend/MindIE-SD!243 | 5 个月前 | |
[Feature][build]Generate and merge compile_commands.json for all build stages Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !288 merge cmake_0509 into dev [Feature][build]Generate and merge compile_commands.json for all build stages Created-by: changetheway Commit-by: taoyuan_guo;changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes 无关issue,仅开启可以生成编译数据库的编译选项 # Purpose 为 MindIE-SD 的三段构建流程(AscendC ops、PyTorch plugin、TIK ops)启用并收集编译数据库(compile_commands.json),通过 setup.py 合并为统一的 compile_commands.json,供 IDE 代码补全、clangd、静态分析等工具使用。 具体变更: - **AscendC ops**: build/build_ascendc_ops.sh 中添加 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON,构建清理前保存 compile_commands.json - **PyTorch plugin**: build/build_plugin.sh 中添加 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON - **TIK ops**: build/build_tik_ops.sh 中注入 set(CMAKE_EXPORT_COMPILE_COMMANDS ON),setup.py 清理前保存 compile_commands.json - **合并逻辑**: setup.py 中新增 merge_compile_commands(),去重合并三份 compile_commands.json 到项目根目录 - **.gitignore**: 添加生成的编译数据库文件,避免误提交 # Test Plan 1. 执行完整构建流程:python setup.py build 2. 检查项目根目录是否生成 compile_commands.json 3. 验证 JSON 内容包含 AscendC ops、plugin、TIK 三个阶段的编译命令条目 4. 验证无重复条目 # Test Report  See merge request: Ascend/MindIE-SD!288 | 4 个月前 | |
[openlibing.ci] auto fixes by pre-commit | 4 个月前 | |
[Docs][RTD]Fix ReadTheDocs build to use zh/en source directories Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !293 merge rtd_0513 into dev [Docs][RTD]Fix ReadTheDocs build to use zh/en source directories Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes 无关issue,仅修正文档服务 # Purpose - 修复 ReadTheDocs 因python版本和Sphinx版本不匹配导致无法构建的问题。 修改内容: 1. .readthedocs.yaml:改用 python3.11 - 修复 ReadTheDocs 构建的文档首页显示英文目录而非中文目录的问题。 根因:ReadTheDocs 默认使用 docs/ 作为 Sphinx 源目录,首页渲染的是 docs/index.md,其 toctree caption 为英文("Getting Started"、"User Guide" 等)。而中文首页 docs/zh/index.md 的 toctree caption 为中文("快速开始"、"加速特性" 等),但 ReadTheDocs 未以其为构建源目录。 修改内容: 1. .readthedocs.yaml:改用 build.commands 自定义构建,分别用 docs/zh/ 和 docs/en/ 作为源目录构建中文和英文文档,根入口重定向到中文首页 2. docs/conf.py:根据 READTHEDOCS 环境变量动态设置语言切换器 URL,适配 ReadTheDocs 与本地构建的不同输出路径 3. docs/_templates/language-switcher.html 及其组件:改进 JS 路径解析,同时支持本地构建的 /html/ 路径和 ReadTheDocs 的 /zh/、/en/ 路径 # Test Plan 1. 合并后触发 ReadTheDocs 构建,观察构建日志是否成功 2. 访问 https://mindie-sd-docs.readthedocs.io/zh-cn/latest/ 确认自动跳转到中文首页 3. 检查中文首页左侧目录是否为中文标题("快速开始"、"加速特性" 等) 4. 检查英文首页左侧目录是否为英文标题("Getting Started"、"Feature Guides" 等) 5. 验证语言切换器在中英文页面间正确跳转 # Test Report https://mindie-sd-docs.readthedocs.io/zh-cn/latest/zh/index.html See merge request: Ascend/MindIE-SD!293 | 4 个月前 | |
[Docs] refresh lint and dependency config, docker, docs Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !243 merge dev into dev [Docs] refresh lint and dependency config, docker, docs Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose This PR delivers five grouped changes: 1. add a 910B AArch64 docker build environment; 2. refresh repository lint/dependency inputs; 3. reorganize developer documentation and navigation; 4. align homepage, manuals, and tech report entrypoints; 5. consolidate governance skill routing and require proactive commit/PR draft output. # Test Plan 1. Review the new docker build files and README. 2. Review repository dependency and pre-commit configuration changes. 3. Review Chinese and English developer guide updates and navigation entrypoints. 4. Review homepage/manual/report entry changes. 5. Review AGENTS.md and .agents/skills/mindie-sd-community-governance/SKILL.md for routing and PR-drafting requirements. # Test Report  See merge request: Ascend/MindIE-SD!243 | 5 个月前 | |
[Docs] refresh lint and dependency config, docker, docs Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !243 merge dev into dev [Docs] refresh lint and dependency config, docker, docs Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose This PR delivers five grouped changes: 1. add a 910B AArch64 docker build environment; 2. refresh repository lint/dependency inputs; 3. reorganize developer documentation and navigation; 4. align homepage, manuals, and tech report entrypoints; 5. consolidate governance skill routing and require proactive commit/PR draft output. # Test Plan 1. Review the new docker build files and README. 2. Review repository dependency and pre-commit configuration changes. 3. Review Chinese and English developer guide updates and navigation entrypoints. 4. Review homepage/manual/report entry changes. 5. Review AGENTS.md and .agents/skills/mindie-sd-community-governance/SKILL.md for routing and PR-drafting requirements. # Test Report  See merge request: Ascend/MindIE-SD!243 | 5 个月前 | |
docs: 更新社区治理和文档 Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !232 merge dev into dev docs: 更新社区治理和文档 Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes 更新社区治理和文档 # Purpose 更新相关文档要求 # Test Plan 文档更新 # Test Report See merge request: Ascend/MindIE-SD!232 | 5 个月前 | |
[Docs] refresh lint and dependency config, docker, docs Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !243 merge dev into dev [Docs] refresh lint and dependency config, docker, docs Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose This PR delivers five grouped changes: 1. add a 910B AArch64 docker build environment; 2. refresh repository lint/dependency inputs; 3. reorganize developer documentation and navigation; 4. align homepage, manuals, and tech report entrypoints; 5. consolidate governance skill routing and require proactive commit/PR draft output. # Test Plan 1. Review the new docker build files and README. 2. Review repository dependency and pre-commit configuration changes. 3. Review Chinese and English developer guide updates and navigation entrypoints. 4. Review homepage/manual/report entry changes. 5. Review AGENTS.md and .agents/skills/mindie-sd-community-governance/SKILL.md for routing and PR-drafting requirements. # Test Report  See merge request: Ascend/MindIE-SD!243 | 5 个月前 | |
【docs】文档修改-增加API参考&加速API Co-authored-by: xiao-qing123<xiaoqing14@h-partners.com> # message auto-generated for no-merge-commit merge: !263 merge dev into dev 【docs】文档修改-增加API参考&加速API Created-by: xiao-qing123 Commit-by: xiao-qing123 Merged-by: ascend-robot Description: fixes [#86](https://gitcode.com/Ascend/MindIE-SD/issues/86) 1、新增API参考(社区API接口) 2、新增加速API(原社区layer层) 3、删除readme中的快速入门和单多卡并行示例内容(有单独的quick_start承载) 4、算子融合单独拆分出来,在特性章节独立存在 5、删除特性章节目录名称中的“加速特性” 6、黄区大模型检测问题修改 See merge request: Ascend/MindIE-SD!263 | 5 个月前 | |
恢复run包构建 Co-authored-by: taoyuan_guo<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !233 merge run_package into dev 恢复run包构建 Created-by: changetheway Commit-by: changetheway;taoyuan_guo Merged-by: ascend-robot Description: 修改方案: 1)将setup.py和原本的build.sh解耦,原来的算子编译和plugin编译在build.sh中执行,setup.py需要调用build.sh 2)build.sh改成两步:运行setup.py生成whl包、构建run包所需的tar.gz包 这样,既可以使用现在的python setup.py bdist_wheel构建whl包,也可以执行bash build.sh恢复run包构建 See merge request: Ascend/MindIE-SD!233 | 5 个月前 | |
[dev]同步最新代码 Co-authored-by: mazhixin00_00<mazhixin7@huawei.com> | 10 个月前 | |
docs: 更新社区治理和文档 Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !232 merge dev into dev docs: 更新社区治理和文档 Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes 更新社区治理和文档 # Purpose 更新相关文档要求 # Test Plan 文档更新 # Test Report See merge request: Ascend/MindIE-SD!232 | 5 个月前 | |
[Docs]统一图片资源命名规范并迁移至公共目录 Co-authored-by: changetheway<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !282 merge pic_rename into dev [Docs]统一图片资源命名规范并迁移至公共目录 Created-by: changetheway Commit-by: changetheway Merged-by: ascend-robot Description: ## 变更摘要 规范化 docs/ 目录下全部图片资源的命名方式,并将其从语言专属目录迁移到公共目录,便于中英文文档共享引用。 ## 具体变更 - **重命名 34 个图片文件**:将 docs/zh/figures 下的中文/混合命名统一改为英文 snake_case 格式。 - 示例:CFG并行.png → cfg_parallel.png - 示例:单卡base + 高性能FA算子.gif → single_card_base_fa.gif - **迁移图片目录**:从 docs/zh/figures/ 移动到 docs/figures/,消除语言路径耦合。 - **更新 15 篇文档引用**:覆盖 docs/zh/、docs/en/ 及 README.md 中的图片路径与文件名,同时修复了 Markdown 中 URL 编码的中文文件名引用。 ## 涉及的文件 - README.md - docs/zh/*.md、docs/zh/features/*.md - docs/en/*.md、docs/en/features/*.md ## 验证结果 - 已确认所有 Markdown 图片引用中不再包含中文字符。 - 已确认仓库中不存在残留的 zh/figures 旧路径引用。 See merge request: Ascend/MindIE-SD!282 | 4 个月前 | |
【docs】文档修改-增加API参考&加速API Co-authored-by: xiao-qing123<xiaoqing14@h-partners.com> # message auto-generated for no-merge-commit merge: !263 merge dev into dev 【docs】文档修改-增加API参考&加速API Created-by: xiao-qing123 Commit-by: xiao-qing123 Merged-by: ascend-robot Description: fixes [#86](https://gitcode.com/Ascend/MindIE-SD/issues/86) 1、新增API参考(社区API接口) 2、新增加速API(原社区layer层) 3、删除readme中的快速入门和单多卡并行示例内容(有单独的quick_start承载) 4、算子融合单独拆分出来,在特性章节独立存在 5、删除特性章节目录名称中的“加速特性” 6、黄区大模型检测问题修改 See merge request: Ascend/MindIE-SD!263 | 5 个月前 | |
[Docs] refresh lint and dependency config, docker, docs Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !243 merge dev into dev [Docs] refresh lint and dependency config, docker, docs Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose This PR delivers five grouped changes: 1. add a 910B AArch64 docker build environment; 2. refresh repository lint/dependency inputs; 3. reorganize developer documentation and navigation; 4. align homepage, manuals, and tech report entrypoints; 5. consolidate governance skill routing and require proactive commit/PR draft output. # Test Plan 1. Review the new docker build files and README. 2. Review repository dependency and pre-commit configuration changes. 3. Review Chinese and English developer guide updates and navigation entrypoints. 4. Review homepage/manual/report entry changes. 5. Review AGENTS.md and .agents/skills/mindie-sd-community-governance/SKILL.md for routing and PR-drafting requirements. # Test Report  See merge request: Ascend/MindIE-SD!243 | 5 个月前 | |
docs: 更新社区治理和文档 Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !232 merge dev into dev docs: 更新社区治理和文档 Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes 更新社区治理和文档 # Purpose 更新相关文档要求 # Test Plan 文档更新 # Test Report See merge request: Ascend/MindIE-SD!232 | 5 个月前 | |
恢复run包构建 Co-authored-by: taoyuan_guo<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !233 merge run_package into dev 恢复run包构建 Created-by: changetheway Commit-by: changetheway;taoyuan_guo Merged-by: ascend-robot Description: 修改方案: 1)将setup.py和原本的build.sh解耦,原来的算子编译和plugin编译在build.sh中执行,setup.py需要调用build.sh 2)build.sh改成两步:运行setup.py生成whl包、构建run包所需的tar.gz包 这样,既可以使用现在的python setup.py bdist_wheel构建whl包,也可以执行bash build.sh恢复run包构建 See merge request: Ascend/MindIE-SD!233 | 5 个月前 | |
[Docs] refresh lint and dependency config, docker, docs Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !243 merge dev into dev [Docs] refresh lint and dependency config, docker, docs Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose This PR delivers five grouped changes: 1. add a 910B AArch64 docker build environment; 2. refresh repository lint/dependency inputs; 3. reorganize developer documentation and navigation; 4. align homepage, manuals, and tech report entrypoints; 5. consolidate governance skill routing and require proactive commit/PR draft output. # Test Plan 1. Review the new docker build files and README. 2. Review repository dependency and pre-commit configuration changes. 3. Review Chinese and English developer guide updates and navigation entrypoints. 4. Review homepage/manual/report entry changes. 5. Review AGENTS.md and .agents/skills/mindie-sd-community-governance/SKILL.md for routing and PR-drafting requirements. # Test Report  See merge request: Ascend/MindIE-SD!243 | 5 个月前 | |
[Docs] refresh lint and dependency config, docker, docs Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !243 merge dev into dev [Docs] refresh lint and dependency config, docker, docs Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose This PR delivers five grouped changes: 1. add a 910B AArch64 docker build environment; 2. refresh repository lint/dependency inputs; 3. reorganize developer documentation and navigation; 4. align homepage, manuals, and tech report entrypoints; 5. consolidate governance skill routing and require proactive commit/PR draft output. # Test Plan 1. Review the new docker build files and README. 2. Review repository dependency and pre-commit configuration changes. 3. Review Chinese and English developer guide updates and navigation entrypoints. 4. Review homepage/manual/report entry changes. 5. Review AGENTS.md and .agents/skills/mindie-sd-community-governance/SKILL.md for routing and PR-drafting requirements. # Test Report  See merge request: Ascend/MindIE-SD!243 | 5 个月前 | |
[Docs] refresh lint and dependency config, docker, docs Co-authored-by: weixin_44144262<lijinxi2@huawei.com> # message auto-generated for no-merge-commit merge: !243 merge dev into dev [Docs] refresh lint and dependency config, docker, docs Created-by: weixin_44144262 Commit-by: weixin_44144262 Merged-by: ascend-robot Description: # Which issue(s) this PR fixes or accomplishes > Fix part of #72 # Purpose This PR delivers five grouped changes: 1. add a 910B AArch64 docker build environment; 2. refresh repository lint/dependency inputs; 3. reorganize developer documentation and navigation; 4. align homepage, manuals, and tech report entrypoints; 5. consolidate governance skill routing and require proactive commit/PR draft output. # Test Plan 1. Review the new docker build files and README. 2. Review repository dependency and pre-commit configuration changes. 3. Review Chinese and English developer guide updates and navigation entrypoints. 4. Review homepage/manual/report entry changes. 5. Review AGENTS.md and .agents/skills/mindie-sd-community-governance/SKILL.md for routing and PR-drafting requirements. # Test Report  See merge request: Ascend/MindIE-SD!243 | 5 个月前 | |
update setup.py | 4 个月前 | |
恢复run包构建 Co-authored-by: taoyuan_guo<guotaoyuan1@h-partners.com> # message auto-generated for no-merge-commit merge: !233 merge run_package into dev 恢复run包构建 Created-by: changetheway Commit-by: changetheway;taoyuan_guo Merged-by: ascend-robot Description: 修改方案: 1)将setup.py和原本的build.sh解耦,原来的算子编译和plugin编译在build.sh中执行,setup.py需要调用build.sh 2)build.sh改成两步:运行setup.py生成whl包、构建run包所需的tar.gz包 这样,既可以使用现在的python setup.py bdist_wheel构建whl包,也可以执行bash build.sh恢复run包构建 See merge request: Ascend/MindIE-SD!233 | 5 个月前 |
MindIE SD
📢 Latest News
- 12/31/2025: MindIE SD提供稀疏Attention计算能力
- 12/25/2025:vLLM Omni x MindIE SD 实现 Qwen-Image-Edit-2511 / Qwen-Image-Layered 昇腾原生高性能推理
- 11/30/2025:MindIE SD 正式宣布开源并面向公众开放!会议日历
🚀 简介
MindIE SD(Mind Inference Engine Stable Diffusion)是 MindIE 的视图生成推理模型套件,它的目标是为稳定扩散(Stable Diffusion, SD)系列大模型提供在昇腾硬件及其软件栈上的端到端推理解决方案。该软件系统内部集成了各功能模块,并对外提供统一的编程接口。
以下是两个 MindIE-SD 代码仓库智能体,只需点击 "Ask AI" 徽章,即可进入其专属页面,有效缓解源码阅读的困难,开启智能代码学习与问答体验!它们将帮助您更深入地理解 MindIE-SD 的运行原理,并协助解决使用过程中遇到的问题与错误。
🔍目录结构
|- benchmarks // 提供核心kernel的性能看护和compilation的加速效果看护
|- build // 编译脚本
|- csrc // 昇腾kernel代码位置
|- docs // 项目文档
|- examples
|- cache // cache特性样例:使能cache进行模型加速
|- service // 服务化样例:将命令行模式改造成服务化方式
|- wan // 模型推理样例:模型推理命令以及参数配置
|- mindiesd
|- cache_agent // 高阶特性:提供cache能力
|- compilation // 提供编译能力,基于fx graph实现自动改图(可依旧保持单算子下发)。
|- eplb // 高阶特性:提供专家并行负载均衡能力
|- layers // 提供基础的pytorch的layer接口
|- quantization // 高阶特性:提供量化能力
|- utils // 核心工具模块,提供共享的基础设施服务和通用功能
|- tests // 测试用例
🚀 架构介绍及关键特性
MindIE SD 架构和关键特性详见架构介绍。 MindIE SD 支持魔乐社区、vLLM Omni、Cache Dit等框架/社区,现已支持主流扩散模型,对于部分 diffusers 模型进行了昇腾硬件亲和的加速改造,详见模型/框架支持情况,模型也支持手动改造,详见 examples。
📝 Paper Citations
@misc{RainFusion2.0@2025,
title = {RainFusion2.0: Temporal-Spatial Awareness and Hardware-Efficient Block-wise Sparse Attention},
url = {https://gitcode.com/Ascend/MindIE-SD.git},
note = {Open-source software available at https://gitcode.com/Ascend/MindIE-SD.git},
author = {Aiyue Chen and others},
year = {2025}
}
💖 联系我们
