Skip to content

Commit 5bbdfc1

Browse files
authored
Pin DCGM to version 4.5.0 (GoogleCloudPlatform#5124)
2 parents 1f5f8ce + 69efad5 commit 5bbdfc1

5 files changed

Lines changed: 23 additions & 10 deletions

File tree

examples/machine-learning/a3-megagpu-8g/a3mega-slurm-blueprint.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,12 @@ deployment_groups:
184184
apt update -y
185185
apt install -y cuda-toolkit-12-8
186186
apt install -y nvidia-container-toolkit
187-
apt install -y datacenter-gpu-manager-4-cuda12
188-
apt install -y datacenter-gpu-manager-4-dev
187+
#Pin the package to latest DCGMI version 4.5.0
188+
apt install -y datacenter-gpu-manager-4-cuda12=1:4.5.0-1
189+
apt install -y datacenter-gpu-manager-4-dev=1:4.5.0-1
190+
191+
#Hold packages to prevent auto-updates
192+
apt-mark hold datacenter-gpu-manager-4-cuda12 datacenter-gpu-manager-4-dev
189193
# this duplicates the ulimits configuration of the HPC VM Image
190194
- type: data
191195
destination: /etc/security/limits.d/99-unlimited.conf

examples/machine-learning/a3-megagpu-8g/a3mega-slurm-gcsfuse-lssd-blueprint.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,9 @@ deployment_groups:
479479
enable_nvidia_dcgm: $(vars.enable_nvidia_dcgm)
480480
nvidia_packages:
481481
- cuda-toolkit-12-8
482-
- datacenter-gpu-manager-4-cuda12
483-
- datacenter-gpu-manager-4-dev
482+
#Pin the package to latest DCGMI version 4.5.0
483+
- datacenter-gpu-manager-4-cuda12=1:4.5.0-1
484+
- datacenter-gpu-manager-4-dev=1:4.5.0-1
484485
- libnvidia-cfg1-570-server
485486
- libnvidia-nscq-570
486487
- nvidia-compute-utils-570-server

examples/machine-learning/a3-ultragpu-8g/a3ultra-slurm-blueprint.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,11 @@ deployment_groups:
159159
set -e -o pipefail
160160
add-nvidia-repositories -y
161161
apt install -y cuda-toolkit-12-8
162-
apt install -y datacenter-gpu-manager-4-cuda12
163-
apt install -y datacenter-gpu-manager-4-dev
162+
#Pin the package to latest DCGMI version 4.5.0
163+
apt install -y datacenter-gpu-manager-4-cuda12=1:4.5.0-1
164+
apt install -y datacenter-gpu-manager-4-dev=1:4.5.0-1
165+
#Hold packages to prevent auto-updates
166+
apt-mark hold datacenter-gpu-manager-4-cuda12 datacenter-gpu-manager-4-dev
164167
- type: ansible-local
165168
destination: settings_nvidia_dcgm.yml
166169
content: |

examples/machine-learning/a4-highgpu-8g/a4high-slurm-blueprint.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,12 @@ deployment_groups:
161161
add-nvidia-repositories -y
162162
apt update -y
163163
apt install -y cuda-toolkit-12-8
164-
apt install -y datacenter-gpu-manager-4-cuda12
165-
apt install -y datacenter-gpu-manager-4-dev
164+
#Pin the package to latest DCGMI version 4.5.0
165+
apt install -y datacenter-gpu-manager-4-cuda12=1:4.5.0-1
166+
apt install -y datacenter-gpu-manager-4-dev=1:4.5.0-1
167+
168+
#Hold packages to prevent auto-updates
169+
apt-mark hold datacenter-gpu-manager-4-cuda12 datacenter-gpu-manager-4-dev
166170
- type: ansible-local
167171
destination: configure_cuda_dcgm.yml
168172
content: |

examples/machine-learning/a4x-highgpu-4g/a4xhigh-slurm-blueprint.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,9 @@ deployment_groups:
177177
cuda_repo_filename: /tmp/{{ cuda_repo_url | basename }}
178178
nvidia_packages:
179179
- cuda-toolkit-12-8
180-
- datacenter-gpu-manager-4-cuda12
181-
- datacenter-gpu-manager-4-dev
180+
#Pin the package to latest DCGMI version 4.5.0
181+
- datacenter-gpu-manager-4-cuda12=1:4.5.0-1
182+
- datacenter-gpu-manager-4-dev=1:4.5.0-1
182183
tasks:
183184
- name: Download NVIDIA repository package
184185
ansible.builtin.get_url:

0 commit comments

Comments
 (0)