Faster Whisper: Could not load library cudnn

Hi there,

I’ve installed Whisper from OpenAI and it works. I then installed Faster Whisper, it worked, and then tried WhisperX, which broke my machine. Now I get the following error:
Could not load library cudnn_cnn_infer64_8.dll. Error code 126
Please make sure cudnn_cnn_infer64_8.dll is in your library path!

I have reinstalled NVIDIA CUDA and CUDNN, and tried to check my env. path but it remains broken. Total noob when it comes to anything Python, Cuda |& Whisper. I can barely follow the guides.

Can anyone pretty please with sugar on top help me? I am absolutely lost.

The problem was cuda 12 & cudnn 8.9.1. I installed cuda 11.2 and cudnn 8.1 and everything worked out of the box: python - TensorFlow Error Could not load library cudnn_cnn_infer64_8.dll. Error code 193 Please make sure cudnn_cnn_infer64_8.dll is in your library path - Stack Overflow