nvidia-container-toolkit/internal/config/image
Carlos Eduardo Arango Gutierrez d03a06029a
BUGFIX: modifier: respect GPU volume-mount device requests
The gated modifiers used to add support for GDS, Mofed, and CUDA Forward Comatibility
only check the NVIDIA_VISIBLE_DEVICES envvar to determine whether GPUs are requested
and modifications should be made. This means that use cases where volume mounts are
used to request devices are not supported.

This change ensures that device extraction is consistent for all use cases.

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-06-17 11:55:00 +02:00
..
builder.go Add logic to extract annotation device requests to image type 2025-06-13 14:05:51 +02:00
capabilities_test.go Refactor handling of DriverCapabilities 2023-08-14 10:40:42 +02:00
capabilities.go Fix misspellings 2023-10-24 20:00:24 +02:00
cuda_image_test.go BUGFIX: modifier: respect GPU volume-mount device requests 2025-06-17 11:55:00 +02:00
cuda_image.go BUGFIX: modifier: respect GPU volume-mount device requests 2025-06-17 11:55:00 +02:00
devices.go Make NewVisibleDevices public 2022-11-14 12:19:59 +01:00
envvars.go [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
privileged_test.go Refactor extracting requested devices from the container image 2025-06-05 12:38:45 +02:00
privileged.go Refactor extracting requested devices from the container image 2025-06-05 12:38:45 +02:00