Skip to content

faster-whisper: Could not locate cudnn_ops64_9.dll. Please make sure it is in your library path! Invalid handle. Cannot load symbol cudnnCreateTensorDescriptor #835

@ViSzKe

Description

@ViSzKe

Steps to reproduce

import speech_recognition as sr
recognizer = sr.Recognizer()
mic = sr.Microphone()

with mic as source:
        audio = recognizer.listen(source)

whisper_model = "turbo"
command = recognizer.recognize_faster_whisper(audio, model=whisper_model)

Expected behaviour

I expect command == [transcribed speech]
It does work with command = recognizer.recognize_google(audio) and even command = recognizer.recognize_whisper(audio, model=whisper_model)

Actual behaviour

INFO:faster_whisper:Processing audio with duration 00:02.368
Could not locate cudnn_ops64_9.dll. Please make sure it is in your library path!
Invalid handle. Cannot load symbol cudnnCreateTensorDescriptor

System information

My system is Windows 11.

My Python version is 3.12.9.

My Pip version is 24.3.1.

My SpeechRecognition library version is 3.14.2. (You can check this by running python -c "import speech_recognition as sr;print(sr.__version__)".)

My PyAudio library version is 0.2.14 .

My microphone is: Logitech G733 headset.

My working microphone is: Logitech G733 headset.

I have not installed PocketSphinx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions