Cuda runtime error (30)

File “/home/ka/.local/lib/python3.6/site-packages/torch/cuda/”, line 179, in _lazy_init
RuntimeError: cuda runtime error (30) : unknown error at /pytorch/aten/src/THC/THCGeneral.cpp:50

pytorch 1.2.0
cuda 9.2
python 3.6

Thanks in advance

Could you answer these questions to make debugging a bit easier:

  • Which GPU and NVIDIA driver are you using?
  • Was PyTorch working before?
  • What does nvidia-smi output?

GeForce GTX 1080

Yes earlier it used to work.

Driver Version: 396.54