Skip to content

Commit cc6ff8d

Browse files
committed
tried pinning nvidia-driver version
1 parent 812f1a0 commit cc6ff8d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ansible/roles/cuda/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
register: _cuda_driver_module_enabled
2626

2727
- name: Enable nvidia driver module
28-
ansible.builtin.command: "dnf module enable -y nvidia-driver:open-dkms"
28+
ansible.builtin.command: "dnf module enable -y nvidia-driver:{{ 'open-dkms' if cuda_driver_stream == 'default' else cuda_driver_stream }}"
2929
register: _cuda_driver_module_enable
3030
when: "'No matching Modules to list' in _cuda_driver_module_enabled.stderr"
3131
changed_when: "'Nothing to do' not in _cuda_driver_module_enable.stdout"

packer/openhpc_extravars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
workaround_ansible_issue_61497: yes # extravars files can't be empty
2+
cuda_driver_stream: 560-open # pinned to fix incompatibility cuda latest (12.6.2) being out of date for nvidia-driver latest (565.57.01), remove when fixed

0 commit comments

Comments
 (0)