适配昇腾: ERR00100 PTA call acl api
看看torch和torch_npu的版本是不是对应,然后再在issue中搜索一番吧。大概就是少了个模块,使用pip install 安装一下就可以了。先别慌,首先看一下报错内容有没有我们可以理解的,比如这个报错中。如果报错我们读不懂,就参考一下。
·
报错内容
[ERROR] 2025-11-25-17:06:10 (PID:196210, 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: [PID: 196210] 2025-11-25-17:06:10.567.194 Failed to import Python module [ModuleNotFoundError: No module named 'decorator'.].
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[FUNC:Initialize][FILE:python_adapter_manager.cc][LINE:47]
Failed to initialize TeConfigInfo.
[GraphOpt][InitializeInner][InitTbeFunc] Failed to init tbe.[FUNC:InitializeTeFusion][FILE:tbe_op_store_adapter.cc][LINE:1816]
[GraphOpt][InitializeInner][InitTeFusion]: Failed to initialize TeFusion.[FUNC:InitializeInner][FILE:tbe_op_store_adapter.cc][LINE:1783]
[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:115]
PluginManager InvokeAll failed.[FUNC:Initialize][FILE:ops_kernel_manager.cc][LINE:82]
OpsManager initialize failed.[FUNC:InnerInitialize][FILE:gelib.cc][LINE:249]
GELib::InnerInitialize failed.[FUNC:Initialize][FILE:gelib.cc][LINE:177]
GEInitialize failed.[FUNC:GEInitialize][FILE:ge_api.cc][LINE:337]
[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]
ERROR: Application startup failed. Exiting.
解决办法:
先别慌,首先看一下报错内容有没有我们可以理解的,比如这个报错中

大概就是少了个模块,使用pip install 安装一下就可以了。
如果报错我们读不懂,就参考一下https://gitee.com/ascend/pytorch,看看torch和torch_npu的版本是不是对应,然后再在issue中搜索一番吧。
## 祝你好运
hope("大神多多指点")
topic("有问题可以交流呀")
concat("61480", "--","9646","求", "球" ," QUN")



昇腾计算产业是基于昇腾系列(HUAWEI Ascend)处理器和基础软件构建的全栈 AI计算基础设施、行业应用及服务,https://devpress.csdn.net/organization/setting/general/146749包括昇腾系列处理器、系列硬件、CANN、AI计算框架、应用使能、开发工具链、管理运维工具、行业应用及服务等全产业链
更多推荐

所有评论(0)