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.