Closed
[Bug-Report|缺陷反馈]: AdamApplyOneAssign、ApplyAdamV2 当前交付版本错误码分类及重复上报问题 #7494
陈展熹Add on 25 days agoClosed at 25 days ago
25 days ago Added label: bug-report
25 days ago Assign yourealize as responsible person
25 days ago Close issue
25 days ago Added label: resolved
16 days ago Associated pull request
10 days ago Associated pull request
10 days ago Associated pull request
10 days ago Deleted associated pull request: perf(adam_apply_one_assign): 通用合轴优化连续输入搬运
Describe the current behavior / 问题描述
PR #12731 的问题版本
39598b26df8699fdbeaeacce6126f6a3bb56f1e9中,AdamApplyOneAssign、ApplyAdamV2 的部分 Host/Graph 拒绝路径使用普通OP_LOGE,上报通用EZ9999,无法按缺失参数、shape/rank、dtype、format 等原因分类。部分校验合并 dtype 与 format,广播辅助函数和上层还存在重复报错路径。典型位置:
optim/adam_apply_one_assign/op_host/adam_apply_one_assign_infershape.cpp:不可广播、状态 shape 不匹配使用普通OP_LOGE。optim/apply_adam_v2/op_host/arch35/apply_adam_v2_tiling_arch35.cpp:输出数量、dtype、合并 dtype/format 校验使用普通OP_LOGE;广播辅助函数自行报错。Environment Information / 环境信息
Steps to reproduce the issue / 重现步骤
Describe the expected behavior / 预期结果
EZ0004;shape 使用EZ0008/EZ0009/EZ0010;rank 使用EZ0012;format 使用EZ0017/EZ0018;dtype 使用EZ0019;输入输出数量使用EZ0022;非法模式使用对应属性错误码。EZ1008、EZ1014。Related log / screenshot / 日志 / 结果
修复提交
733d087cfcd3f24d0bf586e7b57e53ae995b610f已替换相关通用日志宏,并移除广播辅助函数的重复上报。真实 SDK Host UT 共 11 PASS / 0 skip,覆盖分类错误码、单次上报、空 context 及原有正常场景;CANN 9.2 / Ascend950 编译打包通过。Special notes for this issue / 备注
修复 PR:ops-nn #12731。关联历史综合记录 ops-nn #6540;本 issue 限定于上述 PR 交付版本的错误码整改与回归验证,不代表该历史记录中的其他未决项已解决。