pytorch / pytorch/pytorch.github.io
`torchaudio` in "Installing Previous versions of PyTorch"
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 285
- Forks
- 317
- PR merge metrics
- No merged PRs in 30d
Description
π Documentation
Site: https://pytorch.org/get-started/previous-versions/
Documentation suggests to install torchaudio without platform suffix for all environments.
pip install torch==1.10.1+cpu torchvision==0.11.2+cpu torchaudio==0.10.1 -f https://download.pytorch.org/whl/torch_stable.html
This leads pip to install torchaudio-0.10.1+rocm4.1 on each platform (e.g. on CPU).
> docker run --rm --platform linux/amd64 -it python:3.9.10-buster bash 2022-04-04 10:37:55
root@0ff2f8492d4c:/# pip install torch==1.10.1+cpu torchvision==0.11.2+cpu torchaudio==0.10.1 -f https://download.pytorch.org/whl/torch_stable.html
Looking in links: https://download.pytorch.org/whl/torch_stable.html
Collecting torch==1.10.1+cpu
Downloading https://download.pytorch.org/whl/cpu/torch-1.10.1%2Bcpu-cp39-cp39-linux_x86_64.whl (199.3 MB)
|ββββββββββββββββββββββββββββββββ| 199.3 MB 47 kB/s
Collecting torchvision==0.11.2+cpu
Downloading https://download.pytorch.org/whl/cpu/torchvision-0.11.2%2Bcpu-cp39-cp39-linux_x86_64.whl (16.1 MB)
|ββββββββββββββββββββββββββββββββ| 16.1 MB 329 kB/s
Collecting torchaudio==0.10.1
Downloading https://download.pytorch.org/whl/rocm4.1/torchaudio-0.10.1%2Brocm4.1-cp39-cp39-linux_x86_64.whl (2.7 MB)
|ββββββββββββββββββββββββββββββββ| 2.7 MB 5.3 MB/s
Collecting typing-extensions
Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB)
Collecting pillow!=8.3.0,>=5.3.0
Downloading Pillow-9.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
|ββββββββββββββββββββββββββββββββ| 4.3 MB 7.0 MB/s
Collecting numpy
Downloading numpy-1.22.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
|ββββββββββββββββββββββββββββββββ| 16.8 MB 16.4 MB/s
Installing collected packages: typing-extensions, torch, pillow, numpy, torchvision, torchaudio
Successfully installed numpy-1.22.3 pillow-9.1.0 torch-1.10.1+cpu torchaudio-0.10.1+rocm4.1 torchvision-0.11.2+cpu typing-extensions-4.1.1
We successfully install CPU version of torchaudio with the suffix:
root@4a53af59109a:/# pip install torch==1.10.1+cpu torchvision==0.11.2+cpu torchaudio==0.10.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
Looking in links: https://download.pytorch.org/whl/torch_stable.html
Collecting torch==1.10.1+cpu
Downloading https://download.pytorch.org/whl/cpu/torch-1.10.1%2Bcpu-cp39-cp39-linux_x86_64.whl (199.3 MB)
|ββββββββββββββββββββββββββββββββ| 199.3 MB 46 kB/s
Collecting torchvision==0.11.2+cpu
Downloading https://download.pytorch.org/whl/cpu/torchvision-0.11.2%2Bcpu-cp39-cp39-linux_x86_64.whl (16.1 MB)
|ββββββββββββββββββββββββββββββββ| 16.1 MB 13.7 MB/s
Collecting torchaudio==0.10.1+cpu
Downloading https://download.pytorch.org/whl/cpu/torchaudio-0.10.1%2Bcpu-cp39-cp39-linux_x86_64.whl (2.7 MB)
|ββββββββββββββββββββββββββββββββ| 2.7 MB 14.4 MB/s
Collecting typing-extensions
Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB)
Collecting pillow!=8.3.0,>=5.3.0
Downloading Pillow-9.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
|ββββββββββββββββββββββββββββββββ| 4.3 MB 9.5 MB/s
Collecting numpy
Downloading numpy-1.22.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
|ββββββββββββββββββββββββββββββββ| 16.8 MB 17.3 MB/s
Installing collected packages: typing-extensions, torch, pillow, numpy, torchvision, torchaudio
Successfully installed numpy-1.22.3 pillow-9.1.0 torch-1.10.1+cpu torchaudio-0.10.1+cpu torchvision-0.11.2+cpu typing-extensions-4.1.1
I was going to send a patch but I also thought it might be intentional since torchaudio without the suffix is consistently used in all the environments. So I'm here to ask if it is intended or not.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up β it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with _get_started/previous-versions.md at the linked revision and inspect the torchaudio entries across environments. Reproduce the documented CPU installation command and compare it with the suffix-qualified command shown in the issue. Done means the previous-versions instructions consistently install the intended torchaudio build for the relevant environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100