-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libcudnn_cnn problem #1182
Comments
after setup LD_LIBRARY_PATH, program run correctly.
It's should be correctly setup automatically! |
Same thing via google colab !pip install ctranslate2==4.4.0 helps, but not sure 100% |
If you are using a virtual environment, following the example below may solve your problem.
If you are using it as a Docker image...
|
I ran into the same issue: Unable to load any of {libcudnn_ops.so.9.1.0, libcudnn_ops.so.9.1, libcudnn_ops.so.9, libcudnn_ops.so} Running the following command solved it for me: conda install -c nvidia/label/cuda-12.4.0 cudnn My setup:
Installing cuDNN via Conda resolved the problem. Update:If you are using faster-whisper with docker, using this docker image from nvidia solved my issue: FROM nvidia/cuda:12.4.1-cudnn-runtime-ubuntu22.04 It has the right version of cudnn pre compiled for the cuda version I am using. Check for your version here. Update 2:If you are using conda envs, sometimes torch is not loading the right version of the cuDNN, giving: cuDNN failed with status CUDNN_STATUS_SUBLIBRARY_VERSION_MISMATCH what solved for me is: export LD_LIBRARY_PATH="$CONDA_PREFIX/lib:$LD_LIBRARY_PATH" so that you force torch to load the right cuDNN version. |
ctranslate2==4.5.0
torch==2.5.1
faster-whisper==1.1.0
The text was updated successfully, but these errors were encountered: