加载向量化模型tao_8k报错
收藏回复举报
加载向量化模型tao_8k报错
t('forum.solved') 已解决
发表于2025-03-14 16:19:28
0 查看

RuntimeError: Initialize:build/CMakeFiles/torch_npu.dir/compiler_depend.ts:246 NPU function error: at_npu::native::AclSetCompileopt(aclCompileOpt::ACL_PRECISION_MODE, precision_mode), error code is 500001 [ERROR] 2025-03-14-08:15:38 (PID:34, 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. EH9999: Inner Error! EH9999: [PID: 34] 2025-03-14-08:15:38.636.303 [Init][PlatformInfo]init runtime platform info failed, SocVersion = Ascend910B4[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:145] TraceBack (most recent call last): 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]

Traceback:

File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling result = func()

File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec exec(code, module.__dict__)

File "/NL2SQL/NL2SQL_1.7/SmartQuery1.7.py", line 604, in <module> chat_web()

File "/NL2SQL/NL2SQL_1.7/SmartQuery1.7.py", line 289, in chat_web model = load_embedding_model(EMBEDDING_MODEL_PATH)

File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/caching/cache_utils.py", line 210, in __call__ return self._get_or_create_cached_value(args, kwargs)

File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/caching/cache_utils.py", line 235, in _get_or_create_cached_value return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)

File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/caching/cache_utils.py", line 292, in _handle_cache_miss computed_value = self._info.func(*func_args, **func_kwargs)

File "/NL2SQL/NL2SQL_1.7/src/load_embedding_model.py", line 33, in load_embedding_model return SentenceTransformer(model_name_or_path=embedding_model_path, device=device)

File "/usr/local/lib/python3.10/dist-packages/sentence_transformers/SentenceTransformer.py", line 333, in __init__ self.to(device)

File "/usr/local/lib/python3.10/dist-packages/torch_npu/utils/_module.py", line 70, in to self.cast_weight(device)

File "/usr/local/lib/python3.10/dist-packages/torch_npu/utils/_module.py", line 133, in cast_weight _format_cast(self, current_class)

File "/usr/local/lib/python3.10/dist-packages/torch_npu/utils/_module.py", line 96, in _format_cast if torch.npu.is_jit_compile_false():

File "/usr/local/lib/python3.10/dist-packages/torch_npu/npu/npu_config.py", line 133, in is_jit_compile_false torch_npu.npu._lazy_init()

File "/usr/local/lib/python3.10/dist-packages/torch_npu/npu/__init__.py", line 222, in _lazy_init torch_npu._C._npu_init()

我要发帖子