Are you sure you are installing the correct package? If you have no NVIDIA GPU you must not install the PyTorch package for CUDA 8.0. For instance, if you are using pip and python 3.6, you should install PyTorch by running:
pip install http://download.pytorch.org/whl/cu75/torch-0.1.12.post2-cp36-cp36m-linux_x86_64.whl