Skip to content
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 locate cudnn_ops_infer64_8.dll. Please make sure it is in your library path! #899

Open
YoungPhlo opened this issue Oct 16, 2024 · 2 comments

Comments

@YoungPhlo
Copy link

Command:

whisperx "audio/test.mp3" --model "large-v3" --language "en"

Error:

Could not locate cudnn_ops_infer64_8.dll. Please make sure it is in your library path!

Took a look in .venv\Lib\site-packages\torch\lib and saw cudnn_ops_infer64_9.dll instead of cudnn_ops_infer64_8.dll

I originally used these commands to set up whisperX today:

py -3.10 -m venv venv
.\venv\Scripts\python.exe -m pip install --upgrade pip wheel setuptools
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
pip install git+https://github.com/m-bain/whisperx.git

After seeing the error I ran:

pip uninstall torch torchaudio torchvision
pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu121

and cudnn_ops_infer64_8.dll is in torch so the original command runs now

- Operating System
OS Name:         Microsoft Windows 10 Pro
Version:         10.0.19045
Build:           19045

- Environment
PowerShell:      5.1.19041.5007
Python:          3.10.11
Git:             2.41.0.windows.1
Node.js:         20.15.1
@DaddyCodesAlot
Copy link

It could be the new ctranslate2 update that bonked things. Downgrading ctranslate2 fixed this issue for me.

I just used this command:
pip install ctranslate2==4.4.0

@Leandrocnf
Copy link

It could be the new ctranslate2 update that bonked things. Downgrading ctranslate2 fixed this issue for me.

I just used this command: pip install ctranslate2==4.4.0

I had a different issue, but it was solved using this same command. Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants