Excuting the install statement to upgrade to version 2 given in ‘pytorch getting started’ has simply upgraded me from 1.12 to 1.13. Is it because I need a higher version of cuda?
I believe you’re explicitly telling pip to install torch==1.12.1+cu113. Use something like pip install torch==2.1.2+cu118 torchaudio torchvision --extra-index-url https://download.pytorch.org/whl/cu118 instead. This will install torch 2.1.2 and latest compatible versions of torchaudio and torchvision.