OSError undefined symbol when load deepmd.infer #2640
Unanswered
plumbum082
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I tried to reproduce the issue in a new Colab environment. No errors occurred. See this link. The problem is more likely to be related to your environment. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ~
I installed python interface on Bohrium with this command "pip install deepmd-kit[gpu,cu11,ipi], then I ran the .py file with this line "from deepmd.infer import DeepPot" , but it gave me this error,
Traceback (most recent call last):
File "/data/dp_cmd/./test_ene.py", line 31, in
from deepmd.infer import DeepPot
File "/opt/mamba/lib/python3.10/site-packages/deepmd/init.py", line 10, in
import deepmd.utils.network as network
File "/opt/mamba/lib/python3.10/site-packages/deepmd/utils/init.py", line 2, in
from .data import (
File "/opt/mamba/lib/python3.10/site-packages/deepmd/utils/data.py", line 11, in
from deepmd.env import (
File "/opt/mamba/lib/python3.10/site-packages/deepmd/env.py", line 60, in
dlopen_library("nvidia.cublas.lib", "libcublas.so*")
File "/opt/mamba/lib/python3.10/site-packages/deepmd/env.py", line 53, in dlopen_library
ctypes.CDLL(str(libs[0].absolute()))
File "/opt/mamba/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: /opt/mamba/lib/python3.10/site-packages/nvidia/cublas/lib/libcublas.so.11: undefined symbol: cublasLt_for_cublas_HSS, version libcublasLt.so.11
However, when I import deepmd.infer using ipython, it works although gives some warnings, it can run. But my problem is that I need to run the py scripts, but I did not figure out what is the problem. Could you please help me? Thanks a lot !
Beta Was this translation helpful? Give feedback.
All reactions