Skip to content

Commit

Permalink
Disable NVIDIA_VISIBLE_DEVICES in gpu-operator to allow it to run wit…
Browse files Browse the repository at this point in the history
…h pre-installed toolkit

Signed-off-by: Shiva Krishna, Merla <[email protected]>
  • Loading branch information
shivamerla committed May 13, 2021
1 parent c91af8c commit dd213f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o gpu-oper

FROM nvidia/cuda:11.2.1-base-ubi8

ENV NVIDIA_DISABLE_REQUIRE="true"
ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=utility
ENV NVIDIA_VISIBLE_DEVICES=void

ARG VERSION

Expand Down

0 comments on commit dd213f9

Please sign in to comment.