Skip to content

Instantly share code, notes, and snippets.

@GhostLate
GhostLate / cuda_12.8_installation_on_Ubuntu_24.04
Last active January 26, 2026 00:06 — forked from MihailCosmin/cuda_11.8_installation_on_Ubuntu_22.04
Instructions for CUDA v12.8 and cuDNN 9.X installation on Ubuntu 24.04 for PyTorch 2.8.0 and PyTorch3D
#!/bin/bash
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
###
### to verify your gpu is cuda enable check