From 6d865152df0736ce2e3f826684015d982d2882c6 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Fri, 4 Nov 2022 10:53:00 +0100 Subject: [PATCH] NVIDIA: Update install-gpu.sh script #2613 Signed-off-by: Michael Mayer --- scripts/dist/install-gpu.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/dist/install-gpu.sh b/scripts/dist/install-gpu.sh index 4e0ee1243..f67d1ff5d 100755 --- a/scripts/dist/install-gpu.sh +++ b/scripts/dist/install-gpu.sh @@ -44,13 +44,6 @@ case $DESTARCH in ;; esac -# TODO: Install NVIDIA Drivers from https://developer.download.nvidia.com/compute/cuda/repos/ -# curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/{DIST}/x86_64/7fa2af80.pub | gpg --dearmor -o /etc/apt/trusted.gpg.d/developer.download.nvidia.com.gpg -# add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/{DIST}/x86_64/ /" -# curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/{DIST}/x86_64/cuda-{DIST}.pin > /etc/apt/preferences.d/cuda-repository-pin-600 -# apt-get update -# apt-get install libglvnd-dev pkg-config dkms build-essential cuda nvidia-driver-510 nvidia-settings nvidia-utils-510 linux-headers-$(uname -r) - # shellcheck disable=SC2068 for t in ${GPU_DETECTED[@]}; do case $t in @@ -60,8 +53,7 @@ for t in ${GPU_DETECTED[@]}; do ;; nvidia) - echo "Installing Nvidia Drivers..." - apt-get -qq install libcuda1 libnvcuvid1 libnvidia-encode1 nvidia-opencl-icd nvidia-vdpau-driver nvidia-driver-libs nvidia-kernel-dkms libva2 vainfo libva-wayland2 + echo "NVIDIA Container Toolkit must be installed: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html" ;; "null")