KoljaB / RealtimeSTT

A robust, efficient, low-latency speech-to-text library with advanced voice activity detection, wake word activation and instant transcription.
MIT License
2.09k stars 190 forks source link

Pin ctranslate2 version in requirements.txt #138

Closed jaggzh closed 3 weeks ago

jaggzh commented 3 weeks ago

To resolve a cudnn symbol mismatch: 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

"Here the culprit is ctranslate2. The library was just updated to version 4.5.0, which uses cuDNN 9.2. Downgrading ctranslate to version 4.4.0 is enough to fix the problem" From: https://github.com/m-bain/whisperX/issues/901

KoljaB commented 3 weeks ago

I'm thinking that a hint to the Readme would be the better option rather than fixing the CTranslate version. I don't want to create incompatibilies to other projects that might rely on Ctranslate>4.4.0. This can also be fixed with upgrading cuDNN or manually downgrading ctranslate version.