torch_npu对yolov8 Ultralytics自动转换运行的时候报错
收藏回复举报
torch_npu对yolov8 Ultralytics自动转换运行的时候报错
t('forum.solved') 已解决
发表于2024-10-29 14:28:18
0 查看
Initialize:build/CMakeFiles/torch_npu.dir/compiler_depend.ts:224 NPU function error: at_npu::native::AclSetCompileopt(aclCompileOpt::ACL_PRECISION_MODE, precision_mode), error code is 500001 

[ERROR] 2024-10-29-13:32:37 (PID:1313942, Device:0, RankID:-1). ERR00100 PTA call acl api failed 

[Error]: The internal ACL of the system is incorrect. 

        Rectify the fault based on the error information in the ascend log. 

EC0010: 2024-10-29-13:32:37.425.686 Failed to import Python module [ModuleNotFoundError: No module named 'sympy'.]. 

        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] 

        GEInitialize failed.[FUNC:GEInitialize][FILE:ge_api.cc][LINE:334] 

        [Initialize][Ge]GEInitialize failed. ge result = 4294967295[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161] 

        [Init][Compiler]Init compiler failed[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:145] 

        [Set][Options]OpCompileProcessor init failed![FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:145]

我要发帖子