Hiperdyne19012:

But torch::cuda::cudnn_is_available() is showing false.
Strangely, using Python3 import torch, its says cuda available is true.


While CUDA seems to be available, cudnn doesn’t seem to be shipped in the binary.
I’m not sure, if there is a typo in your post or if you are checking different libs in C++ and Python.