Skip to content

Install NVIDIA's container toolkit when setting up a local model on an NVIDIA machine - #17330

Merged
dhh merged 1 commit into
quattrofrom
worktree-agent-local-nvidia-packages
Nov 2, 2026
Merged

dhh merged 1 commit into
quattrofrom
worktree-agent-local-nvidia-packages

Conversation

@dhh

@dhh dhh commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Setting up a first local model with omarchy agent local use now also installs nvidia-container-toolkit when omarchy-hw-nvidia finds an NVIDIA GPU, alongside Podman and crun.

The model containers reach an NVIDIA GPU through the CDI spec (AddDevice=nvidia.com/gpu=all). The toolkit writes that spec to /var/run/cdi/nvidia.yaml when it's installed and again at every boot, through the units it ships under multi-user.target.wants. GB10 desktops already get the toolkit as a default package. N1x laptops don't, so a model there had no GPU device. omarchy-pkg-add skips sudo when everything is already present, so the wrapper now passes the whole list on every use.

This is needed for the Nemotron 3.5 Bolt recipe in omacom/omarchy-local-ai#1, the first NVIDIA recipe in the catalog. docs/local-models.md and manual/17-ai.md now say what's installed.

Testing

  • ./test/cli passes.
  • On an N1x with everything installed, the edited wrapper went straight to the engine without asking for sudo.
  • After installing the toolkit, the CDI spec appeared without a reboot.

🤖 Generated with Claude Code

@dhh
dhh merged commit 81be644 into quattro Nov 2, 2026
2 checks passed
@dhh
dhh deleted the worktree-agent-local-nvidia-packages branch November 2, 2026 07:59
@greptile-apps

greptile-apps Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

omarchy-agent-local use now requests nvidia-container-toolkit alongside Podman and crun when omarchy-hw-nvidia finds a GPU.

  • Local model setup adds NVIDIA’s toolkit when it finds an NVIDIA GPU.

Reviews (1) · Last reviewed commit: "Install NVIDIA's container toolkit when ..." · Reviewed by Greptile

@emirb emirb added this to the 4.6.0 milestone Nov 5, 2026
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 5, 2026
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