已关闭
[Bug-Report|缺陷反馈]: DequantSwigluQuant属性clampLimit为负数时存在非预期的计算结果 #891
cheng-ziyang2创建于  2月6日关闭于  2月7日
cheng-ziyang2成员
2月6日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

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

DequantSwigluQuant算子实现,swiglu变体的计算逻辑中使用了clamp(min=-clampLimit, max=clampLimit)逻辑,当clampLimit属性被设置为非正数、无穷大或非数值(NaN)时,可能导致后续计算出现未定义行为或错误。

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

Ascend950

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

输入属性clampLimit为负数

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

预期计算结果精度为100%

实际计算结果错误

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

likedislike
cheng-ziyang2成员
2月6日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
2月6日 将 cheng-ziyang2 设为负责人
CANN-robotCANN-robot成员
2月7日 关闭了 issue
CANN-robotCANN-robot成员
3月20日 添加了label:resolved