Skip to content

feat(images): add a llama.cpp runtime image - #14636

Merged
cv merged 3 commits into
v1from
cv/llama-cpp-image
Nov 19, 2026
Merged

cv merged 3 commits into
v1from
cv/llama-cpp-image

Conversation

@cv

@cv cv commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

CI / Images and release staging build a llama.cpp runtime image, llama-cpp, for linux/arm64 and linux/amd64: llama.cpp's CUDA 13.5 server image with NemoClaw's supervisor added, as the vLLM and Ollama images add it. No service runs it yet; #14611 adds the runtime behavior on top of it.

Problem

v1 builds and releases runtime images only for vLLM and Ollama, so managed llama.cpp has no image to run.
That image needs CUDA kernels for GB300 (sm_103) and GB10 (sm_121a) on both architectures, and llama.cpp's non-native CUDA builds gained sm_103 only with fe14cad5 ("CUDA: add SM103 SASS to non-native builds").

Part of #14556; #14611 adds the service.

Change

  • image/llama-cpp/Dockerfile starts from ghcr.io/ggml-org/llama.cpp:server-cuda13-b12375, pinned by its multi-platform digest sha256:c1c63d621e3a87c31680d538a0009ac83d165ef04d13bad84683dbb20c114fbe.
    fe14cad5 first shipped in release b12367, but llama.cpp publishes images from daily builds, and b12375 (source 9d25e0014c4b4b316873c01f4938c0e3c687287d, which contains fe14cad5) is the first server-cuda13 image after it.
    On both architectures its CUDA backend carries machine code for sm_86, sm_89, sm_103, sm_120a, and sm_121a, and PTX for sm_75, sm_80, and sm_90.
  • The image adds the supervisor and retained sources exactly as the Ollama image does. llama.cpp's image keeps no llama.cpp license, so versions.json pins llama.cpp's MIT license and the license files of the vendored libraries its server compiles in, and the image keeps them in /opt/nemoclaw/source/; the notice records the source, the kernels, and the CUDA and Ubuntu notices the base keeps.
  • Bake's runtimes group gains the llama-cpp target, so release staging builds, scans, joins, and lists it with the vLLM and Ollama images, and the release catalog reserves its name.
  • CI / Images gains a llama.cpp runtime / PLATFORM job beside the Build jobs. It builds the image and runs llama-server --version and the supervisor's --version in it. It isn't a required check.
  • The supervisor gains --version, which prints its package version without reading a specification.
  • The build guide, notices, release notes, release, testing, and image license docs list the image; CUDA 13.5, like vLLM's CUDA 13.0, needs NVIDIA driver 580 or newer.

The base pin lives in the Dockerfile's FROM, as the vLLM and Ollama pins do; Bake can't read versions.json.
Left for #14611: the image's org.nemoclaw.* labels, the service kind, its schema, and the llama.cpp runtime.
Like the vLLM and Ollama images, the image isn't rebuilt when only the supervisor changes.

Beyond CI

On a DGX Spark (GB10, driver 580.178.04, Linux ARM64), the image built with docker buildx bake llama-cpp. In it, llama-server --version reported build 12375, commit 9d25e0014, the supervisor's --version printed nemoclaw-runtime 0.1.0, and llama-server --list-devices with the GPU listed CUDA0: NVIDIA GB10.
cuobjdump --list-elf and --list-ptx on both platforms' libggml-cuda.so showed the architectures above.
Inference on a GPU and the release staging job, which runs only for a tag, are unverified.

Add a llama-cpp Bake target in the runtimes group: llama.cpp's CUDA 13.5 server image from release b12375, pinned by digest, with NemoClaw's supervisor added the way the vLLM and Ollama images add it. CI / Images builds it on both platforms and runs its server's and the supervisor's version commands, and release staging builds, scans, and lists it with the other runtime images. The supervisor gains --version.

Signed-off-by: Carlos Villela <[email protected]>
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 19, 2026
@cv

