Hello, I need help with installing PyTorch for my new NVIDIA RTX 5080 on Windows.
According to the PyTorch contributor reply on GitHub, the oldest CUDA version that supports RTX 5080 is CUDA 12.8.
They also said that any PyTorch build based on CUDA 12.4 / 12.5 cannot detect this GPU.
I tried installing PyTorch Nightly using this command:
pip3 install -U --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu124
But it does not work and my environment cannot detect GPU.
Inside Python, running:
import torch
print(“Torch version:”, torch.version)
print(“CUDA available:”, torch.cuda.is_available())
if torch.cuda.is_available():
print(“GPU:”, torch.cuda.get_device_name(0))
gives errors such as:
ModuleNotFoundError: No module named ‘torch’
NameError: name ‘torch’ is not defined
CUDA not available
So PyTorch fails to install properly, and the GPU is not recognized at all.
My Environment
-
GPU: NVIDIA GeForce RTX 5080
-
OS: Windows 11
-
Python: 3.11.8
-
CUDA Toolkit: (I have not installed CUDA yet because 12.8 is not available on NVIDIA website)
-
Driver version: 581.80 (supports CUDA 13)
-
Goal: Install PyTorch Nightly with CUDA 12.8 or newer so that RTX 5080 is detected
Questions
-
How can I install a correct PyTorch Nightly build that supports CUDA 12.8 or CUDA 13?
-
Since NVIDIA has not released CUDA 12.8 toolkit yet, how can we properly set up PyTorch for RTX 5080?
-
Is there a current PyTorch wheel for Windows that supports the new RTX 5080 GPUs?
-
Do I need to wait for an official PyTorch/CUDA release?
Additional information
Running nvidia-smi shows the GPU properly:
Driver Version: 581.80
CUDA Version: 13.0
GPU: NVIDIA GeForce RTX 5080
But PyTorch cannot detect it.
Thank you very much! I appreciate any help from the community and developers. ![]()