Skip to content

Conversation

@yeazelm
Copy link
Contributor

@yeazelm yeazelm commented Dec 31, 2025

Issue #: bottlerocket-os/bottlerocket#4673

Description of changes:
Add NvidiaMpsSettings struct and Mps variant to NvidiaDeviceSharingStrategy for NVIDIA Multi-Process Service support. Includes validation to prevent MPS and MIG from being enabled simultaneously.

Testing:
The testing was documented in the related PR: bottlerocket-os/bottlerocket-core-kit#789

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@piyush-jena piyush-jena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from the nitpicky request for an additional unit test. Nice work coding the conflict between MIG and MPS.

@yeazelm yeazelm requested review from bcressey and cbgbt January 6, 2026 16:21
Add NvidiaMpsSettings struct and Mps variant to
NvidiaDeviceSharingStrategy for NVIDIA Multi-Process Service support.

Signed-off-by: Matthew Yeazel <[email protected]>
@yeazelm
Copy link
Contributor Author

yeazelm commented Jan 15, 2026

^ Updated to remove the validation logic which isn't called like I expected it to be. Changed the max to 48 since that is what the device plugin currently enforces.

@yeazelm yeazelm merged commit 4954450 into bottlerocket-os:develop Jan 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants