Repository navigation
feat(images): add a llama.cpp runtime image - #14636
Merged
Merged
Conversation
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]>
Collaborator
Author
Authoring session — opening
|
Contributor
…tore Signed-off-by: Carlos Villela <[email protected]>
Signed-off-by: Carlos Villela <[email protected]> # Conflicts: # docs/about/release-notes.md
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.
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.
CI / Images and release staging build a llama.cpp runtime image,
llama-cpp, forlinux/arm64andlinux/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 gainedsm_103only withfe14cad5("CUDA: add SM103 SASS to non-native builds").Part of #14556; #14611 adds the service.
Change
image/llama-cpp/Dockerfilestarts fromghcr.io/ggml-org/llama.cpp:server-cuda13-b12375, pinned by its multi-platform digestsha256:c1c63d621e3a87c31680d538a0009ac83d165ef04d13bad84683dbb20c114fbe.fe14cad5first shipped in release b12367, but llama.cpp publishes images from daily builds, and b12375 (source9d25e0014c4b4b316873c01f4938c0e3c687287d, which containsfe14cad5) is the firstserver-cuda13image after it.On both architectures its CUDA backend carries machine code for
sm_86,sm_89,sm_103,sm_120a, andsm_121a, and PTX forsm_75,sm_80, andsm_90.versions.jsonpins 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.runtimesgroup gains thellama-cpptarget, so release staging builds, scans, joins, and lists it with the vLLM and Ollama images, and the release catalog reserves its name.llama.cpp runtime / PLATFORMjob beside theBuildjobs. It builds the image and runsllama-server --versionand the supervisor's--versionin it. It isn't a required check.--version, which prints its package version without reading a specification.The base pin lives in the Dockerfile's
FROM, as the vLLM and Ollama pins do; Bake can't readversions.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 --versionreported build 12375, commit9d25e0014, the supervisor's--versionprintednemoclaw-runtime 0.1.0, andllama-server --list-deviceswith the GPU listedCUDA0: NVIDIA GB10.cuobjdump --list-elfand--list-ptxon both platforms'libggml-cuda.soshowed the architectures above.Inference on a GPU and the release staging job, which runs only for a tag, are unverified.