Maybe you can try the following installation commands if you use Anaconda.
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ 7
conda config --set show_channel_urls yes
conda install cuda80 -c soumith
conda install pytorch torchvision
You can use it but the problem is that the pytorch version of the tuan mirror is 0.1.12, while the new version of the pytorch website is 0.2