Skip to content

Conversation

@elezar
Copy link
Member

@elezar elezar commented Oct 23, 2025

Although there is overlap, the runtime modes (auto, legacy, csv, cdi, jit-cdi, wsl) are not directly usable as nvidia-ctk cdi generate modes as these don't include (legacy, cdi, jit-cdi).

This change removes reading the CDI generate mode from the config file as this prevents automatic CDI spec generation in cases where a user has updated their config to override the mode (e.g. explicitly set it to legacy or cdi).

This changes the behaviour added in #1107.

Fixes #1376

Although there is overlap, the runtime modes (auto, legacy, csv, cdi, jit-cdi, wsl)
are not directly usable as nvidia-ctk cdi generate modes as these don't include
(legacy, cdi, jit-cdi).

This change removes reading the CDI generate mode from the config file as this
prevents automatic CDI spec generation in cases where a user has updated their
config to override the mode (e.g. explicitly set it to legacy or cdi).

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar added this to the v1.18.1 milestone Oct 23, 2025
@elezar elezar added the bug Issue/PR to expose/discuss/fix a bug label Oct 23, 2025
@elezar
Copy link
Member Author

elezar commented Oct 23, 2025

/cherry-pick release-1.18

@elezar elezar merged commit b715dc8 into NVIDIA:main Oct 23, 2025
13 checks passed
@elezar
Copy link
Member Author

elezar commented Oct 23, 2025

/cherry-pick release-1.18

@github-actions
Copy link

🤖 Backport PR created for release-1.18: #1381

@elezar elezar deleted the fix-generate-mode-from-file branch October 23, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue/PR to expose/discuss/fix a bug cherry-pick/release-1.18

Projects

None yet

Development

Successfully merging this pull request may close these issues.

invalid discovery mode: cdi

2 participants