Repository navigation
chore(deps): upgrade the Docker provider to 4.7.0 and request GPU lists through gpus - #14482
Merged
Merged
Conversation
…ts through gpus Signed-off-by: Carlos Villela <[email protected]>
Collaborator
Author
Authoring session — opening
Cutoff: 2026-11-16T09:47Z. |
Signed-off-by: Carlos Villela <[email protected]> # Conflicts: # docs/about/release-notes.md
Contributor
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the bundled Docker provider from 4.6.0 to 4.7.0 and deletes the
device_requestsworkaround that 4.6.0 needed for a list of GPUs: managed vLLM and Ollama services now request any GPUs incontainer.gpuDevicesthroughgpus = "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 adevice_requestsblock with annvidiadriver for several GPUs, compared its IDs as a set because the block'sdevice_idsis a set, and documented the difference. 4.7.0 fixes the parsing (kreuzwerker/terraform-provider-docker#1020): a list ingpusbecomes one request for those IDs, in order, and reads back unchanged.Change
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'sSHA256SUMS, whose signature verifies with the registry-published keyF31236BA85096E3AE22A8C660DCE698927DAF8EC; 4.7.0 is source revision1a313708.Gpus::Devicescompiles togpus = "device=a,b"for one GPU or several, and the expected native request has an empty driver and the IDs in order, asdocker run --gpussends them.gpu_device_driverand thedevice_requestsbranch are deleted.gpusfor every list; it failed before the change, with thenvidiadriver. Thegpu_requestscontract tests send lists throughgpusto the fake engine and check the IDs arrive in order, read back without changes, and replace the container when they change.cpusformatter (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.gpuDevicesstill 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 samegpusvalue as before and aren't replaced.