diff --git a/crates/nemoclaw-runtime/src/ollama/runtime/process.rs b/crates/nemoclaw-runtime/src/ollama/runtime/process.rs index c33a0c24fea..00dad864bd0 100644 --- a/crates/nemoclaw-runtime/src/ollama/runtime/process.rs +++ b/crates/nemoclaw-runtime/src/ollama/runtime/process.rs @@ -16,7 +16,7 @@ pub(crate) struct Readiness { resident: u64, } /// llama.cpp's own per-device `--fit` margin, `fit_params_target` in -/// `common/common.h` of the llama.cpp revision Ollama v0.40.16 pins (b12177). +/// `common/common.h` of the llama.cpp revision Ollama v0.40.18 pins (b12651). /// NemoClaw never sets a smaller one. const LLAMA_FIT_TARGET_MIB: u64 = 1024; @@ -32,7 +32,7 @@ pub(crate) fn launch( let budget = hardware_capacity::budget(service, capacity)?; // `ollama serve --help` documents OLLAMA_GPU_OVERHEAD as a reserve on each // GPU, so the GPU with the most free memory sets it. Unified-memory GPUs - // report no framebuffer counters and get no reserve. Ollama v0.40.16 reads + // report no framebuffer counters and get no reserve. Ollama v0.40.18 reads // it only for logs, the default context size, and its MLX runner; GGUF // layer fitting uses llama.cpp's margin, LLAMA_ARG_FIT_TARGET, below. let overhead = capacity diff --git a/docs/agents-inference/inference.md b/docs/agents-inference/inference.md index a0de2b7f85d..ad2523289de 100644 --- a/docs/agents-inference/inference.md +++ b/docs/agents-inference/inference.md @@ -329,7 +329,7 @@ NemoClaw leaves placement across GPUs to Ollama and doesn't set `OLLAMA_SCHED_SP The runtime computes one per-GPU reserve, the largest free memory among the container's GPUs minus the GPU budget, and passes it in two settings that `ollama serve --help` documents: - `OLLAMA_GPU_OVERHEAD`, "Reserve a portion of VRAM per GPU (bytes)". - Ollama v0.40.16, the version the runtime image pins, reads it for its logs and its default context size, not to place a GGUF model. + Ollama v0.40.18, the version the runtime image pins, reads it for its logs and its default context size, not to place a GGUF model. - `LLAMA_ARG_FIT_TARGET`, "Target free VRAM margin per device for llama.cpp fit (MiB)", rounded up to whole MiB. llama.cpp leaves this much free on each GPU when it fits the model's layers. When the reserve is below llama.cpp's own margin of 1,024 MiB, the runtime leaves the setting unset and llama.cpp's margin applies. diff --git a/image/fabric/Dockerfile b/image/fabric/Dockerfile index 0d4eea2282c..a60fa9e2997 100644 --- a/image/fabric/Dockerfile +++ b/image/fabric/Dockerfile @@ -1,12 +1,12 @@ -# syntax=docker/dockerfile:1@sha256:4edf897a3ffa55b89f906fc8cc78afdb3f1834cc9c7083565e611a8a7d5fe99e +# syntax=docker/dockerfile:1@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # Move bun-LICENSE.md in versions.json to the release's commit with Bun. -ARG BUN_IMAGE=oven/bun:1.4.4-slim@sha256:1846adf22496bd711036aae8be147e57bdebbaea2e5264e3e0b5af1db187d9a4 -ARG NODE_IMAGE=node:26.13.1-trixie-slim@sha256:e6bedef217677b276c591795e169840edd9096dbf13f29df8ef8d1856b8820bc -ARG PYTHON_IMAGE=python:3.14.10-slim-trixie@sha256:af8a5aa14780025dbfbcfbc81bd8a91ebd87711dd5b0f48ed71090949dd7cb1d -ARG RUST_IMAGE=rust:1.100.0-slim-trixie@sha256:e9d95b74296f7126a83ae3d041aeaba1ff4c478f13abc5cc034fcf7c131c3d4a -ARG UV_IMAGE=ghcr.io/astral-sh/uv:0.13.8@sha256:5cc1805e2426484abca4ad46ea783bab281fdb225fd82d8ce6d66a81254bac85 +ARG BUN_IMAGE=oven/bun:1.4.5-slim@sha256:b780593f3e10918cbdaec3d5a08d52224b9198069a65eb47812085c2ec007643 +ARG NODE_IMAGE=node:26.13.1-trixie-slim@sha256:abe7e5a82b61a8ef67b315b85497c9e65173387ccf2f4a029248184b8e020be5 +ARG PYTHON_IMAGE=python:3.14.10-slim-trixie@sha256:22eafb370920ad8b429e0aec3fff433e0669968519f5d60469d83729c138b28b +ARG RUST_IMAGE=rust:1.100.0-slim-trixie@sha256:3b199fd6db7d709274df56565b8f4003f9e30d7bfcff9d53148c86053b7855e2 +ARG UV_IMAGE=ghcr.io/astral-sh/uv:0.13.10@sha256:a3ea1357342c1a4bf9a0c53a3deb1b55379aefa037338d8113d5771efa01774f # The remote sources this image copies, such as the Fabric source every harness # installs, are pinned under imageSources.fabric in versions.json; Bake passes # them as the sources context, which `cargo images fetch` fills. diff --git a/image/llama-cpp/Dockerfile b/image/llama-cpp/Dockerfile index 647c3b1ae8c..7e054c6559e 100644 --- a/image/llama-cpp/Dockerfile +++ b/image/llama-cpp/Dockerfile @@ -1,4 +1,4 @@ -# syntax=docker/dockerfile:1@sha256:4edf897a3ffa55b89f906fc8cc78afdb3f1834cc9c7083565e611a8a7d5fe99e +# syntax=docker/dockerfile:1@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # Bake supplies the supervisor context from image/supervisor/Dockerfile, and diff --git a/image/nim/Dockerfile b/image/nim/Dockerfile index 3f975c1bc2c..750b55bdbb1 100644 --- a/image/nim/Dockerfile +++ b/image/nim/Dockerfile @@ -1,4 +1,4 @@ -# syntax=docker/dockerfile:1@sha256:4edf897a3ffa55b89f906fc8cc78afdb3f1834cc9c7083565e611a8a7d5fe99e +# syntax=docker/dockerfile:1@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # NIM 2.0.12 multi-platform index. Native scripts, models and licenses stay upstream-owned. diff --git a/image/ollama-proxy/Dockerfile b/image/ollama-proxy/Dockerfile index a954ca1fda9..45bcc099c75 100644 --- a/image/ollama-proxy/Dockerfile +++ b/image/ollama-proxy/Dockerfile @@ -1,7 +1,7 @@ -# syntax=docker/dockerfile:1@sha256:4edf897a3ffa55b89f906fc8cc78afdb3f1834cc9c7083565e611a8a7d5fe99e +# syntax=docker/dockerfile:1@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 -ARG RUST_IMAGE=rust:1.100.0-alpine@sha256:de1e0058543a81ed7b046629167db587c67a94bdf37cce14eb27f0ec83baaffb +ARG RUST_IMAGE=rust:1.100.0-alpine@sha256:8d0e82abfdf9a38071e07cabc5afba4ddbe077631a80e4e742a760c38beadc33 # Package the proxy and its locked dependency sources before compiling it. FROM ${RUST_IMAGE} AS source diff --git a/image/ollama/Dockerfile b/image/ollama/Dockerfile index ed69764f45f..3da18277f0d 100644 --- a/image/ollama/Dockerfile +++ b/image/ollama/Dockerfile @@ -1,9 +1,9 @@ -# syntax=docker/dockerfile:1@sha256:4edf897a3ffa55b89f906fc8cc78afdb3f1834cc9c7083565e611a8a7d5fe99e +# syntax=docker/dockerfile:1@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # Bake supplies the supervisor context from image/supervisor/Dockerfile, and # the sources context from `cargo images fetch`, as versions.json pins them. -FROM ollama/ollama@sha256:910d0d8107b538fb0894e63163eb195de0cc7aefcbc666dc62d3b18f71124592 +FROM ollama/ollama@sha256:1cabd20e1762a7a8444bf4a7110b346d923cd77ab6c97c984434140638c913ec COPY --from=supervisor /nemoclaw-runtime /usr/local/bin/nemoclaw-runtime COPY --from=supervisor /supervisor-source.tar.gz /rust-COPYRIGHT-library.html /opt/nemoclaw/source/ COPY --from=supervisor /Cargo.lock /opt/nemoclaw/source/supervisor/Cargo.lock diff --git a/image/ollama/NOTICE.md b/image/ollama/NOTICE.md index 85d1b57b903..6beb7491f59 100644 --- a/image/ollama/NOTICE.md +++ b/image/ollama/NOTICE.md @@ -3,10 +3,10 @@ # Managed Ollama Runtime Sources -This artifact extends the upstream Ollama 0.40.16 image, pinned by the multi-platform manifest digest in its Dockerfile. +This artifact extends the upstream Ollama 0.40.18 image, pinned by the multi-platform manifest digest in its Dockerfile. The overlay retains the unmodified Ollama MIT license at `/opt/nemoclaw/source/ollama-LICENSE`, downloaded with the pinned SHA-256 in its Dockerfile. It preserves the base image filesystem and does not replace existing upstream notices. -[Ollama 0.40.16](https://github.com/ollama/ollama/tree/v0.40.16) is distributed under its [MIT license](https://github.com/ollama/ollama/blob/v0.40.16/LICENSE). +[Ollama 0.40.18](https://github.com/ollama/ollama/tree/v0.40.18) is distributed under its [MIT license](https://github.com/ollama/ollama/blob/v0.40.18/LICENSE). The NemoClaw integration added on 2026-09-18 supplies the shared supervisor and selects it as the entrypoint. It does not patch Ollama source. diff --git a/image/supervisor/Dockerfile b/image/supervisor/Dockerfile index 3f2e68e3204..8f525852439 100644 --- a/image/supervisor/Dockerfile +++ b/image/supervisor/Dockerfile @@ -1,10 +1,10 @@ -# syntax=docker/dockerfile:1@sha256:4edf897a3ffa55b89f906fc8cc78afdb3f1834cc9c7083565e611a8a7d5fe99e +# syntax=docker/dockerfile:1@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # The runtime supervisor that the vLLM and Ollama images run, with the sources # they retain. Bake builds it for the host's platform only, so it never # compiles under emulation. -ARG RUST_IMAGE=rust:1.100.0-bookworm@sha256:ade39a710ef85f3506cffcfec3e8a24ba090badef1dff2fb798f71d878833fea +ARG RUST_IMAGE=rust:1.100.0-bookworm@sha256:1b9dc70890ec494e466c87f5ad41ad544bfb30ea6acc99a3e068c47a4ae3f23e # The supervisor's Cargo package and its locked dependency sources, with their # licenses: the archive the runtime images retain and compile from. diff --git a/image/vllm/Dockerfile b/image/vllm/Dockerfile index cedf2805136..71188b689c6 100644 --- a/image/vllm/Dockerfile +++ b/image/vllm/Dockerfile @@ -1,10 +1,10 @@ -# syntax=docker/dockerfile:1@sha256:4edf897a3ffa55b89f906fc8cc78afdb3f1834cc9c7083565e611a8a7d5fe99e +# syntax=docker/dockerfile:1@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # Bake supplies the supervisor context from image/supervisor/Dockerfile. # Retain uv's original release source and locked dependency sources without # replacing the executable inherited from the upstream image. -ARG RUST_IMAGE=rust:1.100.0-bookworm@sha256:ade39a710ef85f3506cffcfec3e8a24ba090badef1dff2fb798f71d878833fea +ARG RUST_IMAGE=rust:1.100.0-bookworm@sha256:1b9dc70890ec494e466c87f5ad41ad544bfb30ea6acc99a3e068c47a4ae3f23e FROM ${RUST_IMAGE} AS uv-source ARG SOURCE_DATE_EPOCH WORKDIR /source diff --git a/internal-docs/contributing/image-licenses.md b/internal-docs/contributing/image-licenses.md index f88e1aa6891..0132916dc2e 100644 --- a/internal-docs/contributing/image-licenses.md +++ b/internal-docs/contributing/image-licenses.md @@ -135,7 +135,7 @@ Releases after `v0.1.0-rc11` leave the image out instead; see [Images Releases D #### Bun in `opencode` -Bun 1.4.4 is MIT-licensed and statically links JavaScriptCore and TinyCC under LGPL-2.1, as [its license](https://github.com/oven-sh/bun/blob/bun-v1.4.4/LICENSE.md) states. +Bun 1.4.5 is MIT-licensed and statically links JavaScriptCore and TinyCC under LGPL-2.1, as [its license](https://github.com/oven-sh/bun/blob/bun-v1.4.5/LICENSE.md) states. LGPL-2.1 requires that recipients can relink a statically linked executable against a modified library; Bun publishes its [patched WebKit](https://github.com/oven-sh/webkit) and its relinking instructions for that. The SBOM lists Bun without a license, and Bun's image carries no license file. @@ -175,7 +175,7 @@ The supervisor's source archive keeps its crates' license files. |---|---|---| | [Agent image sources](../../image/NOTICE.md) | The images drop Node.js's license, which carries the notices of the libraries its executable bundles | The `hermes`, `openclaw`, and `pi` images keep it at `/usr/local/share/doc/node/LICENSE` | | [Agent image sources](../../image/NOTICE.md) | OpenClaw's published image, which supplies `/app`, omits OpenClaw's MIT license | The `openclaw` image keeps the license from OpenClaw's 2026.9.34 release at `/opt/nemoclaw/source/openclaw-LICENSE` | -| [Agent image sources](../../image/NOTICE.md) | Bun's image omits Bun's license | The `opencode` image keeps Bun 1.4.4's license at `/opt/nemoclaw/source/bun-LICENSE.md` | +| [Agent image sources](../../image/NOTICE.md) | Bun's image omits Bun's license | The `opencode` image keeps Bun 1.4.5's license at `/opt/nemoclaw/source/bun-LICENSE.md` | | [Agent image sources](../../image/NOTICE.md) | The Claude Code CLI's terms aren't recorded | The notice names the bundled CLI and its terms | | [Hermes image source](../../image/fabric/HERMES-NOTICE.md) | `/opt/hermes` keeps Hermes's MIT license, and the Switchyard bundle keeps its own | None | | No notice | The proxy keeps only its own license and `Cargo.lock`, not the notices of the crates, Rust standard library, and musl it links | The proxy keeps each locked crate's license files and manifest under `/usr/share/doc/nemoclaw-ollama-proxy/dependencies`, and Rust's library notices, which include musl's, in `rust-COPYRIGHT-library.html` beside them | diff --git a/internal-docs/contributing/release-candidates.md b/internal-docs/contributing/release-candidates.md index 57f4ea3c787..c9aa266f79a 100644 --- a/internal-docs/contributing/release-candidates.md +++ b/internal-docs/contributing/release-candidates.md @@ -93,6 +93,13 @@ OpenTofu 1.13.10: - The bundle's OpenTofu is 1.13.10, built with Go 1.27.4 for GO-2026-6859, an HTTP/1 server crash. `tofu test` overrides resources in indexed modules correctly. +Images: + +- The managed Ollama runtime image builds on Ollama 0.40.18, which bundles llama.cpp b12651. + Rebuild it to use it. +- The OpenCode image builds with Bun 1.4.5, and the agent images with uv 0.13.10. +- The agent, runtime, supervisor, and Ollama proxy images build on current digests of the same Node.js 26.13.1, Python 3.14.10, and Rust 1.100.0 tags. + ### Changes in v0.1.0-rc12 These changes reached `v1` between the `v0.1.0-rc11` and `v0.1.0-rc12` tags. diff --git a/versions.json b/versions.json index 1f99af8817f..1c07e4ceee3 100644 --- a/versions.json +++ b/versions.json @@ -1,7 +1,7 @@ { "opentofu": "1.13.10", "openshell": "0.1.10", - "ollama": "0.40.16", + "ollama": "0.40.18", "platforms": { "linux_arm64": { "rustupInit": { @@ -173,7 +173,7 @@ "sha256": "73571b25326281d369087f469842c02444fe39faaecebda4d82ed21ff3a1c29d" }, "bun-LICENSE.md": { - "url": "https://raw.githubusercontent.com/oven-sh/bun/38afee6c84fcf48c0edb2466aa4b27d287a59c30/LICENSE.md", + "url": "https://raw.githubusercontent.com/oven-sh/bun/a7733435cf40429e3b35c36072769df2052b80f1/LICENSE.md", "sha256": "362fe32c954ec829240bd7429c53d705eef08c6bfa45ffc2d02005f857cba4dd" }, "codex-LICENSE": { @@ -447,7 +447,7 @@ }, "ollama": { "ollama-LICENSE": { - "url": "https://raw.githubusercontent.com/ollama/ollama/d63b702609c4300a2ca07be2bdb0adb9834725e5/LICENSE", + "url": "https://raw.githubusercontent.com/ollama/ollama/924cc286cc592f49c481fa84e15fa60dbc75989e/LICENSE", "sha256": "5934ed2ce0d15154bcdb9c85203210abac0da4314af34081e36df4599f90b226" } },