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")