Merged
feat(ops-direct-invoke): 将 DSL 性能节点接入原五阶段优化工作流 #236
小杨发发Add on Oct 29
feat(ops-direct-invoke): 将 DSL 性能节点接入原五阶段优化工作流 #236
Merged
Merged fromyyw323/cannbotcodex/dsl-perf-integrationintocann/cannbotmaster
Pull Request has been successfully merged by CANN-robot.
(Thank you for 小杨发发's contribution.)Oct 29 Added label: cann-cla/yes
Oct 29 Added label: stat/needs-squash
CANN-robot
Oct 29 Comments:
Oct 29 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 |
|---|---|---|
| repo-cann/cannbot | ✅ 汤平川, xutianze (2/2) | ✅ xutianze, 汤平川 (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
yyw323, thanks for your pull request. All authors of the commits have signed the CLA. 👍


Oct 29 Set qq_37913898,w00934874,dengguojie,jon_jin,rxtfeng,songkai111,xutianze,pingchuantang,hanrui22,wangzheng97,hedi0515,benwallace52,linghuis,OpSphere,zihengwang2 as approver
Oct 29 Set qq_37913898,w00934874,dengguojie,jon_jin,rxtfeng,songkai111,xutianze,pingchuantang,hanrui22,wangzheng97,hedi0515,benwallace52,linghuis,OpSphere,zihengwang2 as approver
84 messages are collapsed here。 See more
TangPC
27 days ago Comments:
27 days ago Comments:
/lgtm
/approve


27 days ago Added label: approved
xutianze
27 days ago Comments:
27 days ago Comments:
/lgtm
/approve


27 days ago Added label: lgtm
27 days ago Merged pull request
#237 已于 2026-11-02 合入 master。本 PR 已同步其 squash 后的主线,解决 6 个历史重叠冲突;最终文件树与此前通过流水线 #741 的版本完全一致,性能工作流及 Git 检查点行为未变。
DSL 算子生成流程原先在精度和检视修复后仅做性能摸底,后续文档仍以优化前的 selected.json 为版本依据。此变更保留 performance 节点 ID,将其替换为符合静态子图契约的单入口性能任务,复用 ops-perf-optimize-workflow 的五阶段优化、验收和回集成规则。
主链路为:精度验证 → 检视修复 → 性能优化 → 文档生成 → 交付。专用性能编排角色允许调用阶段代理,普通 developer 权限不变;外层 verifier 独立验收,性能任务 max_retries=0、on_exhaust=exit。
版本基线:master
a22d9cb7291f3e2655e01c4601ce6dd3487687f8,vendor/cannbot-skillsc35e9609c758bf605fb7e651b915b8af841626a8。当前提交:b3596f000057bbd8134c151b1c6bb81a96340d24。本轮合并同时保留主线独立性能编排、插件安装和契约更新。修复 CODE_DIR/WORK_DIR 分离后的冻结输入路径,并确保性能阶段按实际节点 ID 使用 Git 检查点与独立验收。
验证记录(2026-11-02):
test_matmul_family_routes_to_blaze对 Skills 文档短语的断言;在未含本 PR 的 master42d62f162366455a0f23ccbfecaaa9cece4f7855独立复现相同失败,未放宽断言。92c8c43的/compile流水线 #741 已全部通过(2026-11-02,7m 3s);本轮未重跑真实模型/NPU 性能优化全流程,不将 Host/模拟验证作为性能收益验收。源分支:yyw323/cannbot:codex/dsl-perf-integration
目标分支:cann/cannbot:master
本次冲突修复验证:新提交 Linux 维护回归 8 类共 82 项全部通过;Ruff 0.14.14 格式/静态检查、空白、冲突标记、Python/YAML/JSON 解析通过。新提交的 CI #746 中 CodeCheck 通过;Static_Vet 因获取 GitCode PR 信息超时失败,扫描未执行。已在同一提交重试 CI #748,全部通过;GitCode 已标记 ci-pipeline-passed。