Merged
fix: restrict sigmoid cross entropy grad tiling to ascend950 #10074
zhouxuan78Add on Sep 8
fix: restrict sigmoid cross entropy grad tiling to ascend950 #10074
Merged
zhouxuan78Add on Sep 8
Merged fromDeleted :9.2.0-beta.2intocann/ops-nn9.2.0-beta.2
Sep 8

描述

关联的Issue

tiling使用错误,A2的kernel走入950的tiling,导致A2算子sigmoid cross entropy grad的精度出现错误,将950tiling全部放入arch35中,做隔离

测试

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

文档更新

类型标签

AI/Agent生成声明

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for zhouxuan78's contribution.)
Zzhouxuan78
Sep 8 Created pull request, commit f39a6b52
Zzhouxuan78
Sep 8 Associated issue: [Bug-Report|缺陷反馈]:sigmoid cross entropy grad的A2实现会走到950的tiling 导致产品线用例失败
atomgit-bot
atomgit-bot
Sep 8 Comments:

变更摘要

本PR为Bug修复:此前tiling使用错误,导致A2架构的kernel错误地走入了ascend950的tiling分支,进而造成A2上sigmoid cross entropy grad算子出现精度错误。本次改动将950的tiling全部放入arch35条件中做隔离,从而把该算子的tiling限制为仅适用于ascend950。改动规模为1个文件、新增2行、删除2行。

主要改动

  • 限制tiling适用范围:将sigmoid cross entropy grad的tiling限定为仅用于ascend950,避免其它架构(如A2)的kernel误入950的tiling分支。
  • 隔离950 tiling到arch35:将950相关的tiling逻辑全部放入arch35条件中做架构隔离,修复A2上该算子因tiling使用错误导致的精度问题。
likedislike
Incorrect?
atomgit-bot
atomgit-bot
Sep 8 Comments:

代码审查

✅ 未发现问题

likedislike
Incorrect?
Zzhouxuan78
Sep 8 Modify description of pull request
CANN-robotCANN-robotCollaborators
Sep 8 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Sep 8 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
loss ✅ 王星, 陈琦 (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

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

likedislike
zhouxuan78
Sep 8 Comments:

/compile

likedislike
CANN-robotCANN-robotCollaborators
Sep 8 Set zengjuan,chenfeng61,chaotang233,crystalhu,yu-xinjie62,yangyang016,fanqirui,su-yueming,chenqi317,wang-xing001,liubo75,tangweiwei2,pingchuantang,qianzehong as approver
Zzhouxuan78
Sep 8 Pre merge succeeded (commit_id: b7a5dd72bcc661c998b89edd7326841e22bf7b19)
CANN-robotCANN-robotCollaborators
Sep 8 Set chenfeng61,yu-xinjie62,su-yueming,wang-xing001,pingchuantang,qianzehong as approver
CANN-robot
CANN-robotCollaborators
Sep 8 Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
Sep 8 Added label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 8 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Sep 8 Added label: ci-pipeline-passed
yuning_chen
yuning_chenCollaborators
Sep 8 Comments:

您好,pr合入已准备就绪,请尽快联系committer进行检视,谢谢!

likedislike
lileizhengCollaborators
Sep 8 Comments:

/reject

likedislike
conv2d_ci
Sep 8 Comments:
pipeline history
TimeNameResultChangeidTimeStamp
2026-09-08 19:57:57Start_PipelineMR_468
likedislike
wang-xing001Collaborators
Sep 9 Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
Sep 9 Added label: approved
chenqi317Collaborators
Sep 9 Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
Sep 9 Added label: lgtm
CANN-robotCANN-robotCollaborators
Sep 9 Closed associated issue
CANN-robotCANN-robotCollaborators
Sep 9 Merged pull request