Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot open shared object file: No such file or directory #2540

Open
jo-dean opened this issue Oct 28, 2024 · 0 comments
Open

cannot open shared object file: No such file or directory #2540

jo-dean opened this issue Oct 28, 2024 · 0 comments
Assignees

Comments

@jo-dean
Copy link

jo-dean commented Oct 28, 2024

跑官方例子的时候直接就报错了,华为昇腾的卡 找不到libhuawei_ascend_npu.so, libascendcl.so
multiclass_nms3:tmp_17,concat_14.tmp_0:multiclass_nms3_0.tmp_1,multiclass_nms3_0.tmp_2,multiclass_nms3_0.tmp_0
fetch:multiclass_nms3_0.tmp_0:fetch
fetch:multiclass_nms3_0.tmp_2:fetch

[INFO] fastdeploy/runtime/runtime.cc(354)::CreateLiteBackend Runtime initialized with Backend::PDLITE in Device::ASCEND.
[F 10/28 12:31:52. 73 ...nadapter/nnadapter/src/runtime/device.cc:529 Find] Failed to load the nnadapter device HAL library for 'huawei_ascend_npu' from libhuawei_ascend_npu.so, libascendcl.so: cannot open shared object file: No such file or directory
[F 10/28 12:31:52. 73 ...nadapter/nnadapter/src/runtime/device.cc:529 Find] Failed to load the nnadapter device HAL library for 'huawei_ascend_npu' from libhuawei_ascend_npu.so, libascendcl.so: cannot open shared object file: No such file or directory

Traceback (most recent call last):
File "infer_ppyoloe.py", line 69, in
result = model.predict(im)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/fastdeploy_python-0.0.0-py3.7-linux-aarch64.egg/fastdeploy/vision/detection/ppdet/init.py", line 126, in predict
return self._model.predict(im)
RuntimeError: NNAdapter C++ Exception:
[F 10/28 12:31:52. 73 ...nadapter/nnadapter/src/runtime/device.cc:529 Find] Failed to load the nnadapter device HAL library for 'huawei_ascend_npu' from libhuawei_ascend_npu.so, libascendcl.so: cannot open shared object file: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants