I installed pytorch on AWS ec2 g2 instance ( with cuda 7.5)
Everything runs all right while on CPU,  but when I tried to run on GPU. It threw the message below.
Tried to google the err msg but couldn’t find it
Thanks for any help!



torch.cuda.is_available()
THCudaCheck FAIL file=torch/csrc/cuda/Module.cpp line=108 error=30 : unknown error
Traceback (most recent call last):
File “”, line 1, in 
File “/usr/local/lib/python3.5/dist-packages/torch/cuda/init.py”, line 28, in is_available
return torch._C._cuda_getDeviceCount() > 0
RuntimeError: cuda runtime error (30) : unknown error at torch/csrc/cuda/Module.cpp:108