已合并
feat(agent): agent/skills 迁移至 cuda2ascend 基类继承架构 #310
Riki创建于 28 天前
feat(agent): agent/skills 迁移至 cuda2ascend 基类继承架构 #310
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 Riki 的贡献)28 天前 关联了issue:[Requirement|需求建议]: agent/skills 迁移至 cuda2ascend 基类继承架构
atomgit-bot
28 天前 评论:
28 天前 评论:
🤖 正在生成合并请求摘要,请稍候…


atomgit-bot
28 天前 评论:
28 天前 评论:
🤖 AI 代码检视正在进行中,请稍候…


28 天前 添加了label:stat/needs-squash
28 天前 添加了label:cann-cla/yes
Riki
28 天前 评论:
28 天前 评论:
compile


CANN-robot
28 天前 评论:
28 天前 评论:
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
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/ops-blas | ✅ 宋恺, 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
Twoliges, thanks for your pull request. All authors of the commits have signed the CLA. 👍


28 天前 将chenbinbin199309,luowen203_gg123,QK_25415,MaskHunter2008,songkai111,xutianze,wangzitao_leo,nino888,zhaoyingchao2,demoauguste,zizhongchen设为评审人
28 天前 将chenbinbin199309,luowen203_gg123,QK_25415,MaskHunter2008,songkai111,xutianze,wangzitao_leo,nino888,zhaoyingchao2,demoauguste,zizhongchen设为评审人
28 天前 将chenbinbin199309,luowen203_gg123,QK_25415,MaskHunter2008,songkai111,xutianze,wangzitao_leo,nino888,zhaoyingchao2,demoauguste,zizhongchen设为审查人
28 天前 将chenbinbin199309,luowen203_gg123,QK_25415,MaskHunter2008,songkai111,xutianze,wangzitao_leo,nino888,zhaoyingchao2,demoauguste,zizhongchen设为审查人
atomgit-bot
28 天前 评论:
28 天前 评论:
⚠️ 本次变更过大(111 个文件、8658 行),已超出 AI 代码评审的处理范围,本次跳过。建议拆分为更小的 PR 以获得有效评审。


atomgit-bot
28 天前 评论:
28 天前 评论:
⚠️ 本次变更过大(111 个文件、8658 行),已超出 AI 代码评审的处理范围,本次跳过。建议拆分为更小的 PR 以获得有效评审。


xutianze
28 天前 评论:
28 天前 评论:
/approve


28 天前 添加了label:ci-pipeline-running
CANN-robot
28 天前 评论:
28 天前 评论:
流水线任务触发成功
任务链接 [ad8bfc78faf34d5eabf80c3117e45a48][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86_A2 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A2 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5 | ✅ SUCCESS | >>>>> | >>>>> |
| codecheck | ❌ FAILED | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_A2_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A2_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| codecheck_codestyle | ⚠️ WARNING | >>>>> | |
| precommit | ⚠️ WARNING | >>>>> | >>>>> |


28 天前 添加了label:approved
28 天前 删除了label:ci-pipeline-running
28 天前 添加了label:ci-pipeline-failed
wangzitao
28 天前 评论:
28 天前 评论:
/approve


28 天前 添加了label:lgtm
28 天前 删除了label:stat/needs-squash
CANN-robot
28 天前 评论:
28 天前 评论:
28 天前 删除了label:lgtmapproved
CANN-robot
28 天前 评论:
28 天前 评论:
Riki
28 天前 评论:
28 天前 评论:
compile


28 天前 删除了label:ci-pipeline-failed
28 天前 添加了label:ci-pipeline-running
CANN-robot
28 天前 评论:
28 天前 评论:
流水线任务触发成功
任务链接 [6c8bc262a154426d8806315bf0124144][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86_A2 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A2 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5 | ✅ SUCCESS | >>>>> | >>>>> |
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_A2_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A2_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| codecheck_codestyle | ⚠️ WARNING | >>>>> | |
| precommit | ⚠️ WARNING | >>>>> | >>>>> |
| PreSmoke_A900_npupool | ✅ SUCCESS | >>>>> |
[2026-07-27 14:25:30] CI执行结束


28 天前 删除了label:ci-pipeline-running
28 天前 添加了label:ci-pipeline-passed
xutianze
28 天前 评论:
28 天前 评论:
/approve


28 天前 添加了label:approved
songkai111
28 天前 评论:
28 天前 评论:
/approve


28 天前 添加了label:lgtm
28 天前 关闭了关联的issue
28 天前 合入了pull request
描述
将 ops-blas 仓的
agent/skills从自包含工作流迁移至 cuda2ascend 基类继承架构。改动原因
当前
agent/skills维护了一套blas -*命名的自包含工作流,编排逻辑与领域知识耦合,跨仓无法复用。cannbot-skills 仓的cuda2ascend插件已提供基类工作流(FINAL),各算子仓作为子类通过--override以相同逻辑名覆写 5 个虚拟 skill。ops-sparse 已完成此迁移,本次对齐。采取的方法
blas -*→repo-*templates/→references/,嵌套结构references/<model>/blas /{op}/archXX/references/test/{op}/变更清单
repo-build-guideblas -build-commandsrepo-coding-rulesblas -ascendc-coding-rules+blas -log+ 硬规则 6/9/13/14repo-knowledgeblas -lib-rules+ 硬规则 7/11/12repo-op-templatesblas -op-templatesrepo-test-developblas -ST-developworkflow-doc-templatesblas -new-op-workflow/assets删除:
blas -new-op-workflow(编排)、blas -new-op-workflow-maintain、agent-model-select、asc-devkit-reference、op-samples-reference、gitcode-pr-issue-guide、cannbot_references.json—— 由基类(FINAL)或基类生态处理。新增:5个 SKILL.md + 若干个 reference 文件。
关联的Issue
https://gitcode.com/cann/ops-blas/issues/329
测试
静态验证
功能验证
文档更新
类型标签