From 1c2f6a9d8700bb23aa0b826ccab6b65e60de9955 Mon Sep 17 00:00:00 2001 From: Shagun Sodhani Date: Sat, 4 May 2019 12:46:37 -0400 Subject: [PATCH] Fixes an error in instructions for installing previous version of pytorch Fixes #191 --- _get_started/previous-versions.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_get_started/previous-versions.md b/_get_started/previous-versions.md index 4b044d8267cf..b4eeb4ac6de3 100644 --- a/_get_started/previous-versions.md +++ b/_get_started/previous-versions.md @@ -60,11 +60,11 @@ checkout. Download the `whl` file with the desired version via this command (you can replace 1.0.1 with the version you choose): ``` -pip install torch=1.0.1 -f https://download.pytorch.org/whl/cpu/stable # CPU-only build -pip install torch=1.0.1 -f https://download.pytorch.org/whl/cu80/stable # CUDA 8.0 build -pip install torch=1.0.1 -f https://download.pytorch.org/whl/cu90/stable # CUDA 9.0 build -pip install torch=1.0.1 -f https://download.pytorch.org/whl/cu92/stable # CUDA 9.2 build -pip install torch=1.0.1 -f https://download.pytorch.org/whl/cu100/stable # CUDA 10.0 build +pip install torch==1.0.1 -f https://download.pytorch.org/whl/cpu/stable # CPU-only build +pip install torch==1.0.1 -f https://download.pytorch.org/whl/cu80/stable # CUDA 8.0 build +pip install torch==1.0.1 -f https://download.pytorch.org/whl/cu90/stable # CUDA 9.0 build +pip install torch==1.0.1 -f https://download.pytorch.org/whl/cu92/stable # CUDA 9.2 build +pip install torch==1.0.1 -f https://download.pytorch.org/whl/cu100/stable # CUDA 10.0 build ``` Note: most pytorch versions are available only for specific CUDA versions. For example pytorch=1.0.1 is not available for CUDA 9.2