could not load library cudnn_cnn_infer64_8.dll. error code 126
![could not load library cudnn_cnn_infer64_8.dll. error code 126 2 could not load library cudnncnninfer648dll error code 126](https://i.imgur.com/VYa0lMT.jpg)
How to Fix Error 126 – Could Not Load Library Cudnn_Infer64_8.dll
This error is caused by a problem with the Cudnn C++ library. You need to upgrade your C++ library to a recent version. The latest version of this library is cudnn-11.5-windows-x64-v8.dll. You can download it from here. The following are the steps you need to take in order to fix this error.