linux平台 GPU版本:
pip install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp36-cp36m-manylinux1_x86_64.whl
linux平台 CPU版本:
pip install http://download.pytorch.org/whl/torch-0.2.0.post3-cp36-cp36m-manylinux1_x86_64.whl
mac平台 CPU版本:
pip install http://download.pytorch.org/whl/torch-0.2.0.post3-cp36-cp36m-macosx_10_7_x86_64.whl
PS: 更改python的版本就直接改数字即可,比如36改为27。另外,3.6版本是cp36m,而2.7版本是cp27mu。