Merged
feat(ops-direct-invoke): 支持 Ascend C 直调独立 Tensor API 路线 #262
hyoleeAdd on 27 days ago
feat(ops-direct-invoke): 支持 Ascend C 直调独立 Tensor API 路线 #262
Merged
hyoleeAdd on 27 days ago
hyolee
hyolee
27 days ago

描述

ops-direct-invoke 插件支持 Ascend C 直调独立 Tensor API 路线。

改动内容:

  1. Tensor API 路线支持:用户明确要求 Tensor API 时,需求清单记录该路线约束,后续节点加载 ascendc-tensor-api-best-practice Skill;若该路线无法闭合关键约束,输出 unsupported 和证据,交用户决定是否调整路线。用户未指定路线且无其他支持的合适路线时,以 Tensor API 为兜底开发路线。路线为按需知识而非流程强制字段,调度层不耦合内部实现路线知识。
  2. Skill 安装来源:plugin-sources 加入 ascendc-tensor-api-best-practice Skill。
  3. 附加契约:构建(dav-3510、--npu-arch、CMake 链接选项)、算子模板、黑白盒测试覆盖、精度口径参考文档补充 Tensor API 附加要求。
  4. 依赖与杂项:保留 Blaze 按需依赖 ops-tensor 于 ops-direct-invoke 安装清单(Blaze 能力调查仍依赖该源码),repo-env-check 补充 Blaze 源码依赖启动检查;.gitignore 忽略 .vscode。

关联的Issue

关联 Issue:#149

测试

  • basic 工作流组装验证通过(assemble_workflow.py:basic 7 节点)。
  • generate_workflow_guide.py 引导扫描 3 个模板全部发现。
  • ops-direct-invoke 维护回归测试(test_all.py)7 分类全通过。

文档更新

  • README.md:Tensor API 路线说明;
  • repo-requirement:需求清单按用户指定路线记录(未指定不设强制字段);
  • repo-build-guide / repo-op-templates / repo-test-develop(blackbox / whitebox / precision-and-perf):Tensor API 附加契约;
  • repo-env-check:CANN 9.2.0 版本事实与 Blaze 源码依赖检查。

类型标签

流水线故障排查

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for hyolee's contribution.)
hyoleehyolee
27 days ago Created pull request, commit cfe44855
hyoleehyolee
27 days ago Associated issue: [Requirement|需求建议]: ops-direct-invoke 支持 Ascend C 直调独立 Tensor API 路线与可行性穿刺
CANN-robot
CANN-robotCollaborators
27 days ago Comments:

Hi @hyolee, welcome to submitting your first PR to CANN!

PR Merge Steps

1. CLA Signing

If the current PR label includes cann-cla/yes, it means you have signed the CLA and can proceed to the next step. If the label includes cann-cla/no, please sign the CLA first. If you have any questions, please refer to the FAQ.

2. CI Check

Please comment /compile to trigger the CI pipeline check. If the CI run is successful, the PR will be tagged with ci-pipeline-passed and you can proceed to the next step. If the CI run fails, the PR will be tagged with ci-pipeline-failed, please check the CI logs to fix the issues in the PR. If you have any questions, please refer to the FAQ.

3. Code Review

After CI passes, please refer to the PR Approval Progress and proactively @ the committers in the table to review the code. After approval, committers will comment /lgtm and /approve. Once the lgtm and approved labels are successfully added, the PR will be merged automatically.

likedislike
CANN-robotCANN-robotCollaborators
27 days ago Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
27 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/cannbot ✅ xutianze, 金炯 (2/2) ✅ xutianze (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

hyolee, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
157 messages are collapsed here。 See more
xutianze
xutianzeCollaborators
24 days ago Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
24 days ago Added label: lgtmapproved
CANN-robot
CANN-robotCollaborators
24 days ago Comments:

The MR can not be merged, because of CodeReview discussion not resolved

If you want to solve this problem, you can click here to do it in the FAQs.

likedislike
xutianzexutianzeCollaborators
24 days ago Resolved final issue
CANN-robotCANN-robotCollaborators
24 days ago Merged pull request