I am getting this error I have read forum posts tackling this error message but mine seems to be a different issue.
Running pytorchv1 on cuda 10.0 with cudnn 7.4.1

Traceback (most recent call last):
File “”, line 415, in
File “”, line 373, in main
loss = train(imgL_crop, imgR_crop, disp_crop_L)
File “”, line 298, in train
File “/home/pranay/anaconda3/lib/python3.6/site-packages/torch/”, line 106, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File “/home/pranay/anaconda3/lib/python3.6/site-packages/torch/autograd/”, line 93, in backward
allow_unreachable=True) # allow_unreachable flag
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input.

Hi, can you share your training script in question?

I am afraid I can’t. It would be too long anyway.