Merged
refactor(skills): 整合 PyPTO-Pro 工作流、API 适配与仓内验证 #927
ddddweAdd on 29 days ago
refactor(skills): 整合 PyPTO-Pro 工作流、API 适配与仓内验证 #927
Merged
Pull Request has been successfully merged by CANN-robot.
(Thank you for ddddwe's contribution.)29 days ago Added label: stat/needs-squash
29 days ago Added label: cann-cla/yes
CANN-robot
29 days ago Comments:
29 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 |
|---|---|---|
| repo-cann/pypto-gym | ✅ wangzheng97, pan-boyi (2/2) | ✅ wangzheng97 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
ddddwe, thanks for your pull request. All authors of the commits have signed the CLA. 👍


29 days ago Set xinweiliu,pan-boyi,lim-jiunnbin,codehjp423,gaoxiang618,wangzheng97,DCGDDD,syfeng,jason_yuan_ye,foundea,ym-HW,li-shengxian3,yinjie27_,liulufang_gitcode,congqiannan,tsungl4,gaoxingwang,zhoubotcam,linjiashu,wangbing110,WenboCodes as approver
29 days ago Set xinweiliu,pan-boyi,lim-jiunnbin,codehjp423,gaoxiang618,wangzheng97,DCGDDD,syfeng,jason_yuan_ye,foundea,ym-HW,li-shengxian3,yinjie27_,liulufang_gitcode,congqiannan,tsungl4,gaoxingwang,zhoubotcam,linjiashu,wangbing110,WenboCodes as approver
73 messages are collapsed here。 See more
wangzheng97
27 days ago Comments:
27 days ago Comments:
/approve


27 days ago Added label: approved
pan-boyi
27 days ago Comments:
27 days ago Comments:
/lgtm


27 days ago Added label: lgtm
27 days ago Merged pull request
当前 PR 是否有 AI 参与
PR 功能描述 / 为什么需要这个合入
Pro 编排、知识检索和算子评测需要使用一致的契约与验证入口。本 PR 将相关职责收敛到
pypto-pro-kernel,并允许 skill 样例通过仓库原始测试执行:显式选择候选入口后,仍使用原始输入、独立 Golden 和精度判据,输出实际加载的源码身份。--op-entry OP=FILE.py:CALLABLE,隔离同名样例模块、保留包内相对导入,并核对源码 SHA。未加载候选、导入失败及 worker 身份不一致均明确失败;支持 forked/xdist 报告汇总。dbf64c4a的 namespace 属性引用、架构枚举与普通/量化 Store 双表,更新生成的 API 参考,并验证bde9013b的元数据兼容性。IR stub 中未解析的范围会显式标记,缺损声明不会被补造。--cards-root接入。支持 AttnEpilogue/EngramGate 等完整样例名称的常见拼写,连接卡片、契约、kernel、独立 reference 和 test,保留来源 SHA、适用边界与证据限制。AGENTS.md作为本地指导纳入 gitignore;运行日志和临时验证产物不进入 PR。该 PR 关联的 issue
关联 Issue #336。
希望检视人员了解
范围包括 Pro skills、编排与安装资源、通用测试入口,以及 Engram Gate/AttnEpilogue 的仓内适配。安装器保留旧活动入口与用户修改资源的保护;旧 lint 的退役不移除完整样例所需的独立 reference。
同步告警不直接等于竞态。Cube 声明不一致已修正;32 核布局中 RoPE 临时区与 C→V 缓冲的串行复用仍保留 Vec 提示,并核对生成代码中的全局 MTE3 发布、Cube 等待及阶段排空链路。
板上数值结果覆盖 28 Cube 核路径。32 核专用布局完成原生编译检查,尚无对应板上数值验收;本 PR 不提供性能收益结论。API 元数据查询与编译、数值、性能证据分别报告。
改动类型 / Change Type
测试信息 / Testing
验证范围为受影响的最小用例。
dbf64c4a源码一致,bde9013b的 3 项兼容检查通过。pipe-07 → UB/L1 契约 → handover 样例、mem-06 → 生命周期契约 → AttnEpilogue链路检查通过。bde9013b:Engram Gate 经原始评测入口 6 项、样例自测 4 项通过;mutex_ids="auto"与pl.gemm的对照样例通过。git diff --check检查通过。检查清单 / Checklist