Skip to content

Pinned nvidia driver version to fix nightly cuda builds #471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/roles/cuda/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cuda_distro: "rhel{{ ansible_distribution_major_version }}"
cuda_repo: "https://developer.download.nvidia.com/compute/cuda/repos/{{ cuda_distro }}/x86_64/cuda-{{ cuda_distro }}.repo"
cuda_driver_stream: default
cuda_driver_stream: open-dkms
cuda_package_version: 'latest'
cuda_packages:
- "cuda{{ ('-' + cuda_package_version) if cuda_package_version != 'latest' else '' }}"
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/cuda/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
register: _cuda_driver_module_enabled

- name: Enable nvidia driver module
ansible.builtin.command: "dnf module enable -y nvidia-driver:open-dkms"
ansible.builtin.command: "dnf module enable -y nvidia-driver:{{ cuda_driver_stream }}"
register: _cuda_driver_module_enable
when: "'No matching Modules to list' in _cuda_driver_module_enabled.stderr"
changed_when: "'Nothing to do' not in _cuda_driver_module_enable.stdout"
Expand Down
1 change: 1 addition & 0 deletions packer/openhpc_extravars.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
workaround_ansible_issue_61497: yes # extravars files can't be empty
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
Loading