已合并
Bugfix: ScatterNd算子确定性计算按列分核偏移修复 #3137
zhang-wenbo-beat创建于 3月24日
Bugfix: ScatterNd算子确定性计算按列分核偏移修复 #3137
已合并
zhang-wenbo-beat创建于 3月24日
zhang-wenbo-beat
zhang-wenbo-beat成员
3月24日

描述

1、ScatterNd确定性计算的按列分核模板中,会将尾轴均匀分给所有核,但是当前实现中output的尾轴并未按照核的序号进行偏移,导致update的所有分段都写到output的第一段中。本PR对该bug进行修复,让output的尾轴也根据核序号进行偏移。
2、更新了ScatterNd的资料,支持950PR/DT。

关联的Issue

https://gitcode.com/cann/ops-nn/issues/1694

测试

构造了15+按列分核的用例进行确定性计算,与golden对比精度通过,多次计算结果确定。

文档更新

更新了ScatterNd算子在950PR/950DT上的支持情况。

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 zhang-wenbo-beat 的贡献)
zhang-wenbo-beatzhang-wenbo-beat成员
3月24日 创建了 pull request,commit 0fbb6d20
CANN-robotCANN-robot成员
3月24日 添加了label:stat/needs-squash
CANN-robot
CANN-robot成员
3月24日 评论:

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
*/*/README.md gitcode-chenjiao, chenqi317 (2/2) gitcode-chenjiao (1/1)
*/*/docs/acl*.md gitcode-chenjiao, chenqi317 (2/2) gitcode-chenjiao (1/1)
index chenqi317, tangweiwei2 (2/2) chenqi317, tangweiwei2 (2/1)

💡 Tip:

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

CLA Signature Pass

zhang-wenbo-beat, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
3月24日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
3月24日 将gitee-yanglulu,FelixTang7,crystalhu,yangyang016,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2,gitcode-chenjiao,wangyongguang,zhang-wu设为评审人
CANN-robotCANN-robot成员
3月24日 将gitee-yanglulu,FelixTang7,crystalhu,zhou-qilong,chenqi317,liubo75,tangweiwei2,gitcode-chenjiao,wangyongguang,zhang-wu设为审查人
CANN-robot
CANN-robot成员
3月24日 评论:

🔵 source code change are detected, tasks labels is removed in this pull request!

likedislike
zhang-wenbo-beatzhang-wenbo-beat成员
3月24日 update merge request[project id: 7665709, iid: 3137, commit_id: 76a0118d9894b1ec86015a805604445eaff0b7d1] virtual merging success
zhang-wenbo-beatzhang-wenbo-beat成员
3月24日 强制推送  55 个提交:20966e50-54 commits from branch 9.0.09134e2bf-scatterNd算子确定性计算按列分核偏移bug修复
zhang-wenbo-beatzhang-wenbo-beat成员
3月24日 update merge request[project id: 7665709, iid: 3137, commit_id: 9870e62ec9b1339192a4c02650ad2bcca42b9d78] virtual merging success
CANN-robotCANN-robot成员
3月24日 删除了label:stat/needs-squash
CANN-robot
CANN-robot成员
3月24日 评论:

🔵 source code change are detected, tasks labels is removed in this pull request!

likedislike
zhang-wenbo-beatzhang-wenbo-beat成员
3月24日 修改了pull request 的描述
zhang-wenbo-beat
zhang-wenbo-beat成员
3月25日 评论:

compile

likedislike
CANN-robotCANN-robot成员
3月25日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
3月25日 评论:

流水线任务触发成功
任务链接 [e06f4190f95645c8bde85551672e5667][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_950 ✅ SUCCESS >>>>> >>>>>
Pre_Compile ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
Compile_X86_monitor ✅ SUCCESS >>>>> >>>>>
Compile_ARM_monitor ✅ SUCCESS >>>>> >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>

[2026-03-25 09:11:11]    CI执行结束

likedislike
CANN-robotCANN-robot成员
3月25日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月25日 添加了label:ci-pipeline-passed
chenjiao成员
3月25日 评论:

/approve

likedislike
chenqi317成员
3月25日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
3月25日 添加了label:approved
tangweiwei2成员
3月26日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
3月26日 添加了label:lgtm
CANN-robot
CANN-robot成员
3月26日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: gitcode-chenjiao, chenqi317, tangweiwei2.
Reviewers who wrote a comment of /lgtm are: gitcode-chenjiao, chenqi317, tangweiwei2.

likedislike
CANN-robotCANN-robot成员
3月26日 关闭了关联的issue
CANN-robotCANN-robot成员
3月26日 合入了pull request