Skip to content

Commit 96ad27f

Browse files
committed
enable nvidia persistence daemon to allow GRES to work after reimage
1 parent 63f98b7 commit 96ad27f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ansible/roles/cuda/tasks/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@
3737
path: /etc/profile.d/sh.local
3838
line: 'export PATH=$PATH:$(ls -1d /usr/local/cuda-* | sort -V | tail -1)/bin'
3939

40+
- name: Enable NVIDIA Persistence Daemon
41+
systemd:
42+
name: nvidia-persistenced
43+
enabled: true
44+
state: started
45+
4046
- name: Reboot
4147
ansible.builtin.reboot:
4248
post_reboot_delay: 30

0 commit comments

Comments
 (0)