Langchain-Chatchat icon indicating copy to clipboard operation
Langchain-Chatchat copied to clipboard

[BUG] 运行的时候报错ImportError: libcudnn.so.8: cannot open shared object file: No such file or directory

Open hopeforus opened this issue 2 years ago • 3 comments

问题描述 / Problem Descriptionraceback (most recent call last): File "webui.py", line 4, in from chains.local_doc_qa import LocalDocQA File "/home/hope/work/langchain-ChatGLM/chains/local_doc_qa.py", line 4, in from configs.model_config import * File "/home/hope/work/langchain-ChatGLM/configs/model_config.py", line 1, in import torch.cuda File "/home/hope/miniconda3/envs/langchain/lib/python3.8/site-packages/torch/init.py", line 229, in from torch._C import * # noqa: F403 ImportError: libcudnn.so.8: cannot open shared object file: No such file or directory

hopeforus avatar May 12 '23 01:05 hopeforus

cuda 11.6 我本来能运行的,重新安装langchain_chatGLM 就不行了

hopeforus avatar May 12 '23 01:05 hopeforus

可以检查一下pytorch版本是否和驱动版本匹配

hopeforus @.***>于2023年5月12日 周五09:26写道:

cuda 11.6 我本来能运行的,重新安装langchain_chatGLM 就不行了

— Reply to this email directly, view it on GitHub https://github.com/imClumsyPanda/langchain-ChatGLM/issues/324#issuecomment-1544972938, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5ESCPYSQQCCCSJOMTULXFWGTZANCNFSM6AAAAAAX63SX7E . You are receiving this because you are subscribed to this thread.Message ID: @.***>

imClumsyPanda avatar May 12 '23 02:05 imClumsyPanda

谢谢!可以了

hopeforus avatar May 12 '23 03:05 hopeforus