[Issue]: Could not load library libcudnn_cnn_infer.so.8. #540
Replies: 7 comments 12 replies
-
this is a torch issue, not an issue with the repo. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue on Ubuntu 22.04. I found the answer at https://www.tensorflow.org/install/pip I did the following to get this installed using conda
|
Beta Was this translation helpful? Give feedback.
-
I'm on Arch and unfortunately the above solution didn't work for me. Whenever I hit generate I get This only happens with vlad, btw, not automatic or any other webui. |
Beta Was this translation helpful? Give feedback.
-
I found two solutions: I follow first one, it solve my problems. |
Beta Was this translation helpful? Give feedback.
-
In my case, I did not have installed nvcc driver. |
Beta Was this translation helpful? Give feedback.
-
This worked for me:
|
Beta Was this translation helpful? Give feedback.
-
Just a note: vast.ai machine was Ubuntu 22.04 x84_64 machine. And I tested it for this machine only. Here is what helped me:
sudo apt install nvidia-cuda-toolkit
It is not trivial to install version 8! Official Website So, you would need to go to archive and submit your request for version 8. After that, you will get a file called Here is how you install it: sudo dpkg -i cudnn-local-repo-ubuntu2204-8.9.7.29_1.0-1_amd64.deb
sudo cp /var/cudnn-local-repo-ubuntu2204-8.9.7/cudnn-local-*.gpg /usr/share/keyrings/ Maybe you would also need to do that: sudo apt-get update
sudo apt-get install --reinstall libcudnn8 libcudnn8-dev libcudnn8-samples
ls /usr/lib/x86_64-linux-gnu/libcudnn* | grep libcudnn_ops_infer.so.8
ls /usr/lib/x86_64-linux-gnu/libcudnn* | grep libcudnn_cnn_infer.so.8 |
Beta Was this translation helpful? Give feedback.
-
Issue Description
Just did a clean install parallel to auto1111, but somehow I can't generate anything and I'm always getting the following error:
Could not load library libcudnn_cnn_infer.so.8. Error: libnvrtc.so: cannot open shared object file: No such file or directory
Version Platform Description
Ubuntu 22.04
Beta Was this translation helpful? Give feedback.
All reactions