Closed
[Bug-Report|缺陷反馈]: MultiAddRmsNormDynamicQuant图模式示例动态输入端口顺序错误 #8331
zsq_888Add on  16 days agoClosed at  16 days ago
zsq_888
zsq_888Collaborators
16 days ago Create

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

图模式示例使用 create_dynamic_input_x1 创建 x1 TensorList,动态端口被追加到静态输入之后,与算子原型中 x1 位于第0个输入端口的顺序不一致。PR 描述指出,这会导致输出 shape 推导错误和设备地址异常。原示例也缺少对六个输出结果的校验。

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

  • PR 作者报告的验证硬件:Ascend950。
  • CANN 和 Python 版本:PR 未提供。
  • 目标基线:c7d585c676867424a317c7834c127fead9d0ab93。

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

  1. 在修复前版本构建并运行 norm/multi_add_rms_norm_dynamic_quant/examples/test_geir_multi_add_rms_norm_dynamic_quant.cpp。
  2. 检查动态输入 x1 的端口位置、图执行结果及六个输出。

PR 未提供修复前的完整执行命令、错误日志和设备环境信息,具体失败结果仍需补充。

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

示例应将 x1 动态输入插入第0个端口,图能够正常执行;六个输出 y1、y2、x、y、scale1、scale2 的 shape、dtype 和数值符合参考结果。

PR 作者报告:在 Ascend950 上使用原算子包,x1 长度为1、2、5时图执行成功,六个输出均通过新增的确定性检查。本次仅核对 PR 描述和代码差异,未重新上板验证;原始日志待补充。

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

关联 PR:https://gitcode.com/cann/ops-nn/pull/13852

likedislike
zsq_888zsq_888Collaborators
16 days ago Added label: bug-report
zsq_888zsq_888Collaborators
16 days ago Associated pull request
yuning_chenyuning_chenCollaborators
16 days ago Assign qq_57796320 as responsible person
CANN-robotCANN-robotCollaborators
16 days ago Close issue
CANN-robotCANN-robotCollaborators
16 days ago changed custom state from 待办的 to 已完成
CANN-robotCANN-robotCollaborators
15 days ago Added label: resolved