已合并
fix(examples): 修复aclnn示例代码及接口文档问题 #10300
luoyufan7创建于 7 天前
fix(examples): 修复aclnn示例代码及接口文档问题 #10300
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 luoyufan7 的贡献)7 天前 添加了label:cann-cla/yes
CANN-robot
7 天前 评论:
7 天前 评论:
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 |
|---|---|---|
| */*/docs/acl*.md | ✅ 任如海, 钱泽洪, 陈风, 杜慧萍 (4/2) | ✅ 杜慧萍 (1/1) |
| activation | ✅ 钱泽洪, 任如海 (2/2) | ✅ 钱泽洪 (1/1) |
| experimental | ✅ 钱泽洪, 陈风, 任如海 (3/2) | ✅ 钱泽洪, 陈风 (2/1) |
| optim | ✅ 钱泽洪, 陈风 (2/2) | ✅ 钱泽洪, 陈风 (2/1) |
| quant | ✅ 钱泽洪, 陈风 (2/2) | ✅ 钱泽洪, 陈风 (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
luoyufan7, thanks for your pull request. All authors of the commits have signed the CLA. 👍


7 天前 将zengjuan,sxb154714,cheng_gao,chenfeng61,chaotang233,kevin_huang1234,FelixTang7,crystalhu,yu-xinjie62,yangyang016,fanqirui,gitee-duhuiping,wangrui_,renruhai,su-yueming,zhajianqing123,chenqi317,liu-wei,lileizheng,LinPX,fullt,wang-xing001,liubo75,LiuZonggu,tangweiwei2,wangzitao_leo,xubinglin,gitcode-chenjiao,chenxingyu18,liujie12345678,pingchuantang,Chen_HaoWen,wangcimeng,huafeng793,qianzehong,fengying555682,liuyang_806,liuchuangdev,shi-xiangyang225,linruihan,shenchengzong,yuxin5,caiwenwen,yanglu-1设为评审人
7 天前 将zengjuan,sxb154714,cheng_gao,chenfeng61,chaotang233,kevin_huang1234,FelixTang7,crystalhu,yu-xinjie62,yangyang016,fanqirui,gitee-duhuiping,wangrui_,renruhai,su-yueming,zhajianqing123,chenqi317,liu-wei,lileizheng,LinPX,fullt,wang-xing001,liubo75,LiuZonggu,tangweiwei2,wangzitao_leo,xubinglin,gitcode-chenjiao,chenxingyu18,liujie12345678,pingchuantang,Chen_HaoWen,wangcimeng,huafeng793,qianzehong,fengying555682,liuyang_806,liuchuangdev,shi-xiangyang225,linruihan,shenchengzong,yuxin5,caiwenwen,yanglu-1设为评审人
7 天前 将zengjuan,sxb154714,cheng_gao,chenfeng61,chaotang233,kevin_huang1234,FelixTang7,crystalhu,yu-xinjie62,yangyang016,fanqirui,gitee-duhuiping,wangrui_,renruhai,su-yueming,zhajianqing123,chenqi317,liu-wei,lileizheng,LinPX,fullt,wang-xing001,liubo75,LiuZonggu,tangweiwei2,wangzitao_leo,xubinglin,gitcode-chenjiao,chenxingyu18,liujie12345678,pingchuantang,Chen_HaoWen,wangcimeng,huafeng793,qianzehong,fengying555682,liuyang_806,liuchuangdev,shi-xiangyang225,linruihan,shenchengzong,yuxin5,caiwenwen,yanglu-1设为审查人
7 天前 将zengjuan,sxb154714,cheng_gao,chenfeng61,chaotang233,kevin_huang1234,FelixTang7,crystalhu,yu-xinjie62,yangyang016,fanqirui,gitee-duhuiping,wangrui_,renruhai,su-yueming,zhajianqing123,chenqi317,liu-wei,lileizheng,LinPX,fullt,wang-xing001,liubo75,LiuZonggu,tangweiwei2,wangzitao_leo,xubinglin,gitcode-chenjiao,chenxingyu18,liujie12345678,pingchuantang,Chen_HaoWen,wangcimeng,huafeng793,qianzehong,fengying555682,liuyang_806,liuchuangdev,shi-xiangyang225,linruihan,shenchengzong,yuxin5,caiwenwen,yanglu-1设为审查人
CANN-robot
7 天前 评论:
7 天前 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


7 天前 添加了label:ci-pipeline-running
此处折叠了7条事件消息 查看更多
CANN-robot
7 天前 评论:
7 天前 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


7 天前 删除了label:ci-pipeline-failed
7 天前 添加了label:ci-pipeline-running
7 天前 删除了label:ci-pipeline-running
7 天前 添加了label:ci-pipeline-passed
yuning_chen
7 天前 评论:
7 天前 评论:
您好,pr合入已准备就绪,请尽快联系committer进行检视,谢谢!


qianzehong
6 天前 评论:
6 天前 评论:
/lgtm
/approve


chenfeng
6 天前 评论:
6 天前 评论:
/lgtm
/approve


6 天前 添加了label:lgtm
gitee-duhuiping
6 天前 评论:
6 天前 评论:
/approve


6 天前 添加了label:approved
6 天前 合入了pull request
描述
修复 6 个算子示例代码与接口文档中的 codecheck 问题,完整问题清单见关联 Issue。
主要修复:
true→1)、GeluBackward(gradOutput int→float 且 ACL_INT32→ACL_FLOAT)、GeluBackwardV2(gradOutput/gradInput int→float,0x00000001位模式错值){8,1}→{8};AdvanceStepV2 按advance_step_tiling.cpp的 CheckInputOutputShape 理顺全部输入(inputTokens/inputPositions/seqLens/slotMapping 为 1 维[numSeqs*(1+specNum)],sampledTokenIds 为{numSeqs, 1+specNum},specToken 为{numSeqs, specNum}),并同步修正参数表与报错表中与实现不一致的 shape 描述(原参数表称 inputTokens 为 2 维、报错表称 sampledTokenIds 第二维为 1,均与 tiling 校验矛盾)CHECK_RET多余分号(含 experimental 副本)test_aclnn_advance_step_v2.cpp版权头替换为仓库标准格式examples 与 docs 双份同步修改。
关联的Issue
Closes #5816
测试
文档更新
类型标签
AI/Agent生成声明