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

Invalid handle error when using Colab page #18

Closed
jastrayy opened this issue Oct 27, 2024 · 2 comments
Closed

Invalid handle error when using Colab page #18

jastrayy opened this issue Oct 27, 2024 · 2 comments

Comments

@jastrayy
Copy link

Great tool and I've used it to transcribe a few videos already. When following the same steps to generate subs today, I'm getting this error:

Transcribing...
Detected Language: japanese
Transcribing with faster-whisper (large-v3)...
Transcribe:   0% 0/13038.21 [00:00<?, ?sec/s]Unable to load any of {libcudnn_ops.so.9.1.0, libcudnn_ops.so.9.1, libcudnn_ops.so.9, libcudnn_ops.so}
Invalid handle. Cannot load symbol cudnnCreateTensorDescriptor
@kanjieater
Copy link
Owner

kanjieater commented Oct 27, 2024

Try !pip install ctranslate2==4.4.0

People have been running into this recently with whisper related projects, and I'm not really sure why. This fixed it for people in TheMoeWay SubPlz thread linked in the readme

Source:
SYSTRAN/faster-whisper#1086

@jastrayy
Copy link
Author

Thank you! Adding that line helped to get it working again.

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