I know this has been covered many times here, but I am still struggling to download PyTorch with NVIDIA GPU support on my end. I am using a Windows 10 OS but am trying to download Torch through an Ubuntu terminal because one of my project codes has a conflict with Windows.
I am running Python 3.9.12 and have a NVIDIA RTX 3090. I can provide other details about the hardware if needed.
I have followed this guide: Jeff Heaton: PyTorch with GPU support and tried to follow PyTorch's own guidelines and failed. I have then tried them again after deleting previous NVIDIA drivers and CUDA versions via
sudo apt-get remove --purge nvidia\*
sudo apt-get remove --purge \*cuda\*
but failed again.
Many times, I encountered the following error when using
nvidia-smi
Thank you all for your time and please let me know what I could do.