已关闭
[Bug-Report|缺陷反馈]: DynamicMxQuantWithDualAxis动态图Infershape报错 #1467
季骏创建于  3月13日关闭于  3月14日
季骏
季骏
3月13日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

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

DynamicMxQuantWithDualAxis动态图场景执行失败

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

Ascend950

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

动态图测试

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

运行成功

[ERROR] OP(2963655,main):2026-03-13-17:27:18.069.445 [../../../../quant/dynamic_mx_quant_with_dual_axis/op_host/dynamic_mx_quant_with_dual_axis_infershape.cpp:61][OPS_NN][InferShapeForDynamicMxQuantWithDualAxis][2964850] OpName:[DynamicMxQuantWithDualAxis] Input x rank[1] should be in [2, 7].
[INFO] GE(2963655,main):2026-03-13-17:27:18.069.493 [error_manager.cc:398]2964850 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:296368464850, error_mode:0
[ERROR] GE(2963655,main):2026-03-13-17:27:18.069.519 [shape_inference.cc:670]2964850 InferShapeOnCompile: ErrorNo: 4294967295(failed)[Call][InferShapeV2Func] failed, op_desc[DynamicMxQuantWithDualAxis], ret[-1]
[WARNING] GE(2963655,main):2026-03-13-17:27:18.069.532 [op_desc_utils_ex.cc:75]2964850 CallInferFuncV2:Assert failed: [Call][InferFuncV2]Failed to infer shape of node DynamicMxQuantWithDualAxis[DynamicMxQuantWithDualAxis].
[DEBUG] GE(2963655,main):2026-03-13-17:27:18.069.548 [op_desc_utils_ex.cc:46]2964850 EnableIgnoreInferError:Can not get env [IGNORE_INFER_ERROR]. Disable ignore infer validation.
[INFO] GE(2963655,main):2026-03-13-17:27:18.069.564 [error_manager.cc:398]2964850 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:296368464850, error_mode:0
[DEBUG] GE(2963655,main):2026-03-13-17:27:18.069.576 [analyzer.cc:246]2964850 DoAnalyze:start to do analyzer process
[INFO] GE(2963655,main):2026-03-13-17:27:18.069.583 [analyzer.cc:168]2964850 GetJsonObject:GetJsonObject Success!session_id:0 graph_id:0
[DEBUG] GE(2963655,main):2026-03-13-17:27:18.069.607 [analyzer.cc:186]2964850 CreateAnalyzerFile:start to create analyzer file!
[DEBUG] GE(2963655,main):2026-03-13-17:27:18.069.764 [analyzer.cc:204]2964850 CreateAnalyzerFile:success to create analyzer file[/home/z60091446/geir/aclnn_fuzz/ge_check_op.json]!
[DEBUG] GE(2963655,main):2026-03-13-17:27:18.069.774 [analyzer.cc:209]2964850 SaveAnalyzerDataToFile:start to save analyze file
[INFO] GE(2963655,main):2026-03-13-17:27:18.069.779 [analyzer.cc:168]2964850 GetJsonObject:GetJsonObject Success!session_id:0 graph_id:0
[DEBUG] GE(2963655,main):2026-03-13-17:27:18.069.799 [analyzer.cc:324]2964850 GraphInfoToJson:start to buff graph info!
[INFO] GE(2963655,main):2026-03-13-17:27:18.069.891 [error_manager.cc:398]2964850 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:296368464850, error_mode:0
[ERROR] GE(2963655,main):2026-03-13-17:27:18.069.903 [infershape_pass.cc:123]2964850 Infer: ErrorNo: 1343242270(Prepare Graph infershape failed)[Call][InferShapeAndType] for node:DynamicMxQuantWithDualAxis(DynamicMxQuantWithDualAxis) failed
[INFO] GE(2963655,main):2026-03-13-17:27:18.069.940 [infer_base_pass.cc:383]2964850 PrintInOutTensors:[after_infer] Node [DynamicMxQuantWithDualAxis]: {input 0: shape:[-2],format:ND,dtype:DT_BFLOAT16,origin_shape:[-2],origin_format:ND,origin_dtype:DT_BFLOAT16,shape_range:[],origin_shape_range:[];output 0: shape:[],format:ND,dtype:DT_FLOAT8_E5M2,origin_shape:[],origin_format:ND,origin_dtype:DT_UNDEFINED,shape_range:[],origin_shape_range:[];output 1: shape:[],format:ND,dtype:DT_FLOAT8_E8M0,origin_shape:[],origin_format:ND,origin_dtype:DT_UNDEFINED,shape_range:[],origin_shape_range:[];output 2: shape:[],format:ND,dtype:DT_FLOAT8_E5M2,origin_shape:[],origin_format:ND,origin_dtype:DT_UNDEFINED,shape_range:[],origin_shape_range:[];output 3: shape:[],format:ND,dtype:DT_FLOAT8_E8M0,origin_shape:[],origin_format:ND,origin_dtype:DT_UNDEFINED,shape_range:[],origin_shape_range:[];}

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

likedislike
季骏
季骏
3月13日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
3月13日 将 ji-jun1 设为负责人
CANN-robotCANN-robot成员
3月14日 关闭了 issue
CANN-robotCANN-robot成员
3月20日 添加了label:resolved