PaddlePaddle / PaddlePaddle/FastDeploy

cannot open shared object file: No such file or directory

Open
#2,540 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.7k
Forks
756
Avg merge
19h 28m
Merged PRs (30d)
4

Description

跑官方例子的时候直接就报错了,华为昇腾的卡 找不到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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.