Skip to content

Commit 6d86515

Browse files
committed
NVIDIA: Update install-gpu.sh script #2613
Signed-off-by: Michael Mayer <michael@photoprism.app>
1 parent f728b1a commit 6d86515

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

scripts/dist/install-gpu.sh

+1-9
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,6 @@ case $DESTARCH in
4444
;;
4545
esac
4646

47-
# TODO: Install NVIDIA Drivers from https://developer.download.nvidia.com/compute/cuda/repos/
48-
# 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
49-
# add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/{DIST}/x86_64/ /"
50-
# curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/{DIST}/x86_64/cuda-{DIST}.pin > /etc/apt/preferences.d/cuda-repository-pin-600
51-
# apt-get update
52-
# apt-get install libglvnd-dev pkg-config dkms build-essential cuda nvidia-driver-510 nvidia-settings nvidia-utils-510 linux-headers-$(uname -r)
53-
5447
# shellcheck disable=SC2068
5548
for t in ${GPU_DETECTED[@]}; do
5649
case $t in
@@ -60,8 +53,7 @@ for t in ${GPU_DETECTED[@]}; do
6053
;;
6154

6255
nvidia)
63-
echo "Installing Nvidia Drivers..."
64-
apt-get -qq install libcuda1 libnvcuvid1 libnvidia-encode1 nvidia-opencl-icd nvidia-vdpau-driver nvidia-driver-libs nvidia-kernel-dkms libva2 vainfo libva-wayland2
56+
echo "NVIDIA Container Toolkit must be installed: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html"
6557
;;
6658

6759
"null")

0 commit comments

Comments
 (0)