Install on Windows:
Latest 0.4.0 Version:
On the Pytorch official website https://pytorch.org/Select the corresponding version of the installation, Conda installation is relatively slow, it is recommended to choose PIP installation (although still very slow), of course, can find a good image is also excellent. Install the CPU version of the Cuda at the selected none.
0.3.0 and other previous old versions:
Recommended reference https://www.zhihu.com/question/67209417, with the inside of the image will be faster.
Install on Linux:
Direct PIP Install HTTP://DOWNLOAD.PYTORCH.ORG/WHL/CU80/TORCH-0.2.0.POST3-CP36-CP36M-MANYLINUX1_X86_64.WHL
Change the back directly to the desired version, specific to the official website.
GPU Post-Installation tests:
Some pits:
The following versions of GPU 1080 are installed as 0.3.0 as possible, and the installation of 0.4.0 is not supported on Windows.
Linux/windows gpu/cpu version Pytorch installation