Skip to content

Commit

Permalink
Merge branch 'ignore_default_cuda_constraints' into 'master'
Browse files Browse the repository at this point in the history
Ignore default constraints enabled in the cuda11 based images to allow DCGM exporter to work with other driver versions below r450

See merge request nvidia/container-toolkit/gpu-monitoring-tools!38
  • Loading branch information
klueska committed Oct 28, 2020
2 parents 67a9726 + 54d8cf7 commit 7d13f77
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ COPY --from=builder /go/src/github.com/NVIDIA/gpu-monitoring-tools/dcgm-exporter
COPY etc/dcgm-exporter /etc/dcgm-exporter

ENV NVIDIA_VISIBLE_DEVICES=all
# disable all constraints on the configurations required by NVIDIA container toolkit
ENV NVIDIA_DISABLE_REQUIRE="true"
# Required for DCP metrics
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,compat32

Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.ubuntu18.04
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

# Required for DCP metrics
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,compat32

# disable all constraints on the configurations required by NVIDIA container toolkit
ENV NVIDIA_DISABLE_REQUIRE="true"
ENV NVIDIA_VISIBLE_DEVICES=all

ENV NO_SETCAP=
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.ubuntu20.04
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

# Required for DCP metrics
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,compat32

# disable all constraints on the configurations required by NVIDIA container toolkit
ENV NVIDIA_DISABLE_REQUIRE="true"
ENV NVIDIA_VISIBLE_DEVICES=all

ENV NO_SETCAP=
Expand Down

0 comments on commit 7d13f77

Please sign in to comment.