Added the new default cuDNN installation location to the example paths for later versions of CUDA 12 (new lines 121-123) and added cudnn version 9 to the if-any statement on line 136 (formerly line 133 in the original). I made this after encountering an issue with them while installing with the latest CUDA and cuDNN on Windows. Anecdotally, manually editing path variables in the environment didn't help, only these changes in the code worked. (Sorry if any of this is confusing, I am not a programmer)
Added the new default cuDNN installation location to the example paths for later versions of CUDA 12 (new lines 121-123) and added cudnn version 9 to the if-any statement on line 136 (formerly line 133 in the original). I made this after encountering an issue with them while installing with the latest CUDA and cuDNN on Windows. Anecdotally, manually editing path variables in the environment didn't help, only these changes in the code worked. (Sorry if any of this is confusing, I am not a programmer)