Closed federicoalegria closed 1 month ago
downgrade ctranslate2
to 4.4.0
@MahmoudAshraf97 Hey this didn't resolve the issue I'm running into. I saw this thread earlier and implemented it.
i followed the readme as suggested in #261 but got stuck:
model.bin: 100% 1.53G/1.53G [00:36<00:00, 42.1MB/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
Are you using colab? Uf you are using the provided notebook then it was updated to fix this issue, if not then what is your torch and ctranslate2 versions?
yeah, i'm using colab, thanks a lot!
@MahmoudAshraf97 I have also had "This kernel died..." on my first attempt to run the python code from README after following all the installation steps. The script crashed during the step to transcribe the audio. I applied the fix that you recommended in this thread
downgrade
ctranslate2
to4.4.0
At that point, I got this error in python:
RuntimeError: Library cublas64_12.dll is not found or cannot be loaded
On this thread for faster-whisper, I saw the solution to downgrade the faster-whisper version, at which point I got this error in cmd:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. whisperx 3.1.1 requires faster-whisper==1.0.0, but you have faster-whisper 0.10.1 which is incompatible.
And this error in python: TypeError: TranscriptionOptions.new() got an unexpected keyword argument 'max_new_tokens'
I feel like at this point I'm chasing my tail toward a dead-end.
Your problem is not related to faster whisper, but I see that you are probably using an older version if this repo so pull the latest version and the solve the cuda incompatibility with ctranslate2 If it can't find a certain library, make sure that you install it and if it's installed make sure you can find it in PATH
I'm sorry, but I'm still having troubles. I followed the steps in the README exactly and just tried again to run whisperx on a .wav file in command line, where I got this warning and no output
warnings.warn(
Could not locate cudnn_ops64_9.dll. Please make sure it is in your library
path!
Invalid handle. Cannot load symbol cudnnCreateTensorDescriptor
I'm a phd cognitive psychologist by training and am self-trained in coding and data science. This is my first attempt at pulling and using a ML model, so I still have a lot to learn, so apologies for the annoyance. I know you are busy and thank you for being so generous with your time in answering questions. But I really don't know what I don't know yet
Are you using google Colab or running locally?
On Wed, Nov 13, 2024 at 8:39 AM zshawver @.***> wrote:
I'm sorry, but I'm still having troubles. I followed the steps in the README exactly and just tried again to run whisperx on a .wav file in command line, where I got this warning and no output
warnings.warn( Could not locate cudnn_ops64_9.dll. Please make sure it is in your library path! Invalid handle. Cannot load symbol cudnnCreateTensorDescriptor
I'm a phd cognitive psychologist by training and am self-trained in coding and data science. This is my first attempt at pulling and using a ML model, so I still have a lot to learn, so apologies for the annoyance. I know you are busy and thank you for being so generous with your time in answering questions. But I really don't know what I don't know yet
On Wed, Nov 13, 2024 at 9:18 AM Mahmoud Ashraf @.***> wrote:
Your problem is not related to faster whisper, but I see that you are probably using an older version if this repo so pull the latest version and the solve the cuda incompatibility with ctranslate2 If it can't find a certain library, make sure that you install it and if it's installed make sure you can find it in PATH
— Reply to this email directly, view it on GitHub < https://github.com/MahmoudAshraf97/whisper-diarization/issues/260#issuecomment-2473752994>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/AMNJKY3MIXUMM6RMPH7PPLL2ANNSLAVCNFSM6AAAAABQRNKQQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZTG42TEOJZGQ>
. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/MahmoudAshraf97/whisper-diarization/issues/260#issuecomment-2473808310, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJLEPIZKOD3Q5ODHSRIQY732ANQBZAVCNFSM6AAAAABQRNKQQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZTHAYDQMZRGA . You are receiving this because you commented.Message ID: @.***>
--
Running locally.
I realized that I didn't have the cblas and cdnn installs on my machine. My IT installed and added them to path, but I'm still getting this warning in python before the "The kernel died..."
Could not locate cudnn_ops64_9.dll. Please make sure it is in your library path! Invalid handle. Cannot load symbol cudnnCreateTensorDescriptor
On Wed, Nov 13, 2024 at 10:00 AM Khalid @.***> wrote:
Are you using google Colab or running locally?
On Wed, Nov 13, 2024 at 8:39 AM zshawver @.***> wrote:
I'm sorry, but I'm still having troubles. I followed the steps in the README exactly and just tried again to run whisperx on a .wav file in command line, where I got this warning and no output
warnings.warn( Could not locate cudnn_ops64_9.dll. Please make sure it is in your library path! Invalid handle. Cannot load symbol cudnnCreateTensorDescriptor
I'm a phd cognitive psychologist by training and am self-trained in coding and data science. This is my first attempt at pulling and using a ML model, so I still have a lot to learn, so apologies for the annoyance. I know you are busy and thank you for being so generous with your time in answering questions. But I really don't know what I don't know yet
On Wed, Nov 13, 2024 at 9:18 AM Mahmoud Ashraf @.***> wrote:
Your problem is not related to faster whisper, but I see that you are probably using an older version if this repo so pull the latest version and the solve the cuda incompatibility with ctranslate2 If it can't find a certain library, make sure that you install it and if it's installed make sure you can find it in PATH
— Reply to this email directly, view it on GitHub <
https://github.com/MahmoudAshraf97/whisper-diarization/issues/260#issuecomment-2473752994>,
or unsubscribe <
. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHub < https://github.com/MahmoudAshraf97/whisper-diarization/issues/260#issuecomment-2473808310>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJLEPIZKOD3Q5ODHSRIQY732ANQBZAVCNFSM6AAAAABQRNKQQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZTHAYDQMZRGA>
. You are receiving this because you commented.Message ID: @.***>
--
- Khalid I. Rahman
- (360) 701-5546
- LinkedIn https://www.linkedin.com/in/khalidrahmanseattle/
— Reply to this email directly, view it on GitHub https://github.com/MahmoudAshraf97/whisper-diarization/issues/260#issuecomment-2473864340, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNJKY5PJJJAC3FPU4HG2LD2ANSPPAVCNFSM6AAAAABQRNKQQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZTHA3DIMZUGA . You are receiving this because you commented.Message ID: @.***>
@zshawver Use my dockerfile at the bottom of this comment https://github.com/MahmoudAshraf97/whisper-diarization/issues/259#issuecomment-2451116018 Ask chatgpt for steps on how to install this file.
@zshawver did that work for you?
I'm running whisper-diarization on Google Colab (vanilla, no mods); before yesterday, the notebook ran like a charm but i keep getting this message about the session crashing for an unknown reason. Specifically, this happens during the "Transcriping audio using Whisper and realligning timestamps using Wav2Vec2" stage.