ATC编译模型报错,EZ9999
收藏回复举报
ATC编译模型报错,EZ9999
t('forum.solved') 已解决
发表于2026-02-05 16:57:31
0 查看

atc --model deim_withoutPostProc_merge_opset18.onnx --framework=5 --output deim_tesst --soc_version=Ascend310B1 --input_shape=images:1,3,640,640 

cann版本

# cat /usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/ascend_all_cann_install.info  

package_name=Ascend-cann 

version=8.5.0 

innerversion=V100R001C25B800TP043 

compatible_version=[V100R001C15],[V100R001C18],[V100R001C19],[V100R001C20],[V100R001C21],[V100R001C23] 

arch=x86_64 

os=linux 

path=/usr/local/Ascend/cann-8.5.0 

报错信息

... 

ATC run failed, Please check the detail log, Try 'atc --help' for more information 

EZ9999: Inner Error! 

        param dst_name is empty, check invalid.[FUNC:SetInputImpl][FILE:operator_impl.cc][LINE:67] 

EZ9999[PID: 130640] 2026-02-05-16:44:58.707.259 (EZ9999):  Precheck input shape failed.[FUNC:VerifyInputs][FILE:matrix_calculation_matmul.cc][LINE:254] 

        TraceBack (most recent call last): 

       Verifying /decoder/decoder/layers.0/self_attn/MatMul_2 failed.[FUNC:InferShapeAndType][FILE:infershape_pass.cc][LINE:132] 

       Call InferShapeAndType for node:/decoder/decoder/layers.0/self_attn/MatMul_2(BatchMatMulV2) failed[FUNC:Infer][FILE:infershape_pass.cc][LINE:120] 

       process pass InferShapePass on node:/decoder/decoder/layers.0/self_attn/MatMul_2 failed, ret:4294967295[FUNC:RunPassesOnNode][FILE:base_pass.cc][LINE:571] 

       build graph failed, graph id:0, ret:1343242270[FUNC:BuildModelWithGraphId][FILE:ge_generator.cc][LINE:1585] 

       GE GenerateOfflineModel execute failed[FUNC:GenerateModelBySingleGraph][FILE:main_impl.cc][LINE:1445] 

本帖最后由 匿名用户2026/02/06 08:57:56 编辑

我要发帖子