Can't find cuda version for pytorch 2.0.0

Hello, here is my pytorch version,
image
and I am trying to install CUDA, so that I can use GPU for my pytorch, but I got an error

ERROR: Could not find a version that satisfies the requirement torch==2.0.0+cu111 (from versions: 1.7.1, 1.8.0, 1.8.0+cu111, 1.8.1, 1.8.1+cu111, 1.9.0, 1.9.0+cu111, 1.9.1, 1.9.1+cu111, 1.10.0, 1.10.0+cu111, 1.10.1, 1.10.1+cu111, 1.10.2, 1.10.2+cu111, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0)

Thanks!

You are trying to install a CUDA 11.1 wheel, which doesn’t exist as that CUDA version would be too old for a 2.0.0 build to be available.

Could you try this install command from get started page? It should install the stable 2.0.0 version of PyTorch.
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu118

1 Like