| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: Autofuse 输出日志和错误提示文案标准化 (#312) Co-authored-by: hamburgerbobo<gaoyubo4@huawei.com> # message auto-generated for no-merge-commit merge: !2098 merge fix/log-output-issue into develop fix: Autofuse 输出日志和错误提示文案标准化 (#312) Created-by: hamburgerbobo Commit-by: hamburgerbobo Merged-by: cann-robot Description: # Pull Request ## 描述 本 PR 整改 Autofuse 输出日志和错误提示文案,提升日志可读性、问题定位能力和统一日志管理一致性。 - 修正日志中的拼写、语法和主谓一致问题。 - 补充越限日志的当前值和合法范围。 - 为 VF 性能日志补充 cycle 单位。 - 将生产 Python 编译流程中的自定义 print 接入已有统一日志接口。 - 翻译计划中指定的中文输出文案,并同步通用求解器生产生成器、source mirror 和 UT 期望。 - 更新统一日志接口相关 Python UT。 本 PR 仅包含本次日志整改涉及的源码和必要测试更新,不包含日志分析 CSV、设计文档、.gitignore 或当前分支中的其他历史提交。 ## 变更类型 - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue https://gitcode.com/cann/graph-autofusion/issues/312 Fixes #312 合并后关闭已关联的 Issue。 ## 如何测试 1. 使用 CANN 9.2.0 配置 CMake,执行 cmake --build build --target aihac_codegen -j 8。 2. 执行 cmake --build build --target pyautofuse -j 8。 3. 执行编译相关 Python UT,结果为 113 passed。 4. 执行 ATT Analyze 单测和功能测试,结果分别为 38 passed 和 4 passed。 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 本次仅涉及日志文案和统一日志输出接口,不改变图优化、Codegen 算法、运行时数据流或对外 API/ABI。项目文档无需更新。 See merge request: cann/graph-autofusion!2098 | 5 天前 | |
fix: split shared data for matmul vector partition Co-authored-by: ling-DT<lingxing@huawei.com> # message auto-generated for no-merge-commit merge: !1430 merge fix/matmul-vector-shared-data-split-pr into develop fix: split shared data for matmul vector partition Created-by: ling-DT Commit-by: ling-DT Merged-by: cann-robot Description: --- title: "【PR】: fix: split shared data for matmul vector partition" labels: ["enhancement"] assignees: "ling-DT" --- # Pull Request ## 描述 修复 ASCGraph 中同一个 Data 通过多个 Load 同时喂给 MatMul/Cube 与 Vector 后处理时,cube schedule case generator 因 shared input 无法把 MatMul 与 Vector 切成独立图的问题。 本次变更在切图前复制非 Cube/MatMul 侧共享 Data,并在切图后恢复复制 Data 的原始输入名,保持外部输入语义不变。 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue 无。 ## 如何测试 描述测试此变更的步骤和前提条件: 1. source /workspace/lingxing/Ascend0713/ascend-toolkit/set_env.sh && cmake --build build --target aihac_codegen pyautofuse -j 8 2. tc_af_tf_ks_net_0018 静态/动态 runtime 验证通过,并生成 autofused_mm_mul_*;compare 脚本已跑通并生成 profiling CSV。 ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 本地未执行 llt。optimize_ut 在当前本地环境因 gmock/gtest 依赖缺失无法运行,待 PR CI 验证。 See merge request: cann/graph-autofusion!1430 | 1 个月前 | |
perf: remove transpose score function Co-authored-by: gcw_V3YyYBt1<gaoxin32@huawei.com> # message auto-generated for no-merge-commit merge: !1678 merge develop-score into develop perf: remove transpose score function Created-by: gcw_V3YyYBt1 Commit-by: gcw_V3YyYBt1 Merged-by: cann-robot Description: # Pull Request ## 描述 去掉transpose打分函数 ### 问题 PlatformV2 的 Transpose 调度流程仍复用原有 score function 生成逻辑,但该场景不需要生成 Transpose score function,导致引入不必要的打分逻辑。 ### 修改方案 1. 新增 TransposeFusionCaseGeneratorV2,复用原有 Transpose 调度 case 生成逻辑。 2. 在 V2 generator 中覆盖 GenerateScoreFuncForUbReorder,不再生成 score function。 3. 修改 PlatformV2::GenerateTasks,切换使用 TransposeFusionCaseGeneratorV2。 ## 变更类型 - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [x] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue 无。 ## 如何测试 存在打分函数: | total |失败 |成功 | |--|--|--| | 307 | 180 | 127 | 去掉打分函数: | total |失败 |成功 | |--|--|--| | 307 |165 | 142| ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 See merge request: cann/graph-autofusion!1678 | 14 天前 | |
perf: remove transpose score function Co-authored-by: gcw_V3YyYBt1<gaoxin32@huawei.com> # message auto-generated for no-merge-commit merge: !1678 merge develop-score into develop perf: remove transpose score function Created-by: gcw_V3YyYBt1 Commit-by: gcw_V3YyYBt1 Merged-by: cann-robot Description: # Pull Request ## 描述 去掉transpose打分函数 ### 问题 PlatformV2 的 Transpose 调度流程仍复用原有 score function 生成逻辑,但该场景不需要生成 Transpose score function,导致引入不必要的打分逻辑。 ### 修改方案 1. 新增 TransposeFusionCaseGeneratorV2,复用原有 Transpose 调度 case 生成逻辑。 2. 在 V2 generator 中覆盖 GenerateScoreFuncForUbReorder,不再生成 score function。 3. 修改 PlatformV2::GenerateTasks,切换使用 TransposeFusionCaseGeneratorV2。 ## 变更类型 - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [x] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue 无。 ## 如何测试 存在打分函数: | total |失败 |成功 | |--|--|--| | 307 | 180 | 127 | 去掉打分函数: | total |失败 |成功 | |--|--|--| | 307 |165 | 142| ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 See merge request: cann/graph-autofusion!1678 | 14 天前 |