Skip to content

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
babakbehzad committed Apr 5, 2024
1 parent 4ba07d2 commit 6c43361
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,9 @@ def install_dcgm_libraries(dcgm_version, target_machine):
return """
ENV DCGM_VERSION {}
# Install DCGM. Steps from https://developer.nvidia.com/dcgm#Downloads
RUN apt install /tmp/cuda-keyring.deb && \
RUN curl -o /tmp/cuda-keyring.deb \
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/sbsa/cuda-keyring_1.0-1_all.deb \
&& apt install /tmp/cuda-keyring.deb && rm /tmp/cuda-keyring.deb && \
apt-get update && apt-get install -y datacenter-gpu-manager=1:{}
""".format(
dcgm_version, dcgm_version
Expand All @@ -858,8 +860,7 @@ def install_dcgm_libraries(dcgm_version, target_machine):
return """
ENV DCGM_VERSION {}
# Install DCGM. Steps from https://developer.nvidia.com/dcgm#Downloads
RUN apt install /tmp/cuda-keyring.deb && \
apt-get update && apt-get install -y datacenter-gpu-manager=1:{}
RUN apt-get update && apt-get install -y datacenter-gpu-manager=1:{}
""".format(
dcgm_version, dcgm_version
)
Expand Down

0 comments on commit 6c43361

Please sign in to comment.