Pull Request has been successfully merged by CANN-robot.
(Thank you for wuxuening's contribution.)Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| CMakeLists.txt | ✅ wang-minbo, 蒋礼锐 (2/2) | ✅ wang-minbo, 蒋礼锐 (2/1) |
| build.sh | ✅ wang-minbo, 蒋礼锐 (2/2) | ✅ wang-minbo, 蒋礼锐 (2/1) |
| cmake | ✅ wang-minbo, 蒋礼锐 (2/2) | ✅ wang-minbo, 蒋礼锐 (2/1) |
| scripts | ✅ wang-minbo, 蒋礼锐 (2/2) | ✅ wang-minbo, 蒋礼锐 (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
wuxuening, thanks for your pull request. All authors of the commits have signed the CLA. 👍


| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


流水线分析报告 — ops-transformer run#13605
流水线: https://gitcode.com/CANN/ops-transformer/actions/runs/673a8679cde44e15a04561d1137de638 | PR#15086 | 2026-10-31 18:47:41 ~ 18:51:25 | 失败 Job 1 个
定界结论: 工程问题 / 配置错误(门禁脚本逻辑缺陷,非 PR 代码问题)
- 失败类型: 工程问题
- 根因:
Check_examples_ut的pr_filelist未解析到算子(PR 仅改构建/CMake 配置,无算子目录变更),检查脚本在此处中断,未生成check_examples_ut.csv,后续上传步骤报Artifact path not found - 处置建议: 转 CI 维护者修复
Check_examples_ut门禁——无算子变更时应跳过检查或生成空报告,不应中断导致产物缺失 - 排除项: 非编译错误、非环境/网络问题;全部 Compile Job 通过;
API_Check/UT/PreSmoke_A2为前置失败未启动(INIT),无独立失败
失败根因分析
根因 #1: 工程问题 / 配置错误 — Check_examples_ut 在无算子变更时中断,未产出报告
- 判据:
pr_filelist未解析到算子: pr_filelist.txt(3_check_examples_ut.log),随后Artifact path not found: .../build/check_examples_ut.csv(4_upload_check_report.log) - 定位步骤:
3_check_examples_ut.log→4_upload_check_report.log - 影响 Job: Check_examples_ut
- 根因证据(日志原文):
[2026-10-31 18:49:08] ::debug::Executing: bash -e /usr1/runner/workers/***.version/_temp/5e8245ee-93d4-4892-96ef-9db8e1301f31.sh
[2026-10-31 18:49:08] pr_filelist未解析到算子: pr_filelist.txt
[2026-10-31 18:49:09] [RUN] Artifact path not found: /usr1/runner/workers/***.version/worker_dir/cann/ops-transformer/build/check_examples_ut.csv
[2026-10-31 18:49:09] ::error::Artifact path not found: /usr1/runner/workers/***.version/worker_dir/cann/ops-transformer/build/check_examples_ut.csv
- 关联分析: 本次 run 的
pr_filelist.txt仅 172 B,下载成功;PR#15086 变更 7 个文件,全部为构建/CMake 配置(CMakeLists.txt、build.sh、cmake/func.cmake、cmake/scripts/parse_compile_scope.py、cmake/scripts/util/const_var.py、cmake/scripts/util/opdesc_parser.py、scripts/util/const_var.py),内容均为 SoC 别名ascend5162a→ascend5162重命名,不含任何算子源码目录,故pr_filelist解析不到算子属预期结果;门禁脚本未处理该空集合场景,直接中断并导致产物缺失。
结构化定界摘要
[{"repo": "ops-transformer", "run_number": 13605, "Failed_Type": "工程问题", "Failed_Sub_Type": "配置错误", "Failed_Reason": "Check_examples_ut 的 pr_filelist 未解析到算子:PR#15086 仅改构建/CMake 配置(SoC 别名 ascend5162a→ascend5162),无算子目录变更,检查脚本中断未生成 check_examples_ut.csv,上传步骤报 Artifact path not found", "evidence": "pr_filelist未解析到算子: pr_filelist.txt | ::error::Artifact path not found: /usr1/runner/workers/***.version/worker_dir/cann/ops-transformer/build/check_examples_ut.csv", "suggestion": "转 CI 维护者修复 Check_examples_ut 门禁:无算子变更时跳过检查或生成空报告;非 PR 代码问题", "jobs": "Check_examples_ut"}]
由门禁失败定界分析自动生成 | repo: ops-transformer | run: 673a8679cde44e15a04561d1137de638 | PR#15086


| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


The following labels are not ready.
lgtm: Please wait for committers to review the code.
approved: Please wait for committers to review the code.


/lgtm
/approve


/approve
/lgtm


描述
对于 Ascend5162 芯片,区分 soc 版本与短名/series 命名(对齐 MC62/Ascend950 惯例):
涉及:CMakeLists.txt(ASCEND_ALL_COMPUTE_UNIT/SOC_VERSION_LIST)、build.sh(SUPPORT_COMPUTE_UNIT_SHORT)、cmake/func.cmake(mc2 跳过)、const_var.py / opdesc_parser.py / parse_compile_scope.py(compute unit → soc 版本映射键更名,值保留 Ascend5162A)
与 opbase PR #1110、canndev PR #82674、ops-math PR #6969、ops-nn PR #13255、ops-cv PR #2364 配套。
关联的Issue
https://gitcode.com/cann/ops-transformer/issues/7054
测试
文档更新
无