Did you follow the cudnn install guideInstallation Guide :: NVIDIA Deep Learning cuDNN Documentation 5? If so, could you download the cudnn samples and try to build and execute them?
If PyTorch isn’t able to find cudnn, I guess the installation wasn’t successful.