[release-0.19] wsl: report a single "all" device to kubelet#1699
Merged
cdesiniotis merged 2 commits intorelease-0.19from Apr 17, 2026
Merged
[release-0.19] wsl: report a single "all" device to kubelet#1699cdesiniotis merged 2 commits intorelease-0.19from
cdesiniotis merged 2 commits intorelease-0.19from
Conversation
In order to prepare for the WSL changes, we remove the tegra resource manager and pull the basic function implementations into the base type. This means that the base type is essentially a resource manager that does not support health checking and always uses distributed allocation. Signed-off-by: Evan Lezar <[email protected]> (cherry picked from commit b93fb47)
On WSL, all GPUs are accessed through /dev/dxg. Replace the per-GPU wslDevice (which reported one device per physical GPU with individual UUIDs) with a stateless wslAllGPUsDevice that always returns UUID "all" and path "/dev/dxg". This causes the device map to collapse to a single entry per resource, so kubelet sees exactly one GPU device on WSL. When allocated, this flows naturally through all strategy paths (envvar, CDI, volume mounts) to set NVIDIA_VISIBLE_DEVICES=all, which is what nvidia-container-runtime on WSL expects. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Signed-off-by: Evan Lezar <[email protected]> (cherry picked from commit 1bb3658)
Contributor
|
/ok to test 80a51ff |
cdesiniotis
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated backport of #1671 to
release-0.19✅ Cherry-pick completed successfully with no conflicts.
Original PR: #1671
Original Author: @elezar
Cherry-picked commits (2):
b93fb47refactor: Simplify resource manager construction1bb3658wsl: report a single "all" device to kubeletThis backport was automatically created by the backport bot.