Open
【社区任务】aclsparseAxpyi算子设计文档 #4005
【社区任务】aclsparseAxpyi算子设计文档 #4005
Open
407407lxcAdd on 14 hours ago
407407lxc
407407lxc
14 hours ago

当前PR是否有AI参与

  1. AI Agent 平台:OpenAI Codex
  2. AI 模型:GPT-6
  3. Prompt 上下文:依据任务书、设计文档 CheckList、现有双架构源码和实机记录编写并核对设计文档,整理社区提交材料。

PR功能描述 / 为什么需要这个合入

提交 12 月 aclsparseAxpyi(950/910)社区任务设计文档,目录为 04_tasks/01_community-task-2026/tasklist/12-aclsparseAxpyi-950-910/407407lxc/docs/design.md。

设计覆盖需求及CPU参考、原型与约束、arch35/arch22 调用链、分核和UB/工作区容量、优化路径、流程图、特性交叉及测试方案,末尾提供 CheckList 覆盖索引。实现位于 ops-sparse,提供 torch_npu.sparse.aclsparse_axpyi,保持输入不变、独立输出及 FP32 计算后末端舍入语义。本题为新增 sparse BLAS,已说明原 TBE / 既有 ACLNN 复用项适用性。

关联任务

任务页:https://www.hiascend.com/activities/task-center/details/74296a70c935433ebb056acf0e39d094?menu=tasks
任务讨论:https://gitcode.com/Ascend/model-agent/discussions/5
报名及提交账号:407407lxc。

希望检视人员了解

已有 950DT、910B3 实机自验证记录。按任务书 GPU 表逐点计算,950DT 三轮均 24/24 达标,910B3 三轮均 20/24 达标;其余四点随验收材料提供实测数据、访存分析和专项认可申请。910C 补充数据单列。

本 PR 提交设计文档,测试记录和可复现材料随正式验收包提供。请按社区任务流程进行设计评审。

改动类型 / Change Type

测试信息 / Testing

  • 已逐项核对设计 CheckList、源码路径及架构分支。
  • 已核验远端上传文档与本地定稿 SHA-256 一致。
  • PR 文件改动仅包含本账号目录下的 design.md。

检查清单 / Checklist

likedislike
Merge blocked
407407lxc407407lxc
14 hours ago Created pull request, commit f711ba4a
CANN-robot
CANN-robotCollaborators
14 hours ago Comments:

Hi @407407lxc, 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.
%!(EXTRA string=https://atomgit.com/cann/community/blob/master/en/sig-infrastructure/command.md)

likedislike
CANN-robotCANN-robotCollaborators
14 hours ago Added label: cann-cla/no
CANN-robotCANN-robotCollaborators
14 hours ago Added label: stat/needs-squashai-co-authored
CANN-robot
CANN-robotCollaborators
14 hours 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

⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)

Module Approval Details

module lgtm status approve status
repo-cann/cann-ops-competitions ❌ (0/2)(You can also ask: 傅涛, syeren, zutao, guomin36, 颜亚文) ❌ (0/1)(You can also ask: zutao, syeren, jackwangc, fuyangchenghu, 傅涛)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
14 hours ago Set jackwangc,zutao,fuyangchenghu,Albertq,TianXL,yanyawen,fullt,syeren,Carolina_yuan,cherry_03,keloJW,guomin36 as approver
CANN-robotCANN-robotCollaborators
14 hours ago Set jackwangc,zutao,fuyangchenghu,Albertq,TianXL,yanyawen,fullt,syeren,Carolina_yuan,cherry_03,keloJW,guomin36 as approver
407407lxc
407407lxc
14 hours ago Comments:

@condfuse_3 @guomin36 @Ascend-CANN

已按设计文档 CheckList 提交 aclsparseAxpyi(950/910)设计,包含 arch35 / arch22 分核、UB/工作区公式、流程图及实机测试方案,请协助设计评审。当前正在补齐首次贡献的 CLA/提交邮箱检查,后续在此更新。

/compile

likedislike
407407lxc
407407lxc
14 hours ago Comments:

/check-cla

likedislike
CANN-robot
CANN-robotCollaborators
14 hours ago Comments:

CLA检查未通过,详情可参考这里

likedislike
407407lxc407407lxc
14 hours ago Pre merge succeeded (commit_id: 7dc3a5e7fec1471783738f31d2e5a7066a102600)
407407lxc407407lxc
14 hours ago Force-pushed 1 commits:d9161adf-docs: add aclsparseAxpyi community task design
407407lxc407407lxc
14 hours ago Pre merge succeeded (commit_id: f82c8ab28e0bc74d9b9c9b06f595de677fc1694d)
CANN-robotCANN-robotCollaborators
14 hours ago Removed label: cann-cla/no
CANN-robotCANN-robotCollaborators
14 hours ago Removed label: stat/needs-squash
CANN-robot
CANN-robotCollaborators
14 hours ago Comments:

Notification

This pull request has been changed(code update) or closed, so removes the following label(s): stat/needs-squash.

likedislike
CANN-robotCANN-robotCollaborators
14 hours ago Added label: cann-cla/yes
CANN-robotCANN-robotCollaborators
14 hours ago Added label: ai-docs-only
CANN-robotCANN-robotCollaborators
14 hours ago Added label: ai-compliance-successful
407407lxc
407407lxc
14 hours ago Comments:

/compile

likedislike
407407lxc407407lxc
14 hours ago Pre merge succeeded (commit_id: 91d74ada98e7e32b06a8800590cea43bb7f1a1ca)
CANN-robot
CANN-robotCollaborators
14 hours ago Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
14 hours ago Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
14 hours ago Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
14 hours ago Added label: ci-pipeline-passed
407407lxc
407407lxc
14 hours ago Comments:

@condfuse_3 @guomin36 @Ascend-CANN

进展补充:已完成个人 CLA,设计分支整理为单个提交 d9161adf,文档内容保持一致。机器人已标记 cann-cla/yes、ci-pipeline-passed 和 ai-compliance-successful。

待验收代码已同步至个人仓:https://gitcode.com/407407lxc/ops-sparse ,分支 feat/aclsparse-axpyi,commit 26a054f60dbf45c7bbb574000f00772c66b877c6。该版本与现有实机自验证源码逐文件核对一致。

请继续协助设计文档评审,谢谢。

likedislike