Sometimes CUDNN_STATUS_EXECUTION_FAILED can result when there is a mismatch between the bare-metal Cuda toolkit version and the version used to compile your Pytorch binaries.  Can you list the following:
$ nvcc --version
$ python
 >>> import torch
 >>> torch.version.cuda # this tells you the version of cuda that was used to compile your pytorch binary