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

Add feature to require kernel module #764

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

elezar
Copy link
Member

@elezar elezar commented Oct 30, 2024

This change adds a require-nvidia-kernel-modules feature flag that allows the logic for checking whether the nvidia kernel modules are loaded to be incorportated into the runtime itself.

This has the following advantages:

  1. It allows support for platforms that don't have a shell (see Replace shell wrapper with a Go wrapper #700)
  2. It allows low-level runtimes other than runc to be used.

This change adds an opt-in feature to the NVIDIA Container Runtime that
only uses the NVIDIA runtime if the NVIDIA kernel modules are loaded.

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar force-pushed the add-feature-to-require-kernel-module branch from bf34b13 to ac61306 Compare October 30, 2024 14:22
@elezar elezar requested a review from tariq1890 October 30, 2024 15:39
@elezar elezar marked this pull request as ready for review October 30, 2024 15:39
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.

1 participant