mirror of
https://github.com/containerd/containerd.git
synced 2026-08-09 17:39:22 +00:00
This change maps ctr --gpus requests to CDI device requests. This is done by mapping --gpus ID to a nvidia.com/gpu=ID device request. This removes the dependence on the nvidia-container-cli and instead uses existing CDI specifications for nvidia devices if available on the system. Signed-off-by: Evan Lezar <elezar@nvidia.com>