Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
DequantSwigluQuant算子实现,swiglu变体的计算逻辑中使用了clamp(min=-clampLimit, max=clampLimit)逻辑,当clampLimit属性被设置为非正数、无穷大或非数值(NaN)时,可能导致后续计算出现未定义行为或错误。
Ascend950
输入属性clampLimit为负数
预期计算结果精度为100%
实际计算结果错误
/assign
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%
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
实际计算结果错误
Special notes for this issue/备注 (Optional / 选填)