Could not load dynamic library ‘cudnn64_8.dll’; dlerror: cudnn64_8.dll not found

We Are Going To Discuss About Could not load dynamic library ‘cudnn64_8.dll’; dlerror: cudnn64_8.dll not found. So lets Start this Python Article.

Could not load dynamic library ‘cudnn64_8.dll’; dlerror: cudnn64_8.dll not found

  1. How to solve Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found

    I think I can help you with providing a cudnn64_8.dll file (this is the download link: https://www.dll-files.com/cudnn64_8.dll.html). When you get the file, you can just put in your bin directory. For example, usually in windows platform, you can put it into C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\bin.

  2. Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found

    I think I can help you with providing a cudnn64_8.dll file (this is the download link: https://www.dll-files.com/cudnn64_8.dll.html). When you get the file, you can just put in your bin directory. For example, usually in windows platform, you can put it into C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\bin.

Solution 1

I think I can help you with providing a cudnn64_8.dll file (this is the download link: https://www.dll-files.com/cudnn64_8.dll.html). When you get the file, you can just put in your bin directory. For example, usually in windows platform, you can put it into C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\bin.

Original Author Billy Luo Of This Content

Solution 2

The missing dll file is located in the cuDNN folder. I was able to resolve the issue by copying the cudnn64_8.dll file to the CUDA folder, i.e., C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin.

cuDNN is listed as a requirement for tensorflow to work and you can download it here. You need to register a developer account first though.

Original Author P1NHE4D Of This Content

Solution 3

watch this video to solve this problem,
this file not found error arises due to the missing of Microsoft visual studio C++ reproducible file in the CUDA folder.
additional;
with the PyTorch in conda environment, there is no addition CUDA and Cudnn installation, because after type conda install pytorch, conda installs both CUDA and cudnn into that conda environment.

Original Author nipun Of This Content

Solution 4

I just had this issue as well after following all of the installation instructions for CuDNN. The root cause of the problem is very simple. In the installation instructions, it tells you to add <root>\NVIDIA\CUDNN\v8.x to your PATH. At least for Tensorflow, this happens to be wrong. You need to add <root>\NVIDIA\CUDNN\v8.x\bin to your PATH. That should fix the problem. It did for me.

I see a couple answers talking about moving the cudnn64_8.dll file to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin. The reason why this works is that CUDA automatically adds that bin directory to your PATH when you install it. So, moving the cudnn64_8.dll there effectively adds it to your PATH.

I’d rather keep things in their proper location so I like this way more.

Original Author Sintrias Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

ittutorial team

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment