| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| [super_kernel] ut: 优化日志输出,仅在测试失败时打印
Co-authored-by: sjtulxh<liaoxiaohui3@hisilicon.com>
# message auto-generated for no-merge-commit merge:
!132 merge master into master
[super_kernel] ut: 优化日志输出,仅在测试失败时打印
Created-by: sjtulxh
Commit-by: sjtulxh
Merged-by: cann-robot
Description:
# Pull Request
## 描述
[super_kernel] ut: 优化日志输出,仅在测试失败时打印
- 新增 LogBuffer 类缓冲日志,避免测试成功时的冗余输出
- 添加 FailureLogListener 监听器,测试失败时自动打印缓冲区日志
- 重构 dlog_pub.h,支持 C++ 日志缓冲和 C fallback 两种模式
影响文件:
- super_kernel/tests/aot/ut/stub/dlog_pub.h
- super_kernel/tests/aot/ut/main.cpp
## 变更类型
请选择本次引入的变更类型:
<!-- [x] 表示选中 -->
- [ ] 🐛 Bug 修复
- [ ] ✨ 新功能
- [ ] 💄 代码风格更新(格式化,局部变量)
- [x] ♻️ 重构(既不修复错误也不增加功能的代码变动)
- [ ] 📦 构建过程或辅助工具的变动
- [ ] 📝 文档内容更新
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 -->
## 如何测试
描述测试此变更的步骤和前提条件:
1.
2.
## 核对清单
<!-- [x] 表示选中 -->
- [ ] 我的代码遵循了项目的代码风格
- [ ] 我已对代码进行了自测
- [ ] 我已更新了相关的文档
- [ ] 我在标题中使用了合适的类型标签(如:feat:, fix:)
- [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等
## 其他信息
在此添加任何其他关于本次 PR 的说明。
See merge request: cann/graph-autofusion!132 | 2 个月前 |
| feat: add event flag to support integrating event tasks into the super kernel
Co-authored-by: XuebinYang<yangxuebin6@hisilicon.com>
Co-authored-by: huxj153<huxiujuan@huawei.com>
Co-authored-by: yrz1027<yangruizhi5@huawei.com>
# message auto-generated for no-merge-commit merge:
!168 merge master into master
feat: add event flag to support integrating event tasks into the super kernel
Created-by: XuebinYang
Commit-by: XuebinYang;yrz1027;huxj153
Merged-by: cann-robot
Description:
# Pull Request
## 描述
feat: add event flag to support integrating event tasks into the super kernel
- Distinguish event flags from memory wait flags in SyncInfos
- Add ACL_EVENT_EXTERNAL flag checking for event fusion
- Update test stubs to support new event parameter fields
## 变更类型
请选择本次引入的变更类型:
<!-- [x] 表示选中 -->
- [ ] 🐛 Bug 修复
- [x] ✨ 新功能
- [ ] 💄 代码风格更新(格式化,局部变量)
- [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动)
- [ ] 📦 构建过程或辅助工具的变动
- [ ] 📝 文档内容更新
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 -->
## 如何测试
描述测试此变更的步骤和前提条件:
1.ut用例通过。
## 核对清单
<!-- [x] 表示选中 -->
- [x] 我的代码遵循了项目的代码风格
- [x] 我已对代码进行了自测
- [x] 我已更新了相关的文档
- [x] 我在标题中使用了合适的类型标签(如:feat:, fix:)
- [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等
## 其他信息
在此添加任何其他关于本次 PR 的说明。
See merge request: cann/graph-autofusion!168 | 2 个月前 |
| feat(sk_options_manager) add aclskOpsLayoutOptimizeOption
Co-authored-by: sjtulxh<liaoxiaohui3@hisilicon.com>
# message auto-generated for no-merge-commit merge:
!234 merge master into master
feat(sk_options_manager) add aclskOpsLayoutOptimizeOption
Created-by: sjtulxh
Commit-by: sjtulxh
Merged-by: cann-robot
Description:
# Pull Request
## 描述
添加aclskOpsLayoutOptimizeOption选项并进行对应处理
## 变更类型
请选择本次引入的变更类型:
<!-- [x] 表示选中 -->
- [ ] 🐛 Bug 修复
- [x] ✨ 新功能
- [ ] 💄 代码风格更新(格式化,局部变量)
- [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动)
- [ ] 📦 构建过程或辅助工具的变动
- [ ] 📝 文档内容更新
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 -->
## 如何测试
描述测试此变更的步骤和前提条件:
1.
2.
## 核对清单
<!-- [x] 表示选中 -->
- [ ] 我的代码遵循了项目的代码风格
- [ ] 我已对代码进行了自测
- [ ] 我已更新了相关的文档
- [ ] 我在标题中使用了合适的类型标签(如:feat:, fix:)
- [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等
## 其他信息
在此添加任何其他关于本次 PR 的说明。
See merge request: cann/graph-autofusion!234 | 1 个月前 |
| remove runtime stub and add SuperKernelBind
Co-authored-by: sjtulxh<liaoxiaohui3@hisilicon.com>
# message auto-generated for no-merge-commit merge:
!85 merge master into master
remove runtime stub and add SuperKernelBind
Created-by: sjtulxh
Commit-by: sjtulxh
Merged-by: cann-robot
Description:
# Pull Request
## 描述
remove runtime stub and add SuperKernelBind
## 变更类型
请选择本次引入的变更类型:
<!-- [x] 表示选中 -->
- [ ] 🐛 Bug 修复
- [ ] ✨ 新功能
- [ ] 💄 代码风格更新(格式化,局部变量)
- [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动)
- [ ] 📦 构建过程或辅助工具的变动
- [ ] 📝 文档内容更新
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 -->
## 如何测试
描述测试此变更的步骤和前提条件:
1.
2.
## 核对清单
<!-- [x] 表示选中 -->
- [ ] 我的代码遵循了项目的代码风格
- [ ] 我已对代码进行了自测
- [ ] 我已更新了相关的文档
- [ ] 我在标题中使用了合适的类型标签(如:feat:, fix:)
- [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等
## 其他信息
在此添加任何其他关于本次 PR 的说明。
See merge request: cann/graph-autofusion!85 | 2 个月前 |
| 【fix】:update fuse kernel way in lock detector
Co-authored-by: Achilles_d<duanchengyuan@huawei.com>
# message auto-generated for no-merge-commit merge:
!180 merge ut_full into master
【fix】:update fuse kernel way in lock detector
Created-by: Achilles_d
Commit-by: Achilles_d
Merged-by: cann-robot
Description:
# Pull Request
## 描述
更新死锁检测:kernel类型不受wait限制,只受依赖的算子kernel
## 变更类型
请选择本次引入的变更类型:
<!-- [x] 表示选中 -->
- [x] 🐛 Bug 修复
- [ ] ✨ 新功能
- [ ] 💄 代码风格更新(格式化,局部变量)
- [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动)
- [ ] 📦 构建过程或辅助工具的变动
- [ ] 📝 文档内容更新
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 -->
## 如何测试
描述测试此变更的步骤和前提条件:
1.
2.
## 核对清单
<!-- [x] 表示选中 -->
- [x] 我的代码遵循了项目的代码风格
- [x] 我已对代码进行了自测
- [x] 我已更新了相关的文档
- [x] 我在标题中使用了合适的类型标签(如:feat:, fix:)
- [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等
## 其他信息
在此添加任何其他关于本次 PR 的说明。
See merge request: cann/graph-autofusion!180 | 2 个月前 |
| fix(super_kernel): prioritize default nodes in customize heap
| 10 天前 |
| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| fix(superkernel): use PIPE_FIX for AIC-AIV cross-core flag
| 7 天前 |
| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| refactor(superkernel): remove memory write provenance state
Remove the correspondingMemoryWriteNodeIds field and related accessors so value-backed event handling no longer depends on write-node provenance.
Use addrValue as the single source of truth for value-backed event nodes, and update JSON dump coverage plus unit tests accordingly.
| 6 天前 |
| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| fix(superkernel): refine bind map failure reasons
| 4 天前 |
| Fix the issue of unknown reasons for printing log information
Co-authored-by: Achilles_d<duanchengyuan@huawei.com>
# message auto-generated for no-merge-commit merge:
!374 merge dts-log into master
【fix】: Fix the issue of unknown reasons for printing log information
Created-by: Achilles_d
Commit-by: Achilles_d
Merged-by: cann-robot
Description:
# Pull Request
## 描述
修复日志误打unknow reason问题
## 变更类型
请选择本次引入的变更类型:
<!-- [x] 表示选中 -->
- [x] 🐛 Bug 修复
- [ ] ✨ 新功能
- [ ] 💄 代码风格更新(格式化,局部变量)
- [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动)
- [ ] 📦 构建过程或辅助工具的变动
- [ ] 📝 文档内容更新
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 -->
## 如何测试
描述测试此变更的步骤和前提条件:
1.
2.
## 核对清单
<!-- [x] 表示选中 -->
- [x] 我的代码遵循了项目的代码风格
- [x] 我已对代码进行了自测
- [x] 我已更新了相关的文档
- [x] 我在标题中使用了合适的类型标签(如:feat:, fix:)
- [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等
## 其他信息
在此添加任何其他关于本次 PR 的说明。
See merge request: cann/graph-autofusion!374 | 19 天前 |
| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| refactor(scope): extract SuperKernelScopeInfo to separate header and move NotifyExpandNum functions to LockDetector
Co-authored-by: XuebinYang<yangxuebin6@hisilicon.com>
# message auto-generated for no-merge-commit merge:
!259 merge master into master
refactor(scope): extract SuperKernelScopeInfo to separate header and move NotifyExpandNum functions to LockDetector
Created-by: XuebinYang
Commit-by: XuebinYang
Merged-by: cann-robot
Description:
# Pull Request
## 描述
refactor(scope): extract SuperKernelScopeInfo to separate header and move NotifyExpandNum functions to LockDetector
Extract SuperKernelScopeInfo and related definitions to a new header file
sk_scope_info.h to decouple dependencies between sk_lock_detector and
sk_scope_split
Changes:
- Create new header sk_scope_info.h containing:
- SuperKernelScopeInfo class
- ScopeStreamInfo struct
- ScopeExtInfo struct
- ScopeFailReason enum
- Move SetNotifyNodesExpandNumForScope from SuperKernelScopeSplitter to LockDetector:
- Set expand numbers on Notify nodes for deadlock detection
- Add ResetNotifyExpandNumForScope to reset expand numbers to 0
- Update DeadlockRefinePass for reentrancy:
- Call ResetNotifyExpandNumForScope at start of Run()
## 变更类型
请选择本次引入的变更类型:
<!-- [x] 表示选中 -->
- [x] 🐛 Bug 修复
- [ ] ✨ 新功能
- [ ] 💄 代码风格更新(格式化,局部变量)
- [x] ♻️ 重构(既不修复错误也不增加功能的代码变动)
- [ ] 📦 构建过程或辅助工具的变动
- [ ] 📝 文档内容更新
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 -->
## 如何测试
描述测试此变更的步骤和前提条件:
1.ut st example测试通过。
## 核对清单
<!-- [x] 表示选中 -->
- [x] 我的代码遵循了项目的代码风格
- [x] 我已对代码进行了自测
- [x] 我已更新了相关的文档
- [x] 我在标题中使用了合适的类型标签(如:feat:, fix:)
- [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等
## 其他信息
在此添加任何其他关于本次 PR 的说明。
See merge request: cann/graph-autofusion!259 | 1 个月前 |
| Simplify the resource release of modelabel
| 1 天前 |
| feat(aot): add unique scopeId for scope lifecycle tracking
Co-authored-by: XuebinYang<yangxuebin6@hisilicon.com>
# message auto-generated for no-merge-commit merge:
!269 merge master into master
feat(aot): add unique scopeId for scope lifecycle tracking
Created-by: XuebinYang
Commit-by: XuebinYang
Merged-by: cann-robot
Description:
# Pull Request
## 描述
feat(aot): add unique scopeId for scope lifecycle tracking
- Add ScopeIdGenerator singleton class with uint16_t ID counter
- Assign unique scopeId at SuperKernelScopeInfo creation time
- Remove ScopeExtInfo::scopeIdx, use scopeId instead
- Log INFO when scopeId wraps around (65536 overflow)
- Add UT tests for scopeId generation and persistence
## 变更类型
请选择本次引入的变更类型:
<!-- [x] 表示选中 -->
- [ ] 🐛 Bug 修复
- [x] ✨ 新功能
- [ ] 💄 代码风格更新(格式化,局部变量)
- [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动)
- [ ] 📦 构建过程或辅助工具的变动
- [ ] 📝 文档内容更新
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 -->
## 如何测试
描述测试此变更的步骤和前提条件:
1.ut st 测试通过。
## 核对清单
<!-- [x] 表示选中 -->
- [x] 我的代码遵循了项目的代码风格
- [x] 我已对代码进行了自测
- [x] 我已更新了相关的文档
- [x] 我在标题中使用了合适的类型标签(如:feat:, fix:)
- [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等
## 其他信息
在此添加任何其他关于本次 PR 的说明。
See merge request: cann/graph-autofusion!269 | 1 个月前 |
| refactor(aot): align scope/update logging semantics and diagnostics
Co-authored-by: yrz1027<yangruizhi5@huawei.com>
# message auto-generated for no-merge-commit merge:
!267 merge enhance/log-output into master
refactor(aot): align scope/update logging semantics and diagnostics
Created-by: yrz1027
Commit-by: yrz1027
Merged-by: cann-robot
Description: # Pull Request
## 描述
本次 PR 主要收敛 AOT 路径中的日志语义、命名一致性和 update/scope 诊断信息,提升后续问题定位与可视化消费的一致性,同时不引入新的功能路径。
主要改动包括:
- 收敛 node/task 语义边界:
- sk_node 层改为以 node 概念为主
- sk_scope_postprocess 中处理 SuperKernelBaseNode* 集合的函数、局部变量和日志统一改为 nodes 语义
- 收敛 eventId 打印格式:
- 统一为十六进制风格,降低不同模块之间的理解成本
- 收敛 scope split 落盘结果:
- 为四个 pass 增加明确的头信息,避免同一个日志文件中多轮结果难以区分
- 收敛 update 日志职责:
- optimizer 只保留 scope/stream 级 update 生命周期信息
- node 层统一输出 node update result
- graph 不再越界补充 scope 语义
- 统一 node update result 的格式化:
- 针对 KERNEL / VALUE_WRITE / VALUE_WAIT / INVALID 分别打印最有意义的结果字段
- 避免无关字段的机械平铺
- 补齐 update view 所需的最小关联信息:
- 以 nodeId 为主键,结合已有 scope 信息做前后态联动
- 为后续图构建和数据库化消费准备稳定日志基础
## 变更类型
请选择本次引入的变更类型:
<!-- [x] 表示选中 -->
- [ ] 🐛 Bug 修复
- [ ] ✨ 新功能
- [ ] 💄 代码风格更新(格式化,局部变量)
- [x] ♻️ 重构(既不修复错误也不增加功能的代码变动)
- [ ] 📦 构建过程或辅助工具的变动
- [ ] 📝 文档内容更新
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 -->
待补充
## 如何测试
描述测试此变更的步骤和前提条件:
1. 执行相关 AOT UT 定向回归,重点检查日志相关路径:
- bash build.sh --cpp_utest --test_case='*ScopeSplit*:*ScopePostprocess*:*Graph*:*Node*'
2. 人工检查生成的日志内容,确认以下语义已收敛:
- scope split 四个 pass 有明确头信息
- eventId 统一为十六进制格式
- node update result 在 node 层输出,且不同 type 打印字段符合预期
3. 如需补充精确命令或样例路径,请结合本地环境填写
## 核对清单
<!-- [x] 表示选中 -->
- [x] 我的代码遵循了项目的代码风格
- [ ] 我已对代码进行了自测
- [ ] 我已更新了相关的文档
- [x] 我在标题中使用了合适的类型标签(如:feat:, fix:)
- [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等
## 其他信息
- 本次改动重点是日志职责边界和信息表达收敛,不改变 memory wait 主功能语义。
- 当前工作区仍有未跟踪文件 .codex 和 update-view-registry-guide.md,不属于本 PR 内容。
See merge request: cann/graph-autofusion!267 | 1 个月前 |
| Adapt profiling to different chip types and fix the model ID as a unique model
| 1 天前 |
| test: improve UT coverage for sk_common and sk_scope_split
| 3 天前 |
| test: add UT for CreateDirectoryRecursive, CreateSkMetaDirectory and ApplyPerOpMaxCoreNum
| 3 天前 |
| fix(superkernel): guard graph update failure paths
- Return from aclskOptimize when graph.Update fails to avoid consuming invalid graph state.\n- Validate memory wait info before dereferencing optional in memory node post-processing.
| 5 天前 |