it is because you have installed the CUDA 7.5 version i think (and you have a pascal GPU).
Install the CUDA 8.0 version of pytorch 0.2.0 using the commands from http://pytorch.org 4 and see if that fixes it.