problem cudnn_ops_infer64_8.dll
Thank you so much for this wonderful softer, unfortunately I have a problem whether I use wsl or powershel ubunto 2.24 in win11 gpu rtx 3060 12gb cpu r5 7600 32gb "cudnn_ops_infer64_8.dll is in your library path" or reinstalled and cleaned various cuda: cuda1.8, cuda2.5 cuda2.6, cleaned and reinstalled sonitraslate dozens of times, but it always gives me the same error, on the internet they say that cdnn di cuda 1.8 can create this problem, if you can help me I thank you.
This in win 11 Powershell
To create a public link, set share=True in launch().
[INFO] >> Content in 'outputs' removed.
[INFO] >> Cache flushed
[INFO] >> Processing video...
[INFO] >> Video codec: hevc
[INFO] >> Process video...
[INFO] >> Process audio...
[INFO] >> Content in '.\clean_song_output' removed.
[INFO] >> Vocal Track Isolation and Voiceless Track Separation...
Could not load library cudnn_ops_infer64_8.dll. Error code 126
Please make sure cudnn_ops_infer64_8.dll is in your library path!
(sonitr) PS C:\Users\roy00\SoniTranslate>
https://stackoverflow.com/questions/66977227/could-not-load-dynamic-library-libcudnn-so-8-when-running-tensorflow-on-ubun
I solved in wsl Ubuntu 22.04 using
sudo apt install nvidia-cudnn
the problem remains in powershell win11
First of all very Thanks to make this project and make it open source!!
-----------<<<<<<<<<<
Hey! can anyone help me This same issue happens with me Here is what the issue is
[INFO] >> Content in 'outputs' removed. [INFO] >> Cache flushed [INFO] >> Processing video... [INFO] >> Video codec: h264 [INFO] >> Process video... [INFO] >> Process audio... [INFO] >> Transcribing... Suppressing numeral and symbol tokens Could not load library cudnn_ops_infer64_8.dll. Error code 126 Please make sure cudnn_ops_infer64_8.dll is in your library path!
hello in windows I found the file in old cuda 11.4 that I had installed a few years ago on another pc and there was this file cudnn_ops_infer64_8.dll, the problem is that downloading cuda 11.4 today, those files were not there, I solved it using those files and copied them into cuda 11.8 without overwriting the existing files in cuda 11.8 and it's working. I'm not an expert at all, but it seems to me that it could have something to do with how the various versions of cuda work together with the various versions of MSVC of windows, https://www.tensorflow.org/install/source_windows?hl=it#gpu , my advice in windows is to install wsl ubunto, that the problem is solved simply by installing with this command "sudo apt install nvidia-cudnn", this is what I know waiting for someone to help us.
ha... if you decide to install wsl for sonitraslate you must remember to increase the "swap" memory to at least 20-30gb, by default it is 4gb, if you don't know how to do it, ask chatgpt, I did it like this, otherwise with longer films you will have memory problems.
On windows: Download https://developer.nvidia.com/rdp/cudnn-archive#a-collapse811-111 -> Download cuDNN v8.9.3 (July 11th, 2023), for CUDA 11.x
Unzip the files in your Toolkit bin folder ( e.g C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin )
@Roy-Bertoli Hey , Thanks ! after this Right now its working on GPU-CPU balanced mode. before it only worked in CPU mode
Furywanderer, great, but I didn't understand if you solved it using windows or wsl?
MartinForsterNL, grazie dell'aiuto.
@Roy-Bertoli actully before it works well on cpu mode using windows and it said out of memory issue! and after wsl it works well in both mode i mean synchronized mode..
I have the same problem
how to solve on windows
Installing cuDNN for SoniTranslate on Windows 11
To get SoniTranslate working with cuDNN on your Windows 11 machine, follow these steps:
-
Install cuDNN 9.4.0:
- Visit the NVIDIA cuDNN download page:
https://developer.nvidia.com/cudnn-downloads - Download the cuDNN 9.4.0 installer for Windows 11.
- Run the installer.
- Visit the NVIDIA cuDNN download page:
-
Set up Environment Variables:
- Make sure all command prompt or PowerShell windows are closed.
- Add the cuDNN bin folder path (
C:\Program Files\NVIDIA\CUDNN\v9.4\bin) to your Windows System Environment Variables.
-
Incorporate cuDNN 8.9.7:
- Download the cuDNN 8.9.7 archive:
https://developer.nvidia.com/rdp/cudnn-archive(Look for "cuDNN v8.9.7 (December 5th, 2023), for CUDA 12.x --> Local Installer for Windows (Zip)") - Extract the contents of the downloaded zip file into the cuDNN 9.4.0 bin folder (
C:\Program Files\NVIDIA\CUDNN\v9.4\bin).
- Download the cuDNN 8.9.7 archive:
-
Launch SoniTranslate:
- Open PowerShell and start SoniTranslate.
Important Note: This method has been tested and confirmed to work.
Alternative with pip (conda environment):
If you're working within a conda environment, you might try this pip installation:
pip install nvidia-cublas-cu11 nvidia-cudnn-cu11
(Note: This method hasn't been tested.)
I hope this helps! Let me know if you have any other questions.
@Hackinside Thank you so much for your detailed and step-by-step method. The first one worked for me too.
@Hackinside Thank you, this was the fix for me