更换CANN版本注意事项
收藏回复举报
更换CANN版本注意事项
t('forum.solved') 已解决
发表于2024-12-28 15:10:33
0 查看

image.png

在制卡之后,我卸载了原本的CANN版本,安装了的其他CANN版本,改了环境之后,现在运行案例的时候,总是在最后一步自动重启内核,而且使用atc转换模型时候,报错

1.安装的CANN版本

CANN版本:8.0.RC2

2.转换时报的错

cke_26819.png

ATC start working now, please wait for a moment. ... ATC run failed, Please check the detail log, Try 'atc --help' for more information EC0010: 2024-12-28-23:06:01.586.785 Failed to import Python module [ModuleNotFoundError: No module named 'tvm'.]. 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): AOE Failed to call InitCannKB [GraphOpt][InitializeInner][InitTbeFunc] Failed to init tbe.[FUNC:InitializeInner][FILE:tbe_op_store_adapter.cc][LINE:1719] [SubGraphOpt][PreCompileOp][InitAdapter] InitializeAdapter adapter [tbe_op_adapter] failed! Ret [4294967295][FUNC:InitializeAdapter][FILE:op_store_adapter_manager.cc][LINE:79] [SubGraphOpt][PreCompileOp][Init] Initialize op store adapter failed, OpsStoreName[tbe-custom].[FUNC:Initialize][FILE:op_store_adapter_manager.cc][LINE:120] [FusionMngr][Init] Op store adapter manager init failed.[FUNC:Initialize][FILE:fusion_manager.cc][LINE:117] PluginManager InvokeAll failed.[FUNC:Initialize][FILE:ops_kernel_manager.cc][LINE:82] OpsManager initialize failed.[FUNC:InnerInitialize][FILE:gelib.cc][LINE:234] GELib::InnerInitialize failed.[FUNC:Initialize][FILE:gelib.cc][LINE:162]

我要发帖子