Closed
[Bug-Report|缺陷反馈]: ActULQClampMinGrad算子动态语义修复并加固类型及边界校验 #8756
sgqt12Add on  8 days agoClosed at  8 days ago
sgqt12
sgqt12Collaborators
8 days ago Create

Describe the current behavior / 问题描述 (Mandatory / 必填)

ActULQClampMinGrad 原计算公式实现有误,同时存在 FP32 严格三方比较的舍入误差、类型推导放行非法组合,以及 shape 和切块边界计算的整数溢出风险

Environment Information / 环境信息 (Mandatory / 必填)

950

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

执行用例

Describe the expected behavior / 预期结果 (Mandatory / 必填)

预期精度成功

精度失败

Special notes for this issue/备注 (Optional / 选填)

likedislike
sgqt12sgqt12Collaborators
8 days ago Added label: bug-report
sgqt12sgqt12Collaborators
8 days ago Assign u010470851 as responsible person
CANN-robotCANN-robotCollaborators
8 days ago Close issue
CANN-robotCANN-robotCollaborators
8 days ago changed custom state from 待办的 to 已完成
CANN-robotCANN-robotCollaborators
8 days ago Added label: resolved
chenjiayi_
chenjiayi_Collaborators
2 days ago Comments:

补充说明(输出质量)

背景:ActULQClampMinGrad 存在动态语义问题:原公式错误;FP32 严格三路比较的舍入处理不当;dtype 推导允许非法组合;shape/tiling 有整数溢出风险。

影响:会导致精度失败或非法输入被放行。

方案/范围:修正公式与 FP32 比较逻辑;收紧 dtype 组合校验;对 shape/tiling 乘法做溢出保护;当前未检索到关联 PR。

验收标准:原失败用例精度通过;非法 dtype 组合报错;超大 shape 不溢出;UT 覆盖。

当前状态:本 issue 当前为 closed;暂无关联 PR。

likedislike