Skip to content

Commit

Permalink
install: auto enable nvidia gpus and capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Oct 9, 2024
1 parent 317ee80 commit 10bdef4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install/docker/Dockerfile.nvidia
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
ARG BASE="ghcr.io/koush/scrypted-common:20-jammy-full"
FROM $BASE

ENV NVIDIA_DRIVER_CAPABILITIES=all
ENV NVIDIA_VISIBLE_DEVICES=all

# nvidia cudnn/libcublas etc.
# for some reason this is not provided by the nvidia container toolkit
RUN curl https://raw.githubusercontent.com/koush/scrypted/main/install/docker/install-nvidia-graphics.sh | bash

0 comments on commit 10bdef4

Please sign in to comment.