已合并
[feature]接入算子aclnnRingAttentionUpdateV2 #4946
TrHan创建于 5月14日
[feature]接入算子aclnnRingAttentionUpdateV2 #4946
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 TrHan 的贡献)ascend-robot
5月14日 评论:
5月14日 评论:
ascend-robot
5月14日 评论:
5月14日 评论:
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 |
|---|---|---|
| docs | ✅ renyujin, molly123321 (2/2) | ✅ renyujin (1/1) |
| repo-Ascend/op-plugin | ✅ renyujin, chengpeng25 (2/2) | ✅ renyujin (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
TrHan, thanks for your pull request. All authors of the commits have signed the CLA. 👍


5月14日 添加了label:ascend-cla/yes
5月14日 修改了pull request 的描述
此处折叠了114条消息 查看更多
5月21日 修改了pull request 的描述
5月21日 添加了label:approvedlgtm
ascend-robot
5月21日 评论:
5月21日 评论:
Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: renyujin.
Reviewers who wrote a comment of /lgtm are: renyujin, chengpeng25, molly123321.


5月21日 合入了pull request
【合入来源】
#2029
【修改方案】
接入aclnnRingAttentionUpdateV2算子,算子说明文档
接入后提供接口:
【资料变更】
涉及,接口说明文档
【接口变更】
涉及,新增接口torch_npu.npu_ring_attention_update,接口说明文档
【功能验证】
用例覆盖
测试文件:
覆盖的测试项:
test_npu_ring_attention_update_sbhSBHfloat16,float32,bfloat16attn_out,softmax_max,softmax_sum与 Python golden 对比test_npu_ring_attention_update_tndTNDfloat16,float32,bfloat16attn_out,softmax_max,softmax_sum与 Python golden 对比Golden 逻辑:
其中:
执行结果
结果摘要:
【CheckList】