Merged
新增kimiK3反向算子 #11006
新增kimiK3反向算子 #11006
Merged
周云飞Add on Aug 31
周云飞
周云飞Collaborators
Aug 31

描述

BlockAttentionResidualsGrad 是残差注意力(Block Attention Residuals)前向链路的反向传播融合算子

关联的Issue

关联Issue #4931

测试

完成算子泛化测试,符合算子l1级精度标准

  1. 均匀分布(总计40%用例)
    窄区间 [-0.001, 0.001]:10%
    宽区间 [-5, 5]:30%
  2. 正态分布(40%用例)
    均值 μ ∈ [-100, 100](随机选取)
    标准差 σ ∈ [1, 25](随机选取)
  3. 离群点分布(20%用例)
    首先生成基础数据(可从任意分布)
    随机选择0.1%的值乘以1000

性能满足对比小算子拼接提升50%

文档更新

类型标签

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for 周云飞's contribution.)
周云飞周云飞Collaborators
Aug 31 Created pull request, commit a134c29d
atomgit-bot
atomgit-bot
Aug 31 Comments:

🤖 正在生成合并请求摘要,请稍候…

likedislike
Incorrect?
CANN-robotCANN-robotCollaborators
Aug 31 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Aug 31 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
*/*/README.md ✅ 杨露, 蒋礼锐 (2/2) ✅ 杨露 (1/1)
*/*/docs/acl*.md ✅ 杨露, 蒋礼锐 (2/2) ✅ 杨露 (1/1)
*/*/op_graph/*_proto.h ✅ 汤磊, 蒋礼锐 (2/2) ✅ 汤磊 (1/1)
*/*/op_host/*_def.cpp ✅ 汤磊, 蒋礼锐 (2/2) ✅ 汤磊 (1/1)
*/*/op_host/op_api/aclnn*.h ✅ 汤磊, 蒋礼锐 (2/2) ✅ 汤磊 (1/1)
docs ✅ 黄俊健, 蒋礼锐 (2/2) ✅ 黄俊健 (1/1)
mhc ✅ 蒋礼锐, luwei_1104 (2/2) ✅ luwei_1104 (1/1)
scripts ✅ 黄俊健, 蒋礼锐 (2/2) ✅ 黄俊健 (1/1)
tests ✅ 黄俊健, 蒋礼锐 (2/2) ✅ 黄俊健 (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
Aug 31 Set monologue815,jiang-lirui,Allan_Yu,tang-lei01,liudan12,luwei_1104,mabing1118,wangyongguang,wangxun21 as approver
281 messages are collapsed here。 See more
luwei_1104
luwei_1104Collaborators
Sep 5 Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
Sep 5 Added label: approved
jiang-lirui
jiang-liruiCollaborators
Sep 5 Comments:

/lgtm

likedislike
CANN-robotCANN-robotCollaborators
Sep 5 Added label: lgtm
CANN-robotCANN-robotCollaborators
Sep 5 Merged pull request