nvidia-container-toolkit/internal/modifier
Evan Lezar 5d5166cbb6
Load NVIDIA Kernel Modules for JIT-CDI mode
This change attempts to load the nvidia, nvidia-uvm, and nvidia-modeset
kernel modules before generating the automatic (jit) CDI specification.

The kernel modules can be controlled by the

nvidia-container-runtime.modes.jit-cdi.load-kernel-modules

config option. If this is set to the empty list, then no kernel modules
are loaded.

Errors in loading the kernel modules are logged, but ignored.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-03-10 10:55:35 +02:00
..
cdi run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
cdi_test.go Add nvidia-container-runtime.modes.cdi.annotation-prefixes config option. 2023-03-27 16:36:54 +02:00
cdi.go Load NVIDIA Kernel Modules for JIT-CDI mode 2025-03-10 10:55:35 +02:00
csv_test.go [no-relnote] Remove duplicate test case 2025-02-05 19:01:43 +01:00
csv.go Allow cdi mode to work with --gpus flag 2025-02-05 19:01:43 +01:00
discover_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
discover.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
gated.go Add disable-cuda-compat-lib-hook feature flag 2025-02-27 15:58:15 +02:00
graphics_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
graphics.go [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
hook_remover_test.go
hook_remover.go Allow cdi mode to work with --gpus flag 2025-02-05 19:01:43 +01:00
list.go [no-relnote] Refactor oci spec modifier list 2025-01-22 13:58:31 +01:00
stable_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
stable.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00