File tree Expand file tree Collapse file tree
examples/machine-learning/build-service-images/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,6 +82,24 @@ deployment_groups:
8282 ansible.builtin.apt:
8383 deb: "{{ cuda_repo_filename }}"
8484 state: present
85+ # The following 2 tasks work around a temporary issue with Ubuntu
86+ # packaging of NVIDIA 570 driver series for kernel 6.8.0-1032
87+ # This command ensures that any holds are removed before attempting an upgrade.
88+ # We ignore failures in case the packages were not held.
89+ - name: Unhold NVIDIA driver packages
90+ ansible.builtin.command:
91+ cmd: apt-mark unhold linux-modules-nvidia-570-server-open-gcp linux-modules-nvidia-570-server-open-6.8.0-1032-gcp
92+ become: true
93+ changed_when: false
94+ failed_when: false
95+ - name: Install latest NVIDIA driver metapackage and kernel module
96+ ansible.builtin.apt:
97+ name:
98+ - linux-modules-nvidia-570-server-open-gcp
99+ - linux-modules-nvidia-570-server-open-6.8.0-1032-gcp
100+ state: latest
101+ update_cache: yes
102+ become: true
85103 - name: Reduce NVIDIA repository priority
86104 ansible.builtin.copy:
87105 dest: /etc/apt/preferences.d/cuda-repository-pin-600
You can’t perform that action at this time.
0 commit comments