Skip to content

Commit

Permalink
nvidia: notes
Browse files Browse the repository at this point in the history
  • Loading branch information
koush authored Nov 16, 2024
1 parent 0dbe556 commit 2ec6760
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions install/docker/install-nvidia-container-toolkit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ UBUNTU_22_04=$(lsb_release -r | grep "22.04")
UBUNTU_24_04=$(lsb_release -r | grep "24.04")

set -e

# Install CUDA for 22.04
# https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=24.04&target_type=deb_network
# Install CUDA for 24.04
# https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=24.04&target_type=deb_network
# need this apt for nvidia-utils
# needs either ubuntu 22.0.4 or 24.04
# Do not apt install nvidia-open, must use cuda-drivers.

if [ -z "$UBUNTU_22_04" ] && [ -z "$UBUNTU_24_04" ]
then
echo "NVIDIA container toolkit can not be installed. Ubuntu version could not be detected when checking lsb-release and /etc/os-release."
Expand Down

0 comments on commit 2ec6760

Please sign in to comment.