Skip to content

在沐曦MXC500上安装对应的paddlepaddle版本后, 运行时报错提示找不到libruntime_cu.so #9429

@Sattelizer

Description

@Sattelizer

问题确认 Search before asking

  • 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

如题,详细报错信息如下
/home/user/miniconda/envs/paddlepaddle_py310/lib/python3.10/site-packages/paddle/utils/cpp_extension/extension_utils.py:717: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md
warnings.warn(warning_message)
I0908 11:57:17.413173 2634115 init.cc:238] ENV [CUSTOM_DEVICE_ROOT]=/home/user/miniconda/envs/paddlepaddle_py310/lib/python3.10/site-packages/paddle_custom_device
I0908 11:57:17.413228 2634115 init.cc:146] Try loading custom device libs from: [/home/user/miniconda/envs/paddlepaddle_py310/lib/python3.10/site-packages/paddle_custom_device]
Traceback (most recent call last):
File "main.py", line 26, in
File "shengteng_paddle/paddle_action.py", line 1, in
File "shengteng_paddle/deploy/pptracking/python/mot_sde_infer.py", line 23, in
File "/home/user/miniconda/envs/paddlepaddle_py310/lib/python3.10/site-packages/paddle/init.py", line 38, in
from .base import core # noqa: F401
File "/home/user/miniconda/envs/paddlepaddle_py310/lib/python3.10/site-packages/paddle/base/init.py", line 205, in
bootstrap()
File "/home/user/miniconda/envs/paddlepaddle_py310/lib/python3.10/site-packages/paddle/base/init.py", line 197, in bootstrap
core.init_devices()
ValueError: (InvalidArgument) Fail to open library: /home/user/miniconda/envs/paddlepaddle_py310/lib/python3.10/site-packages/paddle_custom_device/libpaddle-metax-gpu.so with error: libruntime_cu.so: cannot open shared object file: No such file or directory
[Hint: dso_handle should not be null.] (at /paddle/paddle/fluid/platform/init.cc:150)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions