I’m having the same issue appearing under different circumstances: it happens only when I try to run a script from the terminal using CUDA. If I don’t the script runs fine.
I am running:
pytorch 1.4.0 py3.7_cuda10.1.243_cudnn7.6.3_0
Linux 5.6.13