Could not load library cudnn_cnn_infer64_8.dll. Error code 126

We Are Going To Discuss About Could not load library cudnn_cnn_infer64_8.dll. Error code 126. So lets Start this Python Article.

Could not load library cudnn_cnn_infer64_8.dll. Error code 126

  1. How to solve Could not load library cudnn_cnn_infer64_8.dll. Error code 126

    For those still having this issue, please make sure you also have completed this step:

    Download, unzip and add zlibwapi.dll to your system path.
    I wasted half an hour with this so you don't have to do it too. Good luck!

  2. Could not load library cudnn_cnn_infer64_8.dll. Error code 126

    For those still having this issue, please make sure you also have completed this step:

    Download, unzip and add zlibwapi.dll to your system path.
    I wasted half an hour with this so you don't have to do it too. Good luck!

Solution 1

For those still having this issue, please make sure you also have completed this step:

enter image description here

Download, unzip and add zlibwapi.dll to your system path.

I wasted half an hour with this so you don’t have to do it too. Good luck!

Original Author androidu Of This Content

Solution 2

The same “errors” as me. Even though I have re-compiled the tensorflow-gpu 2.6.0 with “Cuda version: 11.5 cuDNN version: 8.3”.
The “errors” disappeared when I changed cudnn version to 8.2 but kept cuda version as 11.5. (Re-compiled is als needed)
So I think this error must on “cuDNN”.

Please See the next answer. It worked perfectly.

Original Author Little Train 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