Skip to content

agent: add DisableNvidia config switch - #309

Open
Anson Qian (anson627) wants to merge 1 commit into
mainfrom
add-config-disable-nvidia
Open

agent: add DisableNvidia config switch#309
Anson Qian (anson627) wants to merge 1 commit into
mainfrom
add-config-disable-nvidia

Conversation

@anson627

Copy link
Copy Markdown

This pull request introduces a new DisableNvidia option to the agent configuration, allowing users to explicitly disable NVIDIA GPU detection and runtime setup. The implementation ensures that when DisableNvidia is set to true, all related NVIDIA functionality is bypassed, even if NVIDIA devices are present on the host. The change is thoroughly tested and documented.

@anson627
Anson Qian (anson627) requested a review from a team June 22, 2026 17:09
@plombardi89

Copy link
Copy Markdown
Collaborator

I feel like DisableNvidia is a bit too simplistic of a flag. What if we had a dedicated configuration block for Nvidia or really any other GPU driver wanted to support, for example:

{
  "gpu": {
    "kind": "amd", "nvidia", "intel", "none" // none used when someone wants to do their own thing. `none` would also the be the default if `gpu` block is null.
    "nvidia": { /* nvidia customization options */ }
    "amd": { /* amd customization options */ }
    "intel": ... same pattern ...
  }
}

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.

2 participants