Pytorch 1.12 with CUDA on Ubuntu20?

Hi,

Is there a specific way to install or upgrade a higher version > 1.9.0 of PyTorch on Ubuntu 20 with CUDA? The standard installation command on done my computer keeps the 1.9.0 version untouched:

Requirement already satisfied: torch in ./.local/lib/python3.8/site-packages (1.9.0+cu111)
Requirement already satisfied: torchvision in ./.local/lib/python3.8/site-packages (0.10.0+cu111)
Requirement already satisfied: torchaudio in ./.local/lib/python3.8/site-packages (0.9.0)
Requirement already satisfied: typing-extensions in ./.local/lib/python3.8/site-packages (from torch) (4.2.0)
Requirement already satisfied: numpy in /usr/local/lib/python3.8/dist-packages (from torchvision) (1.22.3)
Requirement already satisfied: pillow>=5.3.0 in ./.local/lib/python3.8/site-packages (from torchvision) (9.1.0)

How does one get to a stable version beyond this one?

P

Uninstall the PyTorch binaries and reinstall the latest stable ones or create a new virtual environment and install the latest release there.

Thank you @ptrblck :pray: