Closed
[Bug-Report|缺陷反馈]: MultiAddRmsNormDynamicQuant图模式示例动态输入端口顺序错误 #8331
zsq_888Add on 15 days agoClosed at 15 days ago
15 days ago Added label: bug-report
15 days ago Associated pull request
15 days ago Assign qq_57796320 as responsible person
15 days ago Close issue
15 days ago changed custom state from 待办的 to 已完成
15 days ago Added label: resolved
Describe the current behavior / 问题描述 (Mandatory / 必填)
图模式示例使用
create_dynamic_input_x1创建x1TensorList,动态端口被追加到静态输入之后,与算子原型中x1位于第0个输入端口的顺序不一致。PR 描述指出,这会导致输出 shape 推导错误和设备地址异常。原示例也缺少对六个输出结果的校验。Environment Information / 环境信息 (Mandatory / 必填)
c7d585c676867424a317c7834c127fead9d0ab93。Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
norm/multi_add_rms_norm_dynamic_quant/examples/test_geir_multi_add_rms_norm_dynamic_quant.cpp。x1的端口位置、图执行结果及六个输出。PR 未提供修复前的完整执行命令、错误日志和设备环境信息,具体失败结果仍需补充。
Describe the expected behavior / 预期结果 (Mandatory / 必填)
示例应将
x1动态输入插入第0个端口,图能够正常执行;六个输出y1、y2、x、y、scale1、scale2的 shape、dtype 和数值符合参考结果。Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
PR 作者报告:在 Ascend950 上使用原算子包,
x1长度为1、2、5时图执行成功,六个输出均通过新增的确定性检查。本次仅核对 PR 描述和代码差异,未重新上板验证;原始日志待补充。Special notes for this issue/备注 (Optional / 选填)
关联 PR:https://gitcode.com/cann/ops-nn/pull/13852