pytorch.github.io icon indicating copy to clipboard operation
pytorch.github.io copied to clipboard

Fix some previous versions installation instructions

Open Caenorst opened this issue 2 years ago • 5 comments

Fixed some installation instructions down from 1.11.0 to 1.8.1

I didn't test those lines but I checked all the repositories manually:

  • https://download.pytorch.org/whl/torch/
  • https://anaconda.org/conda-forge/pytorch/files
  • https://anaconda.org/pytorch/pytorch/files
  • https://download.pytorch.org/whl/torchvision/
  • https://anaconda.org/conda-forge/torchvision/files
  • https://anaconda.org/pytorch/torchvision/files

Summary:

  • Added some cuda version missing (mostly 11.0 and 11.2 from conda-forge)
  • Added installation instructions for torch==1.10.2
  • Fix some repository that are wrongly assigned (example: pytorch==1.10.0 with cuda 11.3 doesn't have any file in conda-forge)
  • removed installation instruction for ROCM 4.0.1 since there is no torchvision with this version on https://download.pytorch.org/whl/torchvision/
  • Remove mismatch torch / cuda (example: torch==1.9.0 doesn't have a cuda==11.3)

Caenorst avatar Jul 21 '22 20:07 Caenorst

Hi @Caenorst!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

facebook-github-bot avatar Jul 21 '22 20:07 facebook-github-bot

Deploy Preview for pytorch-dot-org-preview processing.

Name Link
Latest commit 281c382f7719533ea2663ad47933676c785c9fe0
Latest deploy log https://app.netlify.com/sites/pytorch-dot-org-preview/deploys/62d9bc9ffba1c6000851d8b4

netlify[bot] avatar Jul 21 '22 20:07 netlify[bot]

@Caenorst Did you verify all install commands? E.g. running this in a new and clean environment:

conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.0 -c conda-forge

I get:

PackagesNotFoundError: The following packages are not available from current channels:

  - torchaudio==0.11.0

Removing torchaudio tries to install the CPU-only binaries:

conda install pytorch==1.11.0 torchvision==0.12.0 cudatoolkit=11.0 -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: done
...
    pytorch-1.11.0             |cpu_py38h39c826d_2        49.7 MB  conda-forge
    tbb-2021.5.0               |       h924138e_1         1.9 MB  conda-forge
    torchvision-0.12.0         |cpu_py38hc1c71b3_0         7.5 MB  conda-forge

ptrblck avatar Jul 25 '22 22:07 ptrblck

I actually haven't tested them all since installing pytorch take quite some time, but I tried to verify the existence of the wheels in the repository, unfortunately for some reason torchaudio on conda-forge is private.

I'm gonna reduce the PR to what i've been testing (and to what I've noticed is wrong in the current recommendations)

Caenorst avatar Jul 27 '22 01:07 Caenorst

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

facebook-github-bot avatar Jul 30 '22 01:07 facebook-github-bot