diff --git a/_get_started/previous-versions.md b/_get_started/previous-versions.md index e654b5cb6cba..138deac76804 100644 --- a/_get_started/previous-versions.md +++ b/_get_started/previous-versions.md @@ -17,6 +17,57 @@ your convenience. ## Commands for Versions >= 1.0.0 +### v1.6.0 + +#### Conda + +##### OSX + +``` +# conda +conda install pytorch==1.6.0 torchvision==0.7.0 -c pytorch +``` + +##### Linux and Windows + +``` +# CUDA 9.2 +conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=9.2 -c pytorch + +# CUDA 10.1 +conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.1 -c pytorch + +# CUDA 10.2 +conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.2 -c pytorch + +# CPU Only +conda install pytorch==1.6.0 torchvision==0.7.0 cpuonly -c pytorch +``` + +#### Wheel + +##### OSX + +``` +pip install torch==1.6.0 torchvision==0.7.0 +``` + +##### Linux and Windows + +``` +# CUDA 10.2 +pip install torch==1.6.0 torchvision==0.7.0 + +# CUDA 10.1 +pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html + +# CUDA 9.2 +pip install torch==1.6.0+cu92 torchvision==0.7.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html + +# CPU only +pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html +``` + ### v1.5.1 #### Conda diff --git a/_includes/quick_start_local.html b/_includes/quick_start_local.html index 43e20cdc0797..0504774020a9 100644 --- a/_includes/quick_start_local.html +++ b/_includes/quick_start_local.html @@ -1,5 +1,5 @@

Select your preferences and run the install command. Stable represents the most currently tested and supported version of PyTorch. This should - be suitable for many users. Preview is available if you want the latest, not fully tested and supported, 1.7 builds that are generated nightly. + be suitable for many users. Preview is available if you want the latest, not fully tested and supported, 1.8 builds that are generated nightly. Please ensure that you have met the prerequisites below (e.g., numpy), depending on your package manager. Anaconda is our recommended package manager since it installs all dependencies. You can also install previous versions of PyTorch. Note that LibTorch is only available for C++. @@ -33,7 +33,7 @@

PyTorch Build
-
Stable (1.6.0)
+
Stable (1.7.0)
Preview (Nightly)