Use nvidia runtime for MPS control #516
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change converts the container that manages the MPS control daemon to a container that uses the NVIDIA Container Runtime to inject the required driver libraries and executables into the container. This prevents the driver root from having to be mounted as a non-readonly path as modified in #505.
Note that since the
nvidia-cuda-mps-control
andnvidia-cuda-mps-server
binaries are included under thecompute
capabilities, theNVIDIA_DRIVER_CAPABILITIES
in the container images is set tocompute,utility
.