已关闭
[Bug-Report|缺陷反馈]: RmsNormQuantV2 tiling 越界读取未注册的 output_rstd 属性 #5652
raoliang_sac创建于 7 天前关闭于 7 天前
7 天前 添加了label:bug-report
raoliang_sac
7 天前 评论:
7 天前 评论:
/assign @raoliang_sac


7 天前 将 raoliang_sac 设为负责人
7 天前 关闭了 issue
7 天前 添加了label:resolved
/assign @raoliang_sac


Describe the current behavior / 问题描述 (Mandatory / 必填)
RmsNormQuantV2 与 RmsNormQuantV3 共用 RegBase tiling 实现。RmsNormQuantV2 仅注册
epsilon、div_mode、dst_type三个属性,但共享 tiling 此前会无条件读取索引 3 的output_rstd,产生属性索引越界的 GE ERROR 日志。由于接口返回空指针并回退,当前计算仍可完成,rstdFlag保持为 0。Environment / 环境信息 (Mandatory / 必填)
norm/rms_norm_quant_v2RegBase host tilingSteps to reproduce the issue / 重现步骤 (Mandatory / 必填)
aclnnRmsNormQuant,进入 RmsNormQuantV2 tiling。attrs->GetBool(3)读取未注册的output_rstd。Describe the expected behavior / 预期结果 (Mandatory / 必填)
RmsNormQuantV2 不应读取未注册的
output_rstd属性,也不应产生属性索引越界日志;rstdFlag应保持为 0。RmsNormQuantV3 的output_rstd=true/false行为应保持不变。Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
Special notes for this issue/备注 (Optional / 选填)
修复仅调整 host tiling 的属性访问边界,未修改 ACLNN、PTA 或 Kernel 计算逻辑。
关联 PR:https://gitcode.com/cann/ops-nn/pull/10023