nvidia-container-toolkit/internal/runtime
Evan Lezar 54ea4a24a7
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-09 13:38:07 +02:00
..
api.go Implement runtime package for creating runtime CLI 2023-02-13 16:09:46 +01:00
logger_test.go Define a basic logger interface 2023-06-12 10:46:10 +02:00
logger.go Fix bug in argument parsing for logger creation 2024-07-01 12:03:53 +02:00
runtime_factory_test.go Allow cdi mode to work with --gpus flag 2025-02-05 19:01:43 +01:00
runtime_factory.go Load NVIDIA Kernel Modules for JIT-CDI mode 2025-03-09 13:38:07 +02:00
runtime.go Reduce logging for the NVIDIA Container runtime 2024-07-01 12:12:38 +02:00