Skip to content

Instantly share code, notes, and snippets.

@LogCreative
Last active June 27, 2025 23:59
Show Gist options
  • Save LogCreative/71c78d90b5317f5468413b374b8bbc21 to your computer and use it in GitHub Desktop.
Save LogCreative/71c78d90b5317f5468413b374b8bbc21 to your computer and use it in GitHub Desktop.
Install Nvidia Driver for 5070 Ti on Ubuntu 24.04 (2025/03/09)
sudo apt install build-essential
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
# goto tty3 by ctrl+alt+F3 now!
sudo systemctl stop gdm3
sudo apt install nvidia-driver-570
# choose MIT license one, the prioritory one can not detect 5070ti now!
reboot

According to this link, you need to install the latest CUDA to make the GPU accessible.

So follow the official instruction to install CUDA 12.8, and install pytorch-nightly later:

pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu128
@henryzhangzhy
Copy link

henryzhangzhy commented Jun 27, 2025

A very helpful thread! A few additional notes:

  1. In my case, ASUS TUF 5070Ti works only with the nvidia-driver-570-open, not the non-open version.
  2. go to tty3, stop gdm3 leads to a black screen with blinking "_", you can go to another tty by ctrl+alt+F4 (not sure if tty3 still works).
  3. reboot after install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment