Installing cuDNN

I’m on step 3 of section 3.2 of this installation guide. Installation Guide :: NVIDIA Deep Learning cuDNN Documentation . My goal is to be able to load the dynamic library cudnn64_8.dll . The instructions say to copy some files into some destination folders. I have the files. But I don’t have the destination folders. Should I create the destination folders such as C:\Program Files\NVIDIA\CUDNN\v8.x\bin or was I supposed to get these folders from somewhere else? To be clear, I don’t even have C:\Program Files\NVIDIA\. I only have C:\Program Files\NVIDIA Corporation and C:\Program Files\NVIDIA GPU Computing Toolkit.
I’m running some TensorFlow code and I get this warning.
2022-10-02 22:39:44.797031: W tensorflow/stream_executor/platform/default/] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
What should I do?


Hi @urkchar ,
Which version of cudnn you are using?
I believe this post should be able to help you.


I solved the issue using miniconda3 to install TensorFlow and most of its requirements. This topic may be closed now. Thank you.

1 Like

I have this exact same problem. What should I do?

I have the same problem. I have installed CUDA Toolkit 11.8. Am trying to install cuDNN Can downlod the file. The instructions ask you to unzip it in the . What Do I create a new folder called NVIDIA|cuDNN\v.8.4.1 in my program files? The instructions are extremely convoluted. I wish someone would post clear instructions. I will try using miconda3. However, do I not need this to be installed and have an environment path for me to use it in Tensorflow 2.10? Thanks


you have to put environment variables in windows.
First create for example a tools folder in C.
Put in cudnn and tensorrt folder separately.
In environment variables windows put in path:
and tensorrt the same

Came here with the same question. Sadly I don’t see an answer that is relevant. If I figure it out, I’ll post the answer. The instructions need to be updated.

I figured out the answer, there is a new name for the folder.

For me, instead of

Copy bin\cudnn*.dll to C:\Program Files\NVIDIA\CUDNN\v8.x\bin.

I had to do

Copy bin\cudnn*.dll to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDNN\v12.x\bin.

This also applies to the ‘include’ and ‘lib’ folder.

If people are curious about my version, I’m on 12.1

I had the same problem and no answer to be found.
So to install cudnn I just use what I have, I have this in my machine “C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\bin” so I used it and it seems like working.

I said it was working as I was able to compile get the darknet.exe based on the steps below

Before I install cudnn, I used to get the error “Could NOT find CUDNN (missing: CUDNN_INCLUDE_DIR CUDNN_LIBRARY)” in the cMake logs.