-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Library libcublas.so.12 is not found #717
Comments
I meet the same error. But my cuda version is 11.8 via command nvcc -V. So why faster-whisper use cuda12? I can also get cuda version 12.2 via nvidia-smi, but as i known it's the driver version which means the latest cuda runtime version support. |
Yea it seems that the latest version of faster-whisper (version 1.0.0) is not compatible with some CUDA versions. I'm using CUDA 11.8 and faced the same problem.
|
From faster-whisper 1.0.0, it requires CUDA 12 as the description here . You need to install CUDA runtime version 12.* . It is no longer compatible with CUDA 11.* . |
` #Add the NVIDIA key for CUDA 12 repositories #Install CUDA 12 runtime and development packages along with libcudnn and libcublas #Install python3, pip, and ffmpeg #Set the working directory in the container #Copy the requirements file and the script to the container #Install Python dependencies above is my docker file, that resolved this issue. |
@minhthuc2502 Please refer to the right place where it mentions the requirements of cuda 12, if it exists. I understand that the release information only added support for Cuda 12. And still, in the README, there is nothing about stopping support for CUDA 11.* So this version (1.0.x) must be fixed to properly use cuda 11.8... |
You can see it in this release note in Ctranslate2. It needs to be more clear in the notes but it was emphasized that this is the major version of Ctranslate2 because of the breaking change when going up to CUDA 12.*. Thank you for your remark. |
Update the silly README: `GPU |
To install CUDA 12 and use the latest |
it's actually insanely broken because it still requires cuDNN 11 but cuBLAS 12, just do a downgrade as @jhj0517 recommended. |
I've been able to use the |
Here's a workaround, which might help for those trying to make it work in Docker. |
ref: SYSTRAN/faster-whisper#717 (comment) - Update PyTorch extra-index-url from cu118 to cu121 in `Dockerfile` - Update PyTorch extra-index-url from cu118 to cu121 in `ubi.Dockerfile` Signed-off-by: 陳鈞 <[email protected]>
install cuda 12 to resolve this issue : https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Debian&target_version=12&target_type=deb_local |
upgrade faster-whisper version 0.10.0 -> 1.0.0
and meet the error: Library libcublas.so.12 is not found or cannot be loaded
operation system version: centos_7_9_x64
cuda version: 12.2
anyone else had the same problem?
The text was updated successfully, but these errors were encountered: