Commit 9b5317e
committed
ci(gpu): generate CDI spec before cluster bootstrap on WSL2
On WSL2 runners, no CDI spec exists by default. Add a step to generate
/var/run/cdi/nvidia.yaml using nvidia-ctk from the already-pulled cluster
image before the GPU cluster is bootstrapped. This ensures the NVIDIA
device plugin can advertise GPU resources and CDI injection works correctly.1 parent c39cad5 commit 9b5317e
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
69 | 79 | | |
70 | 80 | | |
71 | 81 | | |
| |||
0 commit comments