| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat: dflow样例新增numa_config自动生成工具 Co-authored-by: lining23666<lining.li@huawei.com> # message auto-generated for no-merge-commit merge: !4454 merge dflow_clean into develop feat: dflow样例新增numa_config自动生成工具 Created-by: lining23666 Commit-by: lining23666 Merged-by: cann-robot Description: # Pull Request ## 描述 在 examples/dflow/tools/ 下新增 create_numa_config.py 脚本和 numa_template.json 模板,自动探测 NPU 芯片型号、设备数量和设备 IP,生成单机 numa_config.json 配置文件,解决用户环境默认没有 numa_config.json 导致无法直接运行 dflow 样例的问题。 同时更新 cpp/python 的中英文 README,将原来的占位路径 xxx/xxx/xxx/numa_config.json 替换为实际生成步骤。 ## 变更类型 - [ ] 🐛 Bug 修复 - [x] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [x] 📝 文档内容更新 ## 关联的Issue ## 如何测试 1. 在无 NPU 环境执行 python3 examples/dflow/tools/create_numa_config.py,验证降级生成默认配置 2. 执行 python3 create_numa_config.py --device-list 0,1 --output-path /tmp/test.json,验证设备列表和拓扑正确 3. 验证错误输入(越界、非数字)有友好提示 4. pre-commit 全部通过 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 脚本来源参考 py_flow_smoke/tools/create_numa.py,在其基础上做了规范化改进。 See merge request: cann/ge!4454 | 26 天前 | |
feat: dflow样例新增numa_config自动生成工具 Co-authored-by: lining23666<lining.li@huawei.com> # message auto-generated for no-merge-commit merge: !4454 merge dflow_clean into develop feat: dflow样例新增numa_config自动生成工具 Created-by: lining23666 Commit-by: lining23666 Merged-by: cann-robot Description: # Pull Request ## 描述 在 examples/dflow/tools/ 下新增 create_numa_config.py 脚本和 numa_template.json 模板,自动探测 NPU 芯片型号、设备数量和设备 IP,生成单机 numa_config.json 配置文件,解决用户环境默认没有 numa_config.json 导致无法直接运行 dflow 样例的问题。 同时更新 cpp/python 的中英文 README,将原来的占位路径 xxx/xxx/xxx/numa_config.json 替换为实际生成步骤。 ## 变更类型 - [ ] 🐛 Bug 修复 - [x] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [x] 📝 文档内容更新 ## 关联的Issue ## 如何测试 1. 在无 NPU 环境执行 python3 examples/dflow/tools/create_numa_config.py,验证降级生成默认配置 2. 执行 python3 create_numa_config.py --device-list 0,1 --output-path /tmp/test.json,验证设备列表和拓扑正确 3. 验证错误输入(越界、非数字)有友好提示 4. pre-commit 全部通过 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 脚本来源参考 py_flow_smoke/tools/create_numa.py,在其基础上做了规范化改进。 See merge request: cann/ge!4454 | 26 天前 | |
feat: dflow样例新增numa_config自动生成工具 Co-authored-by: lining23666<lining.li@huawei.com> # message auto-generated for no-merge-commit merge: !4454 merge dflow_clean into develop feat: dflow样例新增numa_config自动生成工具 Created-by: lining23666 Commit-by: lining23666 Merged-by: cann-robot Description: # Pull Request ## 描述 在 examples/dflow/tools/ 下新增 create_numa_config.py 脚本和 numa_template.json 模板,自动探测 NPU 芯片型号、设备数量和设备 IP,生成单机 numa_config.json 配置文件,解决用户环境默认没有 numa_config.json 导致无法直接运行 dflow 样例的问题。 同时更新 cpp/python 的中英文 README,将原来的占位路径 xxx/xxx/xxx/numa_config.json 替换为实际生成步骤。 ## 变更类型 - [ ] 🐛 Bug 修复 - [x] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [x] 📝 文档内容更新 ## 关联的Issue ## 如何测试 1. 在无 NPU 环境执行 python3 examples/dflow/tools/create_numa_config.py,验证降级生成默认配置 2. 执行 python3 create_numa_config.py --device-list 0,1 --output-path /tmp/test.json,验证设备列表和拓扑正确 3. 验证错误输入(越界、非数字)有友好提示 4. pre-commit 全部通过 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 脚本来源参考 py_flow_smoke/tools/create_numa.py,在其基础上做了规范化改进。 See merge request: cann/ge!4454 | 26 天前 | |
fix: precommit整改 Co-authored-by: yelongjian<yelongjian1@huawei.com> # message auto-generated for no-merge-commit merge: !3726 merge dev-precommit into develop fix: precommit整改 Created-by: yelongjian Commit-by: yelongjian Merged-by: cann-robot Description: # Pull Request ## 描述 precommit整改 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [x] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 描述测试此变更的步骤和前提条件: 1.NA ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如: feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/ge!3726 | 2 个月前 | |
feat: dflow样例新增numa_config自动生成工具 Co-authored-by: lining23666<lining.li@huawei.com> # message auto-generated for no-merge-commit merge: !4454 merge dflow_clean into develop feat: dflow样例新增numa_config自动生成工具 Created-by: lining23666 Commit-by: lining23666 Merged-by: cann-robot Description: # Pull Request ## 描述 在 examples/dflow/tools/ 下新增 create_numa_config.py 脚本和 numa_template.json 模板,自动探测 NPU 芯片型号、设备数量和设备 IP,生成单机 numa_config.json 配置文件,解决用户环境默认没有 numa_config.json 导致无法直接运行 dflow 样例的问题。 同时更新 cpp/python 的中英文 README,将原来的占位路径 xxx/xxx/xxx/numa_config.json 替换为实际生成步骤。 ## 变更类型 - [ ] 🐛 Bug 修复 - [x] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [x] 📝 文档内容更新 ## 关联的Issue ## 如何测试 1. 在无 NPU 环境执行 python3 examples/dflow/tools/create_numa_config.py,验证降级生成默认配置 2. 执行 python3 create_numa_config.py --device-list 0,1 --output-path /tmp/test.json,验证设备列表和拓扑正确 3. 验证错误输入(越界、非数字)有友好提示 4. pre-commit 全部通过 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 脚本来源参考 py_flow_smoke/tools/create_numa.py,在其基础上做了规范化改进。 See merge request: cann/ge!4454 | 26 天前 | |
feat: dflow样例新增numa_config自动生成工具 Co-authored-by: lining23666<lining.li@huawei.com> # message auto-generated for no-merge-commit merge: !4454 merge dflow_clean into develop feat: dflow样例新增numa_config自动生成工具 Created-by: lining23666 Commit-by: lining23666 Merged-by: cann-robot Description: # Pull Request ## 描述 在 examples/dflow/tools/ 下新增 create_numa_config.py 脚本和 numa_template.json 模板,自动探测 NPU 芯片型号、设备数量和设备 IP,生成单机 numa_config.json 配置文件,解决用户环境默认没有 numa_config.json 导致无法直接运行 dflow 样例的问题。 同时更新 cpp/python 的中英文 README,将原来的占位路径 xxx/xxx/xxx/numa_config.json 替换为实际生成步骤。 ## 变更类型 - [ ] 🐛 Bug 修复 - [x] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [x] 📝 文档内容更新 ## 关联的Issue ## 如何测试 1. 在无 NPU 环境执行 python3 examples/dflow/tools/create_numa_config.py,验证降级生成默认配置 2. 执行 python3 create_numa_config.py --device-list 0,1 --output-path /tmp/test.json,验证设备列表和拓扑正确 3. 验证错误输入(越界、非数字)有友好提示 4. pre-commit 全部通过 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 脚本来源参考 py_flow_smoke/tools/create_numa.py,在其基础上做了规范化改进。 See merge request: cann/ge!4454 | 26 天前 |