EC0010: Failed to import Python module [ModuleNotFoundError: No module named 'tbe.
收藏回复举报
EC0010: Failed to import Python module [ModuleNotFoundError: No module named 'tbe.
t('forum.solved') 已解决
发表于2024-02-05 14:38:51
0 查看

atc模型转换报错,模型之前在cann6.3可以正常转换,切换到cann7.0后转换失败。

cann版本:7.0.0.alpha002

报错信息:

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

EC0010: Failed to import Python module [ModuleNotFoundError: No module named 'tbe.common.repository_manager.utils.repository_manager_log'.]. 

        Solution: Check that all required components are properly installed and the specified Python path matches the Python installation directory. (If the path does not match the directory, run set_env.sh in the installation package.) 

        TraceBack (most recent call last): 

        [GraphOpt][InitializeInner][InitTbeFunc] Failed to init tbe.[FUNC:InitializeInner][FILE:tbe_op_store_adapter.cc][LINE:1638] 

        [SubGraphOpt][PreCompileOp][InitAdapter] InitializeAdapter adapter [tbe_op_adapter] failed! Ret [4294967295][FUNC:InitializeAdapter][FILE:op_store_adapter_manager.cc][LINE:85] 

        [SubGraphOpt][PreCompileOp][Init] Initialize op store adapter failed, OpsStoreName[tbe-custom].[FUNC:Initialize][FILE:op_store_adapter_manager.cc][LINE:126] 

        [FusionMngr][Init] Op store adapter manager init failed.[FUNC:Initialize][FILE:fusion_manager.cc][LINE:125] 

        PluginManager InvokeAll failed.[FUNC:Initialize][FILE:ops_kernel_manager.cc][LINE:104] 

        OpsManager initialize failed.[FUNC:InnerInitialize][FILE:gelib.cc][LINE:237] 

        GELib::InnerInitialize failed.[FUNC:Initialize][FILE:gelib.cc][LINE:165]

我要发帖子