Issue with torch.cuda() function
I'm new to PyTorch. It is working when I use gpu running my program with TensorFlow. But this is a problem with PyTorch.
I search a lot, but cannot find any useful answer. Who can help me?
Error:

My environment:

windows10 64bit
python3.6
cuda9.0
cudnn64
gpu:GTX965m


As you can see for yourself in the release notes here, the PyTorch developers have decided to deprecate compute capability 3.0 and 5.0 devices from their builds starting with PyTorch 0.3.1.
Your device is a compute 5.0 device and is, therefore, not supported in the most recent versions of PyTorch.
You can read about what alternatives are open to you here (basically use an older version of PyTorch, or build your own from source with support for your GPU).
