| Files | Last commit | Last update |
|---|---|---|
docs: 补充2_model_dump_config样例流程注释(#1318) Co-authored-by: yring_8<yangrui1@huawei.com> # message auto-generated for no-merge-commit merge: !6121 merge docs/issue-1318-model-dump-config-comments into master docs: 补充2_model_dump_config样例流程注释(#1318) Created-by: yring_8 Commit-by: yring_8 Merged-by: cann-robot Description: ## 描述 按 issue #1318 反馈, example/5_performance/adump/2_model_dump_config/main.cpp 缺少说明性注释。本 PR 为该样例补充中文流程注释: - 按初始化、Dump 配置加载、路径查询、算子构造执行、结果回拷、资源释放等步骤编号注释,覆盖完整流程 - 在 Dump 相关关键步骤说明配置语义,如 aclmdlSetDump 加载 acl.json 使能单算子 Dump、aclmdlFinalizeDump 触发剩余数据落盘 - 仅新增注释,不改变任何代码逻辑与接口调用 ## 变更类型 - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [x] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue #1318 ## 如何测试 1. 按 example/5_performance/adump/2_model_dump_config/README.md 步骤编译运行样例; 2. 确认运行输出与 README 示例输出一致(本次仅新增注释,不影响运行结果)。 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 无 See merge request: cann/runtime!6121 | 21 days ago | |
docs: 补充0_acl_log样例产物说明(#1318) Co-authored-by: GuoWenbo<guowenbo13@h-partners.com> # message auto-generated for no-merge-commit merge: !6169 merge fix-issue-1318 into master docs: 补充0_acl_log样例产物说明(#1318) Created-by: GuoWenbo Commit-by: GuoWenbo Merged-by: cann-robot Description: ## 描述 按 issue #1318 反馈第 3 项: example/5_performance/log/0_acl_log/README.md 缺少产物说明。本次为该样例 README(中英文)补充: - **编译产物**:build/0_acl_log/acl_log_sample 可执行文件与 0_acl_log/output_msg.txt 运行输出; - **运行输出**:默认配置下的 stdout 示例,及条件性输出说明(设备侧 plog 上报触发的 [CALLBACK] 行、可选日志接口弱符号为空时的 [WARN] 提示); - **日志落盘**:acllogRecord/acllogVaList 记录内容不打印到 stdout,落盘路径为 ASCEND_PROCESS_LOG_PATH > ASCEND_WORK_PATH 下 log 目录 > 默认 ~/ascend/log,调测日志与运行日志(moduleId 携带 RUN_LOG_MASK)分别写入 debug、run 子目录,用户 moduleId(0xff00~0xffff)按十进制记录。 仅文档变更,不涉及任何代码与接口行为修改。 ### 范围说明(按检视意见收敛) - issue 第 1 项中的 AlogCheckDebugLevel/AlogRecord 两个接口:接口已标注后续版本废弃、不建议用户使用(API 文档"须知"),按检视意见**不为其新增演示样例**,原 1_alog 样例已从本 PR 移除;随之引入的 .gitignore 调整一并撤回,保持最小变更。 - issue 第 1 项中的 aclprof* 六个接口属 profiling 责任田,第 2 项中 2_model_dump_config 注释已由 !6121 合入,均不在本 PR 范围。 ## 变更类型 <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [x] 📝 文档内容更新 ## 关联的Issue https://gitcode.com/cann/runtime/issues/1318 ## 如何测试 1. 文档内容与实际行为核对:在 CANN 环境运行 example/5_performance/log 目录级 run.sh,确认编译产物路径(build/0_acl_log/acl_log_sample)、输出文件(0_acl_log/output_msg.txt)与 stdout 成功标记与 README 描述一致; 2. 日志落盘核对:acllogRecord 记录的日志实测写入 ~/ascend/log 的 debug/run 子目录,与 README 产物说明一致; 3. pre-commit 全部 hook(clang-format、OAT 合规)通过。 测试结论:PASS(README 描述均经实际运行核对,纯文档变更无行为影响)。 ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 无。 ## 风险和遗留问题 - 纯文档变更,无代码风险。 - README 中设备侧 plog 回调输出([CALLBACK] 行)为条件性输出,本地无 NPU 未实测,已在文档中标注触发条件。 See merge request: cann/runtime!6169 | 16 days ago | |
【Profiling】优化执行样例所需冗余步骤 Co-authored-by: chenminghao11<chenminghao11@hisilicon.com> # message auto-generated for no-merge-commit merge: !6077 merge issue2 into master 【Profiling】优化执行样例所需冗余步骤 Created-by: chenminghao11 Commit-by: chenminghao11 Merged-by: cann-robot Description: # Pull Request ## 描述 请清晰准确地描述本次 Pull Request 的意图和变更内容。 优化执行样例所需冗余步骤 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> https://gitcode.com/cann/runtime/issues/1313 ## 如何测试 描述测试此变更的步骤和前提条件: 1.本地测试 2. ## 核对清单 <!-- [x] 表示选中 --> - [ ] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [ ] 我在标题中使用了合适的类型标签(如: feat:, fix:) - [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/runtime!6077 | 22 days ago | |
fix: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 (#900) Co-authored-by: zhangjie<zhangjie230@huawei.com> # message auto-generated for no-merge-commit merge: !4933 merge fix-issue-900 into master fix: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 (#900) Created-by: newstarzj Commit-by: zhangjie Merged-by: cann-robot Description: ## 描述 - 修复摘要: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 - 变更文件: - example/5_performance/README.md - example/5_performance/README_en.md - example/5_performance/adump/0_adump_args/CMakeLists.txt - example/5_performance/adump/1_adump_callback/CMakeLists.txt - example/5_performance/adump/2_model_dump_config/CMakeLists.txt - example/5_performance/adump/3_save_exception_info/CMakeLists.txt - example/5_performance/adump/3_save_exception_info/main.cpp - example/5_performance/adump/README.md - example/5_performance/adump/README_en.md - example/5_performance/adump/run.sh - example/5_performance/log/0_acl_log/CMakeLists.txt - example/5_performance/log/0_acl_log/README.md - example/5_performance/log/0_acl_log/README_en.md - example/5_performance/log/0_acl_log/main.cpp - example/5_performance/log/CMakeLists.txt - example/5_performance/log/README.md - example/5_performance/log/README_en.md - example/5_performance/log/run.sh - example/5_performance/profiling/README.md - example/5_performance/profiling/README_en.md - example/5_performance/profiling/run.sh ### Diff 摘要 text (no diff stat) ## 变更类型 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## 关联的Issue https://gitcode.com/cann/runtime/issues/900 ## 如何测试 - 测试结论: PASS - 检测到代码变更文件 12 个: .gitignore, example/5_performance/README.md, example/5_performance/README_en.md, example/5_performance/adump/0_adump_args/CMakeLists.txt, example/5_performance/adump/1_adump_callback/CMakeLists.txt, example/5_performance/adump/2_model_dump_config/CMakeLists.txt, example/5_performance/adump/3_save_exception_info/CMakeLists.txt, example/5_performance/adump/3_save_exception_info/main.cpp ## 核对清单 <!-- [x] 表示选中 --> - [ ] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [ ] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 ## 风险和遗留问题 - 测试日志未包含明确通过信号 - 测试日志未能映射到 plan 测试计划中的关键输入或命令 See merge request: cann/runtime!4933 | 2 months ago | |
fix: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 (#900) Co-authored-by: zhangjie<zhangjie230@huawei.com> # message auto-generated for no-merge-commit merge: !4933 merge fix-issue-900 into master fix: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 (#900) Created-by: newstarzj Commit-by: zhangjie Merged-by: cann-robot Description: ## 描述 - 修复摘要: runtime仓的前冒烟建议可以把example里面的用例跑下,确保构建后示例用例可以通过 - 变更文件: - example/5_performance/README.md - example/5_performance/README_en.md - example/5_performance/adump/0_adump_args/CMakeLists.txt - example/5_performance/adump/1_adump_callback/CMakeLists.txt - example/5_performance/adump/2_model_dump_config/CMakeLists.txt - example/5_performance/adump/3_save_exception_info/CMakeLists.txt - example/5_performance/adump/3_save_exception_info/main.cpp - example/5_performance/adump/README.md - example/5_performance/adump/README_en.md - example/5_performance/adump/run.sh - example/5_performance/log/0_acl_log/CMakeLists.txt - example/5_performance/log/0_acl_log/README.md - example/5_performance/log/0_acl_log/README_en.md - example/5_performance/log/0_acl_log/main.cpp - example/5_performance/log/CMakeLists.txt - example/5_performance/log/README.md - example/5_performance/log/README_en.md - example/5_performance/log/run.sh - example/5_performance/profiling/README.md - example/5_performance/profiling/README_en.md - example/5_performance/profiling/run.sh ### Diff 摘要 text (no diff stat) ## 变更类型 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## 关联的Issue https://gitcode.com/cann/runtime/issues/900 ## 如何测试 - 测试结论: PASS - 检测到代码变更文件 12 个: .gitignore, example/5_performance/README.md, example/5_performance/README_en.md, example/5_performance/adump/0_adump_args/CMakeLists.txt, example/5_performance/adump/1_adump_callback/CMakeLists.txt, example/5_performance/adump/2_model_dump_config/CMakeLists.txt, example/5_performance/adump/3_save_exception_info/CMakeLists.txt, example/5_performance/adump/3_save_exception_info/main.cpp ## 核对清单 <!-- [x] 表示选中 --> - [ ] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [ ] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 ## 风险和遗留问题 - 测试日志未包含明确通过信号 - 测试日志未能映射到 plan 测试计划中的关键输入或命令 See merge request: cann/runtime!4933 | 2 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 21 days ago | ||
| 16 days ago | ||
| 22 days ago | ||
| 2 months ago | ||
| 2 months ago |