在910服务器上,先使用pytorch的快速安装,然后安装依赖,最后使用python3 -c "import torch;import torch_npu; a = torch.randn(3, 4).npu(); print(a + a);"进行验证,但是报错[E compiler_depend.ts:280] call aclnnAdd failed, detail:EZ9999: Inner Error!
EZ9999: 2025-01-03-10:17:01.345.794 Op Add does not has any binary.
TraceBack (most recent call last):
Kernel Run failed. opType: 3, Add
launch failed for Add, errno:561000.
[ERROR] 2025-01-03-10:17:01 (PID:3265573, Device:0, RankID:-1) ERR01100 OPS call acl api failed
Exception raised from operator() at build/CMakeFiles/torch_npu.dir/compiler_depend.ts:43 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x68 (0xffff862c2898 in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch/lib/libc10.so)
frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::string const&) + 0x6c (0xffff8627b2a8 in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch/lib/libc10.so)
frame #2: <unknown function> + 0x92d26c (0xfffd9fb1826c in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch_npu/lib/libtorch_npu.so)
frame #3: <unknown function> + 0x136f32c (0xfffda055a32c in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch_npu/lib/libtorch_npu.so)
frame #4: <unknown function> + 0x632164 (0xfffd9f81d164 in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch_npu/lib/libtorch_npu.so)
frame #5: <unknown function> + 0x6326cc (0xfffd9f81d6cc in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch_npu/lib/libtorch_npu.so)
frame #6: <unknown function> + 0x62fb44 (0xfffd9f81ab44 in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch_npu/lib/libtorch_npu.so)
frame #7: <unknown function> + 0xbea5c (0xffff86152a5c in /usr/lib64/libstdc++.so.6)
frame #8: <unknown function> + 0x87c4 (0xffff9c81a7c4 in /usr/lib64/libpthread.so.0)
frame #9: <unknown function> + 0xdbcec (0xffff9c654cec in /usr/lib64/libc.so.6)
[W compiler_depend.ts:286] Warning: (function ExecFunc)
Traceback (most recent call last):
File "<string>", line 1, in <module>
RuntimeError: The Inner error is reported as above. The process exits for this inner error, and the current working operator name is aclnnAdd.
Since the operator is called asynchronously, the stacktrace may be inaccurate. If you want to get the accurate stacktrace, pleace set the environment variable ASCEND_LAUNCH_BLOCKING=1.
[ERROR] 2025-01-03-10:17:01 (PID:3265573, Device:0, RankID:-1) ERR00100 PTA call acl api failed请问这是什么问题
EZ9999: 2025-01-03-10:17:01.345.794 Op Add does not has any binary.
TraceBack (most recent call last):
Kernel Run failed. opType: 3, Add
launch failed for Add, errno:561000.
[ERROR] 2025-01-03-10:17:01 (PID:3265573, Device:0, RankID:-1) ERR01100 OPS call acl api failed
Exception raised from operator() at build/CMakeFiles/torch_npu.dir/compiler_depend.ts:43 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::string) + 0x68 (0xffff862c2898 in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch/lib/libc10.so)
frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::string const&) + 0x6c (0xffff8627b2a8 in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch/lib/libc10.so)
frame #2: <unknown function> + 0x92d26c (0xfffd9fb1826c in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch_npu/lib/libtorch_npu.so)
frame #3: <unknown function> + 0x136f32c (0xfffda055a32c in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch_npu/lib/libtorch_npu.so)
frame #4: <unknown function> + 0x632164 (0xfffd9f81d164 in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch_npu/lib/libtorch_npu.so)
frame #5: <unknown function> + 0x6326cc (0xfffd9f81d6cc in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch_npu/lib/libtorch_npu.so)
frame #6: <unknown function> + 0x62fb44 (0xfffd9f81ab44 in /root/miniconda3/envs/yolo11/lib/python3.10/site-packages/torch_npu/lib/libtorch_npu.so)
frame #7: <unknown function> + 0xbea5c (0xffff86152a5c in /usr/lib64/libstdc++.so.6)
frame #8: <unknown function> + 0x87c4 (0xffff9c81a7c4 in /usr/lib64/libpthread.so.0)
frame #9: <unknown function> + 0xdbcec (0xffff9c654cec in /usr/lib64/libc.so.6)
[W compiler_depend.ts:286] Warning: (function ExecFunc)
Traceback (most recent call last):
File "<string>", line 1, in <module>
RuntimeError: The Inner error is reported as above. The process exits for this inner error, and the current working operator name is aclnnAdd.
Since the operator is called asynchronously, the stacktrace may be inaccurate. If you want to get the accurate stacktrace, pleace set the environment variable ASCEND_LAUNCH_BLOCKING=1.
[ERROR] 2025-01-03-10:17:01 (PID:3265573, Device:0, RankID:-1) ERR00100 PTA call acl api failed请问这是什么问题