Start Locally

Select your preferences and run the install command. Please ensure that you are on the latest pip and numpy packages. Anaconda is our recommended package manager. You can also install previous versions of PyTorch.

Your OS
Package
Python
Cuda
Run this Command:
Your OS
Linux
Mac
Windows
Package
Conda
Pip
Source
Python
2.7
3.5
3.6
3.7
Cuda
8.0
9.0
9.2
None
Run this Command:
conda install pytorch torchvision -c pytorch