Merged
revert(ci): 回退 ascend960dt 编译obj分组配置 #15083
景明Add on 14 days ago
revert(ci): 回退 ascend960dt 编译obj分组配置 #15083
Merged
Merged fromgitcode_lijd/ops-transformerfix_2intocann/ops-transformermaster
Pull Request has been successfully merged by CANN-robot.
(Thank you for 景明's contribution.)14 days ago Added label: cann-cla/yes
CANN-robot
14 days ago Comments:
14 days ago Comments:
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 |
|---|---|---|
| scripts | ✅ wang-minbo, zzzzzzyf_ (2/2) | ✅ wang-minbo, zzzzzzyf_ (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
gitcode_lijd, thanks for your pull request. All authors of the commits have signed the CLA. 👍


14 days ago Set monologue815,jiang-lirui,Allan_Yu,wang-minbo,xtqh,liudan12,gaoxiang618,mabing1118,zzzzzzyf_ as approver
14 days ago Set monologue815,jiang-lirui,Allan_Yu,wang-minbo,xtqh,liudan12,gaoxiang618,mabing1118,zzzzzzyf_ as approver
7 event messages are collapsed here。 See more
13 days ago Added label: cann-cla/yes
景明
13 days ago Comments:
13 days ago Comments:
compile


13 days ago Pre merge succeeded (commit_id: ceb70af0e62eac40299d6ef6f74737dec0db5d3b)
CANN-robot
13 days ago Comments:
13 days ago Comments:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


13 days ago Added label: ci-pipeline-running
13 days ago Removed label: ci-pipeline-running
13 days ago Added label: ci-pipeline-failed
CANN-robot
13 days ago Comments:
13 days ago Comments:
流水线分析报告 — ops-transformer run#13690
流水线: https://gitcode.com/CANN/ops-transformer/actions/runs/f191a84e52e1417093f7cb5414ffa8db | PR#15083 | 2026-11-02 11:11:00 ~ 2026-11-02 11:13:40 | 失败 Job 1 个
定界结论: 工程问题 / 配置错误 — 无算子场景未生成报告产物
- 失败类型: 工程问题
- 根因: PR#15083 仅修改 CI 配置脚本
scripts/ci/gen_ops_soc.py(非算子代码),Check_examples_ut解析pr_filelist.txt时未匹配到算子,脚本提前结束,未生成build/check_examples_ut.csv;后置 OBS 上传步骤因产物缺失报Artifact path not found,导致 Job 失败。 - 处置建议: 转 CI 维护者处理——修复
Check_examples_ut在“无算子可检查”场景的短路逻辑(无算子时生成空 CSV,或跳过上传并置该 Job 成功);提交者无需修改代码,直接重试无意义。 - 排除项: Checkout、pr_filelist 下载均成功;Test_pre_pipeline 无冲突;编译/CodeCheck/SCA 等 Job 全部通过;非网络、非环境问题。
失败根因分析
根因 #1: 工程问题 / 配置错误 — pr_filelist 无算子导致 check_examples_ut.csv 缺失
- 判据: 检查脚本输出
pr_filelist未解析到算子后未产出报告文件,后置上传步骤因Artifact path not found失败。 - 定位步骤:
3_check_examples_ut.log→4_upload_check_report.log - 影响 Job: Check_examples_ut
- 根因证据(日志原文):
# 3_check_examples_ut.log
[2026-11-02 11:12:26.867+08:00] pr_filelist未解析到算子: pr_filelist.txt
# 4_upload_check_report.log
[2026-11-02 11:12:28.050+08:00] [RUN] Artifact path not found: /usr1/runner/workers/***.version/worker_dir/cann/ops-transformer/build/check_examples_ut.csv
[2026-11-02 11:12:28.050+08:00] 错误: Artifact path not found: /usr1/runner/workers/***.version/worker_dir/cann/ops-transformer/build/check_examples_ut.csv
- 关联 PR 变更: PR 唯一变更文件为
scripts/ci/gen_ops_soc.py(CI 算子分组配置脚本),下载到的pr_filelist.txt仅 26 B,不含任何算子代码,因此解析不到算子属预期输入,但检查脚本未对该场景做兜底。 - 增强论证: 本 run 其余 30+ 个 Job(Compile×30、CodeCheck、SCA、Antipoison 等)均为 COMPLETED;
API_Check/UT/PreSmoke等为 INIT(未下发),失败独立性明确,与编译、代码检查无关。
结构化定界摘要
[{"repo":"ops-transformer","run_number":13690,"Failed_Type":"工程问题","Failed_Sub_Type":"配置错误","Failed_Reason":"PR仅修改CI脚本scripts/ci/gen_ops_soc.py,Check_examples_ut解析pr_filelist未匹配到算子,未生成build/check_examples_ut.csv,后置OBS上传因产物缺失失败。","evidence":"pr_filelist未解析到算子: pr_filelist.txt; Artifact path not found: .../build/check_examples_ut.csv","suggestion":"CI维护者修复Check_examples_ut在无算子场景的短路逻辑(生成空CSV或跳过上传并置成功),提交者无需修改代码。","jobs":"Check_examples_ut"}]
由门禁失败定界分析自动生成 | repo: ops-transformer | run: f191a84e52e1417093f7cb5414ffa8db | PR#15083


13 days ago Pre merge succeeded (commit_id: f6ec844d4de01caa028816af18bedfa1e9ca91ec)
13 days ago Pre merge succeeded (commit_id: fb0faf7a1555649beb5715cd24e9ce7906986ef7)
13 days ago Removed label: cann-cla/yes
13 days ago Added label: cann-cla/yes
13 days ago Change title to "revert: 回退 950/960dt 编译obj分组配置", originally titled "revert: 仅回退 ascend960dt 编译obj分组配置(!14790 的 960dt 部分)".
13 days ago Change title to "revert: 回退 950/960dt 编译obj分组配置", originally titled "revert: 仅回退 ascend960dt 编译obj分组配置(!14790 的 960dt 部分)".
景明
13 days ago Comments:
13 days ago Comments:
compile


13 days ago Pre merge succeeded (commit_id: f5b6f3b55f0aff7bc842fe99d2dead412fcd6101)
CANN-robot
13 days ago Comments:
13 days ago Comments:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


13 days ago Removed label: ci-pipeline-failed
5 event messages are collapsed here。 See more
13 days ago Added label: ci-pipeline-passed
wang-minbo
13 days ago Comments:
13 days ago Comments:
/lgtm
/approve


13 days ago Added label: approved
周云飞
13 days ago Comments:
13 days ago Comments:
/lgtm
/approve


13 days ago Added label: lgtm
13 days ago Merged pull request
描述
回退 https://gitcode.com/cann/ops-transformer/pull/14790 中 ascend960dt 档的 group_op_dict 镜像新增;ascend950 档的分组配置为实际所需,保留不变。
改动内容
仅
scripts/ci/gen_ops_soc.py的group_op_dict(单文件 -6/+1):fused_infer_attention_score=20、flash_attention_score_grad=5),移除镜像新增的flash_attention_score/mega_moe/matmul_all_reduce/allto_all_matmul/matmul_reduce_scatter_v2分组项mega_moe=40、matmul_all_reduce=40、allto_all_matmul=20、matmul_reduce_scatter_v2=20、flash_attention_score_grad=10、flash_attention_score=5)影响面
仅 CI 编译任务的 obj 分组配置,不涉及算子 kernel / host 代码;4810b95dd 之后无其他提交改动该文件,回退干净应用。
验证
python3 scripts/ci/gen_ops_soc.py:正常生成、退出码 0