RuntimeError: cuda runtime error (30) : unknown error at ..\aten\src\THC\THCGeneral.cpp:87

Hello, I’m new with PyTorch. I have a laptop with GTX950M and CUDA v10.0 correctly installed.
I am using pytorch v1.0.1 installed via pip (torch + torchvision) getting started with the tutorials provided by the official site.
When i try to run via jupyter notebook the cifar10_tutorial.ipynb, I get
the following error when i try to move the nn to my GPU:
RuntimeError: cuda runtime error (30) : unknown error at …\aten\src\THC\THCGeneral.cpp:87

I already tried to reinstall both cuda and torch, the strange fact is that the first tutorial (tensor_tutorial.ipynb), gives me no error when I try to move a tensor to the GPU.

1 Like

My case is exactly like yours, except I have a GTX960M, I reinstalled the Cuda 9.0 and problem still persists