Installing PyTorch
Official pytorch.org install instructions offers stable version version of pyTorch with slightly older version of CUDA which is 11.6 instead of latest (11.7)
We wanna show here how to install it with CUDA 11.7 SDK Toolkit support.
Start a shell (powershell/command prompt with python added to path),
pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu117 --upgrade
refs
Official install instructions: https://pytorch.org/get-started/locally
CUDA 11.7 on pytroch official site doesn't exist yet, https://download.pytorch.org/whl/cu117
CloudCasts - Alan Smith - PyTorch & CUDA Setup - Windows 10 https://www.youtube.com/watch?v=GMSjDTU8Zlc
Platform nvidia refs