- Install CUDA Toolkit -> you should install the CUDA version that PyTorch supports for example at this time, Version CUDA 12.4 is the latest.
navigate to https://developer.nvidia.com/cuda-12-4-0-download-archive download and install the CUDA Toolkit version
- Check that CUDA Toolkit is installed > issue
nvcc --version
and observe from output that the installed cuda version is detected