验证npu代码报错,File "/home/HwHiAiUser/.local/lib/python3.10/site-packages/torch_npu/npu/init.py", line 201, in _lazy_init
torch_npu._C._npu_init()
RuntimeError: Initialize:torch_npu/csrc/core/npu/sys_ctrl/npu_sys_ctrl.cpp:217 NPU error, error code is 500001
[ERROR] 2024-08-13-07:01:29 (PID:86927, 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-08-13-07:01:29.167.109 Failed to import Python module [AttributeError: np.float_
was removed in the NumPy 2.0 release. Use np.float64
instead..].
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.)
用户反馈
操作系统:Windows 10
浏览器:Chrome
分辨率:1280*800
语言:zh-CN
来源:https://gitee.com/ascend/pytorch/