atc 单独转自定义 Tik 算子失败
收藏回复举报
atc 单独转自定义 Tik 算子失败
t('forum.solved') 已解决
发表于2023-08-01 17:46:07
0 查看

返回的错误是

E49999: Inner Error!
E49999  Compile op[FillColorRect] failed, oppath[/usr/local/Ascend/ascend-toolkit/6.0.RC1/opp/op_impl/custom/ai_core/tbe/custom_impl/fill_color_rect.py], optype[FillColorRect], taskID[2]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:856]
        [SubGraphOpt][Compile][ProcFailedCompTask] Thread[139646014211840] recompile single op[FillColorRect] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:827]
        [SubGraphOpt][Compile][ParalCompOp] Thread[139646014211840] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:867]
        [SubGraphOpt][Compile][CompOpOnly] CompileOp failed.[FUNC:CompileOpOnly][FILE:op_compiler.cc][LINE:994]
        [GraphOpt][FusedGraph][RunCompile] Failed to compile graph with compiler Normal mode Op Compiler[FUNC:SubGraphCompile][FILE:fe_graph_optimizer.cc][LINE:1467]
        Call OptimizeFusedGraph failed, ret:-1, engine_name:AIcoreEngine, graph_name:partition0_rank1_new_sub_graph3[FUNC:OptimizeSubGraph][FILE:graph_optimize.cc][LINE:130]
        subgraph 0 optimize failed[FUNC:OptimizeSubGraphWithMultiThreads][FILE:graph_manager.cc][LINE:714]
        build graph failed, graph id:0, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496]
        Solution: Please contact support engineer.

目标芯片是:Ascend310

算子代码是在附件中。

讲真的,搞出 tbe 自定义算子这一套东西的人他自已都没用过吧!还不如把汇编放出来呢,SIMD 指令加汇编那不比这好用!虽然我能力也不咋样吧,但这套又是 python 又是 C++ 的,是真不爽。

我要发帖子