Previous PyTorch Versions | PyTorch
https://pytorch.org/get-started/previous-versionsTo install a previous version of PyTorch via Anaconda or Miniconda, replace “0.4.1” in the following commands with the desired version (i.e., “0.2.0”). Installing with CUDA 9 conda install pytorch=0.4.1 cuda90 -c pytorch or conda install pytorch=0.4.1 cuda92 -c pytorch Installing with CUDA 8 conda install pytorch=0.4.1 cuda80 -c pytorch