Repository navigation
feat: request sandbox GPUs with spec.sandboxes.<name>.gpus - #14567
Merged
Merged
Conversation
Contributor
Author
Authoring session — openingAuthoring scope: the active fork, including the GPU implementation at
|
Contributor
…lytics # Conflicts: # crates/nemoclaw-sdk/src/state/mod.rs
…alidates Replace spec.sandboxes.<name>.resources.gpu.count with gpus, one count passed to OpenShell's resource_requirements.gpu.count. OpenShell validates the count, selects devices, and refuses requests its driver can't serve, so the provider no longer checks the count itself. Changing or removing the count replaces the sandbox through the generic rule for non-mutable inputs; the contract scenario confirmed removal without resetting omitted values. Export no longer compares the count, as it doesn't compare driverConfig, which is equally immutable. The docs show pinning devices with driverConfig cdi_devices. Remove tests that checked serde, schema, or compiled output, and the ignored journey for sandbox GPU access and host mounts. Refs #14648
cv
enabled auto-merge (squash)
November 19, 2026 09:53
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.
Configuration authors can request GPUs for sandbox programs with
spec.sandboxes.<name>.gpus, so agent tools can run GPU workloads independently of their inference route.Problem
No sandbox field sends OpenShell's GPU request, so a sandbox gets no GPU. Mounting CUDA libraries into an agent sandbox therefore doesn't give its tools GPU access, and OpenShell refuses
driverConfigcdi_deviceswithout a GPU request.Refs #14648, which records the accepted decision.
Change
gpuscount and pass it to OpenShell'sresource_requirements.gpu.count. OpenShell validates the count, selects devices, and refuses requests the selected driver can't serve.driverConfigcdi_devices, which the gateway checks against the count. Kubernetes takes only the count.NemoClaw adds no GPU validation of its own, doesn't compare the count on export (as with
driverConfig), and doesn't install CUDA libraries or change Fabric's adapter contract.Beyond CI
On a DGX Spark, a managed Hermes sandbox requested one GPU and ran cuDF 25.12 and cuOpt 25.12 from a read-only runtime volume. After a network-policy change replaced the sandbox, the runtime and generated skill kept identical fingerprints. Native Hermes resumed the original conversation, and a fresh conversation independently used the saved skill and both libraries. Export and reapply reported no changes. That run used the earlier
resources.gpu.countfield, which this PR renames togpus.The recording image included a separate local Fabric native-credential-routing fix that isn't part of this PR. Requests for several GPUs,
cdi_devicespinning, and Kubernetes GPU scheduling weren't exercised on the single-GPU Spark.