Error installing with Python 3.8 and CUDA 11.5

I am trying to install PyTorch with Python 3.8 and CUDA 11.5 and I am getting following error for torchaudio.

ERROR: Could not find a version that satisfies the requirement torchaudio===0.10.0+cu113 (from versions: 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0)
ERROR: No matching distribution found for torchaudio===0.10.0+cu113

The PyTorch binaries are not build with CUDA11.5 and you can pick the 10.2 or 11.3 CUDA runtimes.

Using this install command works for me:

pip install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio==0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Looking in links: https://download.pytorch.org/whl/cu113/torch_stable.html
Collecting torch==1.10.0+cu113
  Downloading https://download.pytorch.org/whl/cu113/torch-1.10.0%2Bcu113-cp38-cp38-linux_x86_64.whl (1821.4 MB)
     |████████████████████████████████| 1821.4 MB 20.9 MB/s            
Collecting torchvision==0.11.1+cu113
  Downloading https://download.pytorch.org/whl/cu113/torchvision-0.11.1%2Bcu113-cp38-cp38-linux_x86_64.whl (21.8 MB)
     |████████████████████████████████| 21.8 MB 19.2 MB/s            
Collecting torchaudio==0.10.0+cu113
  Downloading https://download.pytorch.org/whl/cu113/torchaudio-0.10.0%2Bcu113-cp38-cp38-linux_x86_64.whl (2.9 MB)
     |████████████████████████████████| 2.9 MB 9.0 MB/s            
Collecting typing-extensions
  Downloading typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting pillow!=8.3.0,>=5.3.0
  Downloading Pillow-8.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
     |████████████████████████████████| 3.1 MB 6.6 MB/s            
Collecting numpy
  Downloading numpy-1.21.3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
     |████████████████████████████████| 15.7 MB 80.8 MB/s            
Installing collected packages: typing-extensions, torch, pillow, numpy, torchvision, torchaudio
Successfully installed numpy-1.21.3 pillow-8.4.0 torch-1.10.0+cu113 torchaudio-0.10.0+cu113 torchvision-0.11.1+cu113 typing-extensions-3.10.0.2
2 Likes

I am trying to install CUDA 11.3 runtime as the error shows. Also, I am trying to install on Windows 10.

Here is my install command:
pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio===0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html

Same here, my specs

CPU: Intel 10700k
GPU: RTX 3060tI

using this command:
pip3 install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio===0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html

i get

ERROR: Could not find a version that satisfies the requirement torchaudio===0.10.0+cu113 (from versions: 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0)
ERROR: No matching distribution found for torchaudio===0.10.0+cu113

The issue for the Windows binaries is tracked here.
As a workaround you could try to manually download the torchaudio wheels and install them locally.

Thanks for your response, i ran the Preview (Nightly) and got it installed not problem.