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

libcudnn - Error #31

Closed
Q-si opened this issue Nov 20, 2024 · 4 comments
Closed

libcudnn - Error #31

Q-si opened this issue Nov 20, 2024 · 4 comments

Comments

@Q-si
Copy link

Q-si commented Nov 20, 2024

When I try to perform a transcription using the Swagger Page API, I get the following 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

Any idea where the problem is and how to solve it?

@jhj0517
Copy link

jhj0517 commented Nov 20, 2024

Trying to update faster-whisper and torch might help:

pip install -U faster-whisper torch torchaudio --extra-index-url https://download.pytorch.org/whl/cu124

( This assumes that you're using CUDA 12.4 ),
This happens because there's a strict version matrix between CTranslate2 and torch : SYSTRAN/faster-whisper#1086

@Q-si
Copy link
Author

Q-si commented Nov 20, 2024

This solved the issue :)
But now, i've got another error: TranscriptionOptions.__new__() missing 1 required positional argument: 'hotwords'
It appears that there is a new parameter "hotwords" that should be added to the Swagger page.

@Q-si
Copy link
Author

Q-si commented Nov 20, 2024

nvidia-smi is showing me Driver Version: 550.120 and CUDA Version: 12.4 . But i am not able to build a Docker Container that works :(
Can someone push a Container to hub.docker.com?

@Q-si
Copy link
Author

Q-si commented Nov 21, 2024

I've added "ctranslate2==4.4.0" at the end of the file requirements.txt
It seems to work now.

@Q-si Q-si closed this as completed Nov 21, 2024
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

2 participants