Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

containerd: add support for device-ownership to nvidia #343

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

vigh-m
Copy link
Contributor

@vigh-m vigh-m commented Jan 9, 2025

Description of changes:

Following up from PR #329. Use of the new device-ownership-from-security-context setting was missed in the nvidia settings for containerd. This PR fixes that.

Testing done:

  • Launched nvidia variants and validated CUDA workloads with the setting set to true and false
  • Oversubscribed instances with resource requests with the setting set to true and false
  • Bypassed the plugin with the envvar settings to allocate all GPUs to a container

In all these cases, the workloads did no throw any errors and behaved as expected.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@vigh-m vigh-m merged commit 903b9f7 into bottlerocket-os:develop Jan 13, 2025
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.

3 participants