You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: NVIDIA tasks fail on headless hosts without /dev/nvidia-modeset #4004
A safe fix is to keep the current capability set on the first attempt, then retry without only display if NVIDIA Container Runtime fails specifically because /dev/nvidia-modeset is missing. This should not apply to non-NVIDIA vendors or explicit GPUDevices handling.
changed the title [-]Avoid failing CUDA workloads when NVIDIA display capability requires missing nvidia-modeset[/-][+][Bug]: NVIDIA tasks fail on headless hosts without /dev/nvidia-modeset[/+]on Jul 4, 2026
This looks like a good regression-test candidate because the failure is narrowed to “NVIDIA tasks fail on headless hosts without /dev/nvidia-modeset”. If a minimal fixture can exercise /dev/nvidia-modeset and assert the expected behavior around dstack-shim, it would make the eventual fix much easier to keep from regressing.
Activity
[-]Avoid failing CUDA workloads when NVIDIA display capability requires missing nvidia-modeset[/-][+][Bug]: NVIDIA tasks fail on headless hosts without /dev/nvidia-modeset[/+]hiSandog commentedon Jul 6, 2026
This looks like a good regression-test candidate because the failure is narrowed to “NVIDIA tasks fail on headless hosts without /dev/nvidia-modeset”. If a minimal fixture can exercise
/dev/nvidia-modesetand assert the expected behavior arounddstack-shim, it would make the eventual fix much easier to keep from regressing.ehfd commentedon Aug 22, 2026
Note that we're trying to fix this upstream from NVIDIA/libnvidia-container#388 and NVIDIA/nvidia-container-toolkit#1979.
Expected release v1.20.x after v1.20.0.
ehfd commentedon Sep 22, 2026
Fixed in https://github.com/NVIDIA/nvidia-container-toolkit/releases/tag/v1.20.1.