PyTorch for Cuda 12

That’s the driver you are posting, not a CUDA toolkit.
I.e. if you go to CUDA Toolkit 12.6 Update 2 Downloads | NVIDIA Developer you’ll see 12.6 Update 2 is the latest one.

1 Like

My nvidia-smi also reports Driver Version: 565.57.01 CUDA Version: 12.7

When installing the latest 12.6 Update 2 you linked, I get

WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 560.00 is required for CUDA 12.6 functionality to work.

I’ve installed my drivers with the commands sourced from Howto/NVIDIA - RPM Fusion:

# rpm non-free repo
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# update check
sudo dnf update -y
# drivers
sudo dnf install akmod-nvidia
# optional CUDA support
sudo dnf install xorg-x11-drv-nvidia-cuda

credits u/DynoMenace