Skip to content

Allow user to opt out of specific CDI hooks #1050

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

Open
elezar opened this issue Apr 25, 2025 · 0 comments
Open

Allow user to opt out of specific CDI hooks #1050

elezar opened this issue Apr 25, 2025 · 0 comments
Assignees
Milestone

Comments

@elezar
Copy link
Member

elezar commented Apr 25, 2025

When running the nvidia-ctk cdi generate command, a user should be able to opt-out of specific hooks. This is important for hooks such as enable-cuda-compat which are controlled by feature-flags in the context of the nvidia-container-runtime, but these flags are not honoured by nvidia-ctk cdi generate (see also #939).

The nvcdi API does allow certain named hooks to be skipped and at the very least this should be exposed as CLI arguments.

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

No branches or pull requests

2 participants