Created
March 7, 2025 12:20
-
-
Save henricavalcante/9079d671ee7c7c42f15e7038355d4dcd to your computer and use it in GitHub Desktop.
Install cuda 12.4 on ubuntu 24.4 for containers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://developer.download.nvidia.com/compute/cuda/12.4.0/local_installers/cuda_12.4.0_550.54.14_linux.run | |
sudo sh cuda_12.4.0_550.54.14_linux.run | |
echo 'export PATH=/usr/local/cuda-12.4/bin:$PATH' >> ~/.bashrc | |
echo 'export LD_LIBRARY_PATH=/usr/local/cuda-12.4/lib64:$LD_LIBRARY_PATH' >> ~/.bashrc | |
source ~/.bashrc | |
sudo apt install -y nvidia-container-toolkit | |
sudo systemctl restart docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment