Could not load library cudnn_cnn_infer64_8.dll. Error code 126 Please make sure cudnn_cnn_infer64_8.dll is in your library path

Solution 1:

solved it in my path i needed to add the directory of zlibwapi.dll not zlibwapi.dll itself