Use cdi device driver to handle nvidia --gpus requests by elezar · Pull Request #50228 · moby/moby (original) (raw)
elezar marked this pull request as ready for review
elezar changed the title
[WIP] Map nvidia requests to cdi Use cdi device driver to handle nvidia --gpus requests
Signed-off-by: Evan Lezar elezar@nvidia.com
This change updates the device driver for --gpu requests to handle --gpu requests as CDI device requests. This is only done if the nvidia-cdi-hook binary is present and falls back to the nvidia-container-runtime-hook if available.
If a cdi deviceDriver is installed at the point where a request should be handled, the incoming device request is updated to refer to fully-qualified CDI device names and forwarded to the cdi deviceDriver.
Signed-off-by: Evan Lezar elezar@nvidia.com
elezar deleted the map-nvidia-requests-to-cdi branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})