模型转换
收藏回复举报
模型转换
新人帖
发表于2024-11-09 15:00:22
0 查看

【用户类型】:个人开发者

【昇腾产品型号】:Atlas 200 DK

【版本信息】:

--操作系统版本:ubuntu.aarch64

--固件驱动版本:   Version: 1.75.22.0.220

--CANN版本:CANN 6.0.1(升级后版本)

--Python版本:Python3.7.5

【开发内容】:使用atc进行模型转换

【问题描述】:我们遇到了atc 工具,把 onnx 模型转成 om 模型,但是遇到报错找不到 ai_core? · Issue #I7S5KS · Ascend/modelzoo - Gitee.com和这篇帖子一模一样的问题,根据帖子中回复的内容,我们尝试更新驱动和cann。驱动由于无法安装liux-header更新失败,之后更新了cann

【尝试措施】更新后存在以下错误

ATC start working now, please wait for a moment. 

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

E49999: Inner Error, Please contact support engineer! 

E49999  Pre-compile op[Concat_220] failed, oppath[/home/HwHiAiUser/Ascend/ascend-toolkit/6.0.1/opp/op_impl/custom/ai_core/tbe/custom_impl/concat_d.py], optype[ConcatD], taskID[1]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:858] 

        TraceBack (most recent call last): 

        Pre-compile op[PartitionedCall_Split_221_SplitV_61] failed, oppath[/home/HwHiAiUser/Ascend/ascend-toolkit/6.0.1/opp/op_impl/custom/ai_core/tbe/custom_impl/split_v_d.py], optype[SplitVD], taskID[2]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:858] 

        Pre-compile op[trans_TransData_422] failed, oppath[/home/HwHiAiUser/Ascend/ascend-toolkit/6.0.1/opp/op_impl/custom/ai_core/tbe/custom_impl/trans_data.py], optype[TransData], taskID[7]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:858] 

        Pre-compile op[Sigmoid_240] failed, oppath[/home/HwHiAiUser/Ascend/ascend-toolkit/6.0.1/opp/op_impl/custom/ai_core/tbe/custom_impl/sigmoid.py], optype[Sigmoid], taskID[3]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:858] 

        [SubGraphOpt][Pre-Comp][Node Sigmoid_240] Failed to pre-compile. Tid is [281468651681264], TaskId is [3] [FUNC:ProcessFailPreCompTask][FILE:tbe_op_store_adapter.cc][LINE:167] 

        [SubGraphOpt][Pre-Comp][Node Concat_220] Failed to pre-compile. Tid is [281468651681264], TaskId is [1] [FUNC:ProcessFailPreCompTask][FILE:tbe_op_store_adapter.cc][LINE:167] 

        [SubGraphOpt][Pre-Comp][Node PartitionedCall_Split_221_SplitV_61] Failed to pre-compile. Tid is [281468651681264], TaskId is [2] [FUNC:ProcessFailPreCompTask][FILE:tbe_op_store_adapter.cc][LINE:167] 

        [SubGraphOpt][Pre-Comp]Failed to process failed task. Thread_id is [281468651681264].[FUNC:ParallelPreCompileOp][FILE:tbe_op_store_adapter.cc][LINE:500] 

        [SubGraphOpt][Pre-Comp]Failed to pre-compile graph [partition0_rank5_new_sub_graph139][FUNC:PreCompileOp][FILE:op_compiler.cc][LINE:607] 

        Call OptimizeFusedGraph failed, ret:-1, engine_name:AIcoreEngine, graph_name:partition0_rank5_new_sub_graph139[FUNC:OptimizeSubGraph][FILE:graph_optimize.cc][LINE:130] 

        Pre-compile op[trans_TransData_425] failed, oppath[/home/HwHiAiUser/Ascend/ascend-toolkit/6.0.1/opp/op_impl/custom/ai_core/tbe/custom_impl/trans_data.py], optype[TransData], taskID[9]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:858] 

        Pre-compile op[Softmax_224] failed, oppath[/home/HwHiAiUser/Ascend/ascend-toolkit/6.0.1/opp/op_impl/custom/ai_core/tbe/custom_impl/softmax_v2.py], optype[SoftmaxV2], taskID[5]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:858] 

        Pre-compile op[Add_232] failed, oppath[/home/HwHiAiUser/Ascend/ascend-toolkit/6.0.1/opp/op_impl/custom/ai_core/tbe/custom_impl/add.py], optype[Add], taskID[11]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:858] 

        Pre-compile op[Conv_226] failed, oppath[/home/HwHiAiUser/Ascend/ascend-toolkit/6.0.1/opp/op_impl/custom/ai_core/tbe/custom_impl/conv2d.py], optype[Conv2D], taskID[8]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:858] 

        Pre-compile op[Sub_230] failed, oppath[/home/HwHiAiUser/Ascend/ascend-toolkit/6.0.1/opp/op_impl/custom/ai_core/tbe/custom_impl/sub.py], optype[Sub], taskID[12]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:858] 

        Pre-compile op[PartitionedCall_Split_228_SplitV_71] failed, oppath[/home/HwHiAiUser/Ascend/ascend-toolkit/6.0.1/opp/op_impl/custom/ai_core/tbe/custom_impl/split_v_d.py], optype[SplitVD], taskID[10]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:858] 

本帖最后由 匿名用户2024/11/12 19:26:20 编辑

我要发帖子