|
24 | 24 | # Image settings |
25 | 25 | base_image: |
26 | 26 | project: ubuntu-os-accelerator-images |
27 | | - family: ubuntu-accelerator-2204-amd64-with-nvidia-570 |
| 27 | + image: ubuntu-accelerator-2204-amd64-with-nvidia-570-v20250712 |
28 | 28 | image_build_machine_type: n2-standard-16 |
29 | 29 | build_slurm_from_git_ref: 6.10.0 |
30 | 30 | # Cluster env settings |
@@ -147,6 +147,24 @@ deployment_groups: |
147 | 147 | ansible.builtin.apt: |
148 | 148 | deb: "{{ cuda_repo_filename }}" |
149 | 149 | state: present |
| 150 | + # The following 2 tasks work around a temporary issue with Ubuntu |
| 151 | + # packaging of NVIDIA 570 driver series for kernel 6.8.0-1032 |
| 152 | + # This command ensures that any holds are removed before attempting an upgrade. |
| 153 | + # We ignore failures in case the packages were not held. |
| 154 | + - name: Unhold NVIDIA driver packages |
| 155 | + ansible.builtin.command: |
| 156 | + cmd: apt-mark unhold linux-modules-nvidia-570-server-open-gcp linux-modules-nvidia-570-server-open-6.8.0-1032-gcp |
| 157 | + become: true |
| 158 | + changed_when: false |
| 159 | + failed_when: false |
| 160 | + - name: Install latest NVIDIA driver metapackage and kernel module |
| 161 | + ansible.builtin.apt: |
| 162 | + name: |
| 163 | + - linux-modules-nvidia-570-server-open-gcp |
| 164 | + - linux-modules-nvidia-570-server-open-6.8.0-1032-gcp |
| 165 | + state: latest |
| 166 | + update_cache: yes |
| 167 | + become: true |
150 | 168 | - name: Reduce NVIDIA repository priority |
151 | 169 | ansible.builtin.copy: |
152 | 170 | dest: /etc/apt/preferences.d/cuda-repository-pin-600 |
@@ -236,7 +254,7 @@ deployment_groups: |
236 | 254 | settings: |
237 | 255 | disk_size: $(vars.disk_size_gb) |
238 | 256 | machine_type: $(vars.image_build_machine_type) |
239 | | - source_image_family: $(vars.base_image.family) |
| 257 | + source_image: $(vars.base_image.image) |
240 | 258 | source_image_project_id: [$(vars.base_image.project)] |
241 | 259 | image_family: $(vars.instance_image.family) |
242 | 260 | omit_external_ip: false |
|
0 commit comments