Skip to content

Allow user to opt out of specific CDI hooks #1050

@elezar

Description

@elezar

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.

Sub-issues

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions