Skip to content

Conversation

@elezar
Copy link
Member

@elezar elezar commented Oct 2, 2025

This change ensures that the incoming device IDs are deduplicated before updating the AllocateResponse. This avoids cases where the NVIDIA_VISIBLE_DEVICES envvar or CDI annotations contain repeated device UUIDs or INDICES that do not add additional modifications to the container.

Fixes #1432

@elezar elezar force-pushed the deduplicate-device-requests branch from 5d73d27 to 5aef9c1 Compare October 2, 2025 09:11
elezar added 3 commits October 7, 2025 11:01
This change ensures that the incoming device IDs are deduplicated
before updating the AllocateResponse. This avoids cases where
the NVIDIA_VISIBLE_DEVICES envvar or CDI annotations contain repeated
device UUIDs or INDICES that do not add additional modifications to
the container.

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar force-pushed the deduplicate-device-requests branch from 5aef9c1 to 75633e2 Compare October 7, 2025 09:02
@elezar elezar removed the request for review from jgehrcke October 7, 2025 10:55
@elezar elezar added this to the v0.18.0 milestone Oct 7, 2025
@elezar elezar merged commit 395b3d5 into NVIDIA:main Oct 7, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NVIDIA_VISIBLE_DEVICES contains many duplicate entries when multiple time slices are requested

2 participants