Merge pull request #28008 from shiv-tyagi/vendor-detection

Discover GPU vendor from CDI spec before injecting GPU for --gpus option
This commit is contained in:
Paul Holzinger
2026-02-12 18:54:34 +01:00
committed by GitHub
9 changed files with 240 additions and 9 deletions

View File

@@ -4,5 +4,4 @@
####> are applicable to all of those.
#### **--gpus**=*ENTRY*
GPU devices to add to the container ('all' to pass all GPUs) Currently only
Nvidia devices are supported.
Start the container with GPU support. Where `ENTRY` can be `all` to request all GPUs, or a vendor-specific identifier. Currently, NVIDIA and AMD devices are supported. If both NVIDIA and AMD devices are present, the NVIDIA devices will be preferred, and a CDI device name must be specified using the `--device` flag to request a set of GPUs from a *specific* vendor.