Closed sijitang closed 1 month ago
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, but the WhisperX repository is largely unmaintained at the moment, so I suggest swithing to a maintained fork (https://github.com/federicotorrielli/BetterWhisperX)
TLDR:
%%capture
!pip install git+https://github.com/Hasan-Naseer/whisperX.git@release/latest-faster-whisper-version
!pip install ctranslate2==4.4.0
OR
%%capture
!pip install git+https://github.com/federicotorrielli/BetterWhisperX
这里的罪魁祸首是 ctranslate2。该库刚刚更新到版本 4.5.0,它使用 cuDNN 9.2。 将 ctranslate 降级到版本 4.4.0 足以解决问题,但 WhisperX 存储库目前基本无人维护,因此我建议切换到维护的分支(https://github.com/federicotorrielli/BetterWhisperX)
总结:
%%capture !pip install git+https://github.com/Hasan-Naseer/whisperX.git@release/latest-faster-whisper-version !pip install ctranslate2==4.4.0
You're absolutely right! Running pip install ctranslate2==4.4.0 worked perfectly and solved the issue that had been bothering me all afternoon. Thank you so much!
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, but the WhisperX repository is largely unmaintained at the moment, so I suggest swithing to a maintained fork (https://github.com/federicotorrielli/BetterWhisperX)
TLDR:
%%capture !pip install git+https://github.com/Hasan-Naseer/whisperX.git@release/latest-faster-whisper-version !pip install ctranslate2==4.4.0
Thank you so much!
Thank you for this fix @federicotorrielli - heads up when I tried executet my whisperx flow after a pip install with your github link (!pip install git+https://github.com/federicotorrielli/BetterWhisperX) I got an error regarding a missing hotwords argument. It looks like this is a new feature that you've added support for but I don't see any instructions on the implementation in your fork. Hope this helps!
wow, just my luck. struggled with this issue for last 2 days, and was doing down the path chasing cudnn_cnn legacy libraries and dependencies.. Thx to @federicotorrielli and @Hasan-Naseer
Thank you for this fix @federicotorrielli - heads up when I tried executet my whisperx flow after a pip install with your github link (!pip install git+https://github.com/federicotorrielli/BetterWhisperX) I got an error regarding a missing hotwords argument. It looks like this is a new feature that you've added support for but I don't see any instructions on the implementation in your fork. Hope this helps!
I too am getting this error about missing hotwords argument. Please resolve this, that would be of great help.
Thank you for this fix @federicotorrielli - heads up when I tried executet my whisperx flow after a pip install with your github link (!pip install git+federicotorrielli/BetterWhisperX) I got an error regarding a missing hotwords argument. It looks like this is a new feature that you've added support for but I don't see any instructions on the implementation in your fork. Hope this helps!
I too am getting this error about missing hotwords argument. Please resolve this, that would be of great help.
It's not an error, it's a warning. The new version of faster-whisper uses hotwords but I decided not to implement the feature right now. It still works as intended, do not worry.
Thank you for this fix @federicotorrielli - heads up when I tried executet my whisperx flow after a pip install with your github link (!pip install git+federicotorrielli/BetterWhisperX) I got an error regarding a missing hotwords argument. It looks like this is a new feature that you've added support for but I don't see any instructions on the implementation in your fork. Hope this helps!
I too am getting this error about missing hotwords argument. Please resolve this, that would be of great help.
It's not an error, it's a warning. The new version of faster-whisper uses hotwords but I decided not to implement the feature right now. It still works as intended, do not worry.
When I ran my pipeline it gave an error. Not being familiar with hotwords I didn't know how to debug and reverted to the original whisperX github that I had been utilizing with the suggested temporary workaround.
Thank you for this fix @federicotorrielli - heads up when I tried executet my whisperx flow after a pip install with your github link (!pip install git+federicotorrielli/BetterWhisperX) I got an error regarding a missing hotwords argument. It looks like this is a new feature that you've added support for but I don't see any instructions on the implementation in your fork. Hope this helps!
I too am getting this error about missing hotwords argument. Please resolve this, that would be of great help.
It's not an error, it's a warning. The new version of faster-whisper uses hotwords but I decided not to implement the feature right now. It still works as intended, do not worry.
When I ran my pipeline it gave an error. Not being familiar with hotwords I didn't know how to debug and reverted to the original whisperX github that I had been utilizing with the suggested temporary workaround.
Unfortunately I cannot reproduce the error without further explanations...
Same trouble here on new implementation. We should maxout faster-whisper version
Thank you for this fix @federicotorrielli - heads up when I tried executet my whisperx flow after a pip install with your github link (!pip install git+federicotorrielli/BetterWhisperX) I got an error regarding a missing hotwords argument. It looks like this is a new feature that you've added support for but I don't see any instructions on the implementation in your fork. Hope this helps!
I too am getting this error about missing hotwords argument. Please resolve this, that would be of great help.
It's not an error, it's a warning. The new version of faster-whisper uses hotwords but I decided not to implement the feature right now. It still works as intended, do not worry.
When I ran my pipeline it gave an error. Not being familiar with hotwords I didn't know how to debug and reverted to the original whisperX github that I had been utilizing with the suggested temporary workaround.
Unfortunately I cannot reproduce the error without further explanations...
Here is a simple way to do it: run the code on a Colab instance. Watch the instance crash and burn. Really! Not an error, but a crash that results in a runtime reset.
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