cv commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness partial Pi 1.5.2, with the Pit TypeScript tool Install path in the session's system prompt; the session record names only its schema version
Skills recorded write-tests (complete read); test-driven-development (complete read); nemoclaw-contributor-create-pr (complete read) Skill file reads in the session record to the cutoff
Instruction files recorded AGENTS.md (injected); WRITING.md (complete read); .github/PULL_REQUEST_TEMPLATE.md (complete read); .github/SESSION_REPORT_TEMPLATE.md (complete read) Startup context and file reads in the session record to the cutoff
Tool calls partial typescript: 86 Wrapper calls in the session record to the cutoff, including 4 failed ones; the wrapper hides its nested shell, git, and GitHub calls
Tokens recorded input: 11368324; cached input: 10996200; output: 76009 Sum of the 86 assistant messages' usage counters (input + cacheRead + cacheWrite; cacheRead; output) to the cutoff; every message reports nonzero counters
Session window recorded 2026-11-19T02:50Z to 2026-11-19T03:28Z; 38 min First session entry to the cutoff, including idle time
Compactions recorded 0 No compaction entries in the session record; context edits elided absorbed tool results without compacting
Models recorded azure/anthropic/claude-opus-5-5 One model change entry at session start; every assistant message names this model
Reasoning levels recorded high One thinking-level entry at session start; no changes

@github-actions

Copy link
Copy Markdown
Contributor

cv added 2 commits November 18, 2026 20:39
Signed-off-by: Carlos Villela <[email protected]>

# Conflicts:
#	docs/about/release-notes.md
@cv
cv merged commit 5223fdc into v1 Nov 19, 2026
82 checks passed
@cv
cv deleted the cv/llama-cpp-image branch November 19, 2026 04:38
@cv cv added the v1 NemoClaw v1 branch label Nov 19, 2026
cv added a commit that referenced this pull request Nov 20, 2026
#14716)

The v1 release notes record what reached `v0.1.0-rc12` as that release
candidate's own changes and breaking changes, record what reached `v1`
after its tag, and add the managed llama.cpp service to the support
matrix. The release guide lists the `llama-cpp` package that staging
requires.

## Problem

`docs/about/release-notes.md` listed everything after `v0.1.0-rc11` as
unreleased, although `v0.1.0-rc12` is tagged at
1636069. Three user-visible changes in
it had no note: #14567, #14611, and #14594. The onboarding line from
#14598 and #14652 sat under rc11, although both merged after its tag.
The support matrix didn't list managed llama.cpp or its GPU case.

Staging `v0.1.0-rc12` first failed because
`ghcr.io/nvidia/nemoclaw/v1/llama-cpp` didn't exist: #14636 added the
image to staging, but `internal-docs/contributing/releases.md` doesn't
list its package among those a maintainer creates.

## Change

- Relabel "Changes Since v0.1.0-rc11" and "Breaking Changes Since
v0.1.0-rc11" as "Changes in v0.1.0-rc12" and "Breaking Changes in
v0.1.0-rc12", between the `v0.1.0-rc11` and `v0.1.0-rc12` tags, and
point the two links to them.
- Add "Changes Since v0.1.0-rc12" with what merged after the tag: the
Fabric `v0.7.0` pin (#14714), and apply pulling and reading every agent
image before it creates the gateway, with plan and the onboarding review
reporting an absent image (#14701). #14706, #14709, and #14717 change
only documentation. Add an empty "Breaking Changes Since v0.1.0-rc12".
- Add notes to rc12's changes:
- #14567: `spec.sandboxes.<name>.gpus` requests GPUs for an agent's
tools.
- #14611: a `kind: llamaCpp` service serves one pinned GGUF on one CUDA
GPU; `kind: nim` remains a candidate, with #14556's qualification
record.
  - #14594: images keep the license notices their components require.
- Move the line on choosing the one local image that installs the
harness (#14598, #14652) from rc11's section to rc12's.
- Support matrix: llama.cpp and the native NIM candidate in the `docker`
row; Model Services rows for managed llama.cpp, which the
`docker-openclaw-llama-cpp` case runs on the GPU runner, and for native
NIM, qualified by hand; the GPUs text covers llama.cpp and NIM hardware
checks and sandbox `gpus`.
- `internal-docs/contributing/releases.md`: list `llama-cpp` with the
packages a maintainer creates before staging.

Release candidates have no users, so the notes add no migration steps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant