-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Could not load library libcudnn_ops_infer.so.8. on newest version. #967
Comments
pip install ctranslate2==3.22.0 | Seems to fix it for now, other versions may work havent tested. |
@OPPEYRADY Having same issue here. Isn't whisperx 3.2.0 depend on ctranslate 4.4.0? |
Sitll getting same error environments/ai_venv/lib/python3.10/site-packages/pyannote/audio/utils/reproducibility.py:74: ReproducibilityWarning: TensorFloat-32 (TF32) has been disabled as it might lead to reproducibility issues and lower accuracy.
warnings.warn( after install ctranslate2==3.22.0 I got this error |
Latest whisperx version requires |
Installed it almost 1:1 to the page says as closely as possible, only thing I modified is I forced ctranslate to be down and it loaded and works normally for my case, reinstalled WSL2 multiple times, and even tried switching distros, very odd indeed! As for warnings, I ignored them and it still worked, albeit it annoying. conda install pytorch==2.3.1 torchaudio==2.3.1 pytorch-cuda=11.8 -c pytorch -c nvidia is also what I used as well that may differ from the default. |
@Barabazs Does ctranslate2==4.4.0 prevent this issue? I think it is rather creating an issue.. I am using python 3.11.9 and cuda ver.12.6 Any possible solutions for this? |
Can you try reinstalling whisperx in a clean environment and post the output of |
Sure thing, I created a dummy environment and followed the readme This one is for pip install whisperx, please wait while I get the developer one. pip list
|
Yes, see: SYSTRAN/faster-whisper#729 There are also a bunch of other troubleshooting steps you can try from that issue thread. Perhaps loosening the restriction might help too. In a fresh environment, try: Please report back if it works and if not, post the console output of the installation. |
Yes, try installing from the repo directly please. And if you have some time, also try my suggestion to install |
pip list
|
TensorFloat-32 (TF32) has been disabled as it might lead to reproducibility issues and lower accuracy.
warnings.warn( Error has not changed it seems. pip list
|
If needed, I can show one that does for some reason work, and its pip list. I accidentally broke mine while testing these and it worked from a fresh install, so it may be useful. |
Yes that could be helpful, thanks! It's a weird dependency issue, and seems to only apply to some configurations... For those that still have issues, there are also successful workaround described here: SYSTRAN/faster-whisper#516 |
(WORKS ON MY SYSTEM) (yaml)
conda env create -f ./yaml/transcriptionwsl2.yaml Changed pytorch versionsconda install pytorch==2.3.1 torchaudio==2.3.1 pytorch-cuda=11.8 -c pytorch -c nvidia This is just for my server lelpip install flask==3.0.3 This is where I hot replace ctranslate and it corrects the lib error for some reason?pip install ctranslate2==3.22.0 pip list
|
Thanks, the issue got resolved. @OPPEYRADY Whisperx was working fine for me , but when i cloned my project to new system and installed requirements , it was giving me that error (Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory , Aborted (core dumped) ). I tried everything it was not able to get it working. I followed you instructions and its working fine now.
(earlier i was doing 3.pip install imageio[ffmpeg]
i didnt do pip install ctranslate2==3.22.0, its working fine without it. My pip list
|
Thanks @Rana-Tigrina, this has worked for me today on Ubuntu 24 with Python 3.12 and CUDA 12.6: python3 -m venv whisperx && cd whisperx
./bin/pip install torch==2.3.1 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu118
./bin/pip install git+https://github.com/m-bain/whisperx.git |
Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory
Aborted (core dumped)
No matter what I try, doesn't seem to recognize libcudnn anymore and crashes every single time when following the readme.
On anaconda, WSL2 python 1.10
The text was updated successfully, but these errors were encountered: