This may help

  
      github.com
  
  
    pytorch/pytorch.github.io/blob/master/_data/wizard.yml#L223 40

matcher: 'pip,linux,cudanone,python3.5'
cmd: 'pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp35-cp35m-linux_x86_64.whl <br/> pip3 install torchvision'
-
matcher: 'pip,linux,cuda8,python3.5'
cmd: 'pip3 install http://download.pytorch.org/whl/cu80/torch-0.4.1-cp35-cp35m-linux_x86_64.whl <br/> pip3 install torchvision'
-
matcher: 'pip,linux,cuda9.0,python3.5'
cmd: 'pip3 install torch torchvision'
-
matcher: 'pip,linux,cuda9.2,python3.5'
cmd: 'pip3 install http://download.pytorch.org/whl/cu92/torch-0.4.1-cp35-cp35m-linux_x86_64.whl <br/> pip3 install torchvision'
-
matcher: 'pip,linux,cudanone,python3.6'
cmd: 'pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp36-cp36m-linux_x86_64.whl <br/> pip3 install torchvision'
-
matcher: 'pip,linux,cuda8,python3.6'
cmd: 'pip3 install http://download.pytorch.org/whl/cu80/torch-0.4.1-cp36-cp36m-linux_x86_64.whl <br/> pip3 install torchvision'
-
matcher: 'pip,linux,cuda9.0,python3.6'
cmd: 'pip3 install torch torchvision'
-