Skip to content

chore(deps): upgrade the Docker provider to 4.7.0 and request GPU lists through gpus - #14482

Merged
cv merged 2 commits into
v1from
cv/docker-provider-4.7.0
Nov 16, 2026
Merged

cv merged 2 commits into
v1from
cv/docker-provider-4.7.0

Conversation

@cv

@cv cv commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Moves the bundled Docker provider from 4.6.0 to 4.7.0 and deletes the device_requests workaround that 4.6.0 needed for a list of GPUs: managed vLLM and Ollama services now request any GPUs in container.gpuDevices through gpus = "device=ID[,ID...]". Hand-written HCL must require Docker provider 4.7.0.

Problem

Docker provider 4.6.0 split gpus = "device=0,1" on commas and sent GPU 0 with a count of 1, which Docker refuses (kreuzwerker/terraform-provider-docker#1019). The SDK therefore wrote a device_requests block with an nvidia driver for several GPUs, compared its IDs as a set because the block's device_ids is a set, and documented the difference. 4.7.0 fixes the parsing (kreuzwerker/terraform-provider-docker#1020): a list in gpus becomes one request for those IDs, in order, and reads back unchanged.

Change

  • Pins: versions.json (version and the five platform archives), the bundle builder's accepted version and source note, the SDK's provider version, the HCL examples' required_providers, and the provider reference table. The archive checksums come from the release's SHA256SUMS, whose signature verifies with the registry-published key F31236BA85096E3AE22A8C660DCE698927DAF8EC; 4.7.0 is source revision 1a313708.
  • GPU requests: Gpus::Devices compiles to gpus = "device=a,b" for one GPU or several, and the expected native request has an empty driver and the IDs in order, as docker run --gpus sends them. gpu_device_driver and the device_requests branch are deleted.
  • Tests: the SDK unit test now expects gpus for every list; it failed before the change, with the nvidia driver. The gpu_requests contract tests send lists through gpus to the fake engine and check the IDs arrive in order, read back without changes, and replace the container when they change.
  • CPU limits: the comment on the CPU quota now cites 4.7.0, which still updates limits in place without the CFS quota, so the limit labels that force replacement stay. 4.7.0 also fixes the cpus formatter (fix(container): read cpus back without replacing the container kreuzwerker/terraform-provider-docker#1017), so the old comment's reason for the integer quota no longer holds; the quota itself stays.
  • container.gpuDevices still takes one entry until Serve one model across several GPUs on one host with managed vLLM and Ollama #14384 lands, so single-GPU deployments compile to the same gpus value as before and aren't replaced.

@cv

cv commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness partial Pi (Pit TypeScript tool) Session header records the session schema and working directory, not the Pi version
Skills recorded test-driven-development (complete read); write-tests (complete read); nemoclaw-contributor-create-pr (complete read, in two reads) Skill reads to cutoff
Instruction files partial AGENTS.md (injected); WRITING.md, internal-docs/design/scope.md, internal-docs/contributing/agent-image-maintenance.md, .github/PULL_REQUEST_TEMPLATE.md, .github/SESSION_REPORT_TEMPLATE.md (complete reads); internal-docs/contributing/testing.md (partial read) Injections and reads to cutoff; testing.md's middle sections were truncated in the record
Tool calls partial typescript: 203 Includes failed calls; the TypeScript wrapper hides its nested host calls
Tokens recorded input: 47674216; cached input: 47298094; output: 129772 Sum of assistant message usage to cutoff (input + cacheRead + cacheWrite; cacheRead; output)
Session window recorded 2026-11-16T08:58Z to 2026-11-16T09:47Z; 48 min First event to cutoff, including idle time; the session also authored the other dependency PRs
Compactions recorded 0 Complete record to cutoff; context elisions are not compactions
Models recorded azure/anthropic/claude-opus-5-5 Model change events; no later changes
Reasoning levels recorded high Thinking-level change events

Cutoff: 2026-11-16T09:47Z.

Signed-off-by: Carlos Villela <[email protected]>

# Conflicts:
#	docs/about/release-notes.md
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit f1606aa into v1 Nov 16, 2026
64 checks passed
@cv
cv deleted the cv/docker-provider-4.7.0 branch November 16, 2026 10:19
cv added a commit that referenced this pull request Nov 16, 2026
Move the release notes that reached v1 after the v0.1.0-rc10 tag (#14480, #14481, #14482, #14483) into the sections since v0.1.0-rc10.

Signed-off-by: Carlos Villela <[email protected]>
cv added a commit that referenced this pull request Nov 16, 2026
The v1 release notes now list `v0.1.0-rc10`'s changes under their own
headings and start "since `v0.1.0-rc10`" sections, so contributors add
new entries there and readers can tell what the release candidate
contains.

## Problem

`docs/about/release-notes.md` lists everything that reached `v1` after
the `v0.1.0-rc9` tag under "Changes Since v0.1.0-rc9". `v0.1.0-rc10` is
being tagged on 5716c39 (#14429), so those entries are now rc10's
contents, and later changes need a separate place. rc9 left no
per-candidate section, so this sets the convention.

## Change

- "Product Changes" gets a "Changes Since v0.1.0-rc10" section, followed
by "Changes in v0.1.0-rc10", which keeps the existing entries and says
they reached `v1` between the `v0.1.0-rc9` and `v0.1.0-rc10` tags.
- "Breaking Changes and Migration" keeps its general intro and gets
matching "Breaking Changes Since v0.1.0-rc10" and "Breaking Changes in
v0.1.0-rc10" sections; the existing list moves under the latter
unchanged.
- The entries labeled "Earlier changes" (`updatePolicy: Preserve` and
the removed `spec.gateway.image`) were already in `v0.1.0-rc9`, so they
get an "Earlier Breaking Changes" heading instead of falling under
rc10's.
- Each intro links to its matching breaking-changes section. No other
page links to the old `#changes-since-v010-rc9` anchor,
`#breaking-changes-and-migration` still exists, and no contributing
guide names the section.
- The entries that #14480, #14481, #14482, and #14483 added after the
`v0.1.0-rc10` tag move to the sections since `v0.1.0-rc10`, so those
sections no longer say "None yet." The rc10 sections match
`v0.1.0-rc10:docs/about/release-notes.md`, including its pinned
component versions.
- The statement that v1 has no release yet stays: release-candidate tags
stage private drafts.

Signed-off-by: Carlos Villela <[email protected]>
cv added a commit that referenced this pull request Nov 16, 2026
…us (#14491)

Managed vLLM and Ollama containers on Docker now get
`container.cpuLimitMillis` through the Docker provider's `cpus`
attribute, so NemoClaw no longer computes a CFS quota or adds a label to
force replacement when the limit changes.

## Problem

Before Docker provider 4.7.0, `cpus` read back in a different format and
replaced the container on every apply
(kreuzwerker/terraform-provider-docker#1017), so NemoClaw set
`cpu_period` and `cpu_quota` itself, raised quotas below 1 ms to the
kernel's minimum, and added a `nemoclaw.nvidia.com/cpu-limit-millis`
label, because the provider changes `cpu_quota` in place without sending
it to Docker. Provider 4.7.0, pinned since #14482, fixes the read-back,
and `cpus` forces replacement.

## Change

- `docker_container` sets `cpus` to the limit as a CPU count, such as
`"1.25"` for 1250 millicores, and drops `cpu_period`, `cpu_quota`, and
the CPU label. The native container configuration sets `NanoCpus` to
match.
- Removes the quota computation and its 1 ms minimum: Docker accepts
`--cpus 0.001` and the runtime raises the quota to the kernel's minimum
itself.
- Changing `cpuLimitMillis` still replaces the container, now because
the provider marks `cpus` as forcing replacement; `updatePolicy:
Preserve` refuses it.
- The memory label stays: the provider still lowers memory on a running
container in place.
- The first apply after this change replaces a model container that sets
`cpuLimitMillis`; the release notes list this as a breaking change.

## Beyond CI

With OpenTofu 1.13.9, Docker provider 4.7.0, and Docker Engine 29.6.2 on
linux/arm64, a `docker_container` with `cpus` planned `["delete",
"create"]` with `replace_paths = [["cpus"]]` for each change (1.25, 2,
0.01, 12, 0.001), set `HostConfig.NanoCpus` to the authored value, and
planned no changes on the unchanged reapply, including `2` read back as
`2.0`. A container with `--cpus 0.001` ran with `cpu.max` `1000 100000`.

---------

Signed-off-by: Carlos Villela <[email protected]>
@wscurran wscurran added area: local-models Local model providers, downloads, launch, or connectivity area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance platform: container Affects Docker, containerd, Podman, or images v1 NemoClaw v1 branch labels Nov 16, 2026
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: local-models Local model providers, downloads, launch, or connectivity area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance platform: container Affects Docker, containerd, Podman, or images v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants