Repository navigation
fix(inference): lower the host reserve floor to 6 GiB on dedicated-memory GPUs - #13963
Merged
Merged
Conversation
…emory A recipe service was budgeted as unified memory whatever GPU it named, so a recipe for a dedicated-memory GPU was checked against host RAM and its --gpu-memory-utilization was divided by host memory. A recipe now takes its memory architecture from the hardware profile whose GPU family includes compatibility.gpu, and a name outside every profile is rejected. A dedicated-memory recipe gets the GPU total and free memory checks and the GPU total as the divisor; its startup check uses startupHeadroomGiB in place of the fixed 20 GiB.
The dedicated-memory recipe test kept host total memory above the 60 GiB budget, so it would not catch a check of that budget against host RAM. It now uses a 48 GiB host. The reference's list of parser checks beyond the schema names the recipe GPU's hardware-profile check.
…mory GPUs A managed vLLM or Ollama service on a dedicated-memory GPU needed a hostReserveGiB of at least 28, a floor taken from a single DGX Spark recipe. With the fixed 20 GiB startup headroom, no service could start on a host with less than 48 GiB available. The floor is now 6 GiB for dedicated-memory profiles and dedicated hardware: the largest host-memory use measured while a managed vLLM and a managed Ollama service loaded on a GB300, rounded up. Unified-memory profiles and recipes keep 28 through a schema rule on the service. The default stays 32 and the 20 GiB headroom is unchanged.
Contributor
Author
Authoring session — opening
|
Contributor
|
v1 documentation preview: https://nvidia-preview-nemoclaw-v1-pr-13963.docs.buildwithfern.com/nemoclaw |
cv
added a commit
that referenced
this pull request
Nov 11, 2026
…ms (#14413) The release notes now list every user-visible change on `v1` since the `v0.1.0-rc9` tag, including the breaking ones, and four example pages drop claims that later changes made false. ## Problem `docs/about/release-notes.md` listed three breaking changes and none of the features, fixes, and onboarding changes that reached `v1` after `v0.1.0-rc9`; it didn't name the configuration shapes the parser now rejects or the intent record version `v0.1.0-rc9` writes. Some example claims went stale: - `examples/spark/README.md` said the pinned OpenShell has the Podman TLS initialization blocker, ai-openshell/openshell#3427; its fix merged before OpenShell 0.1.0, and `v1` pins 0.1.7. - `examples/station/README.md` and `examples/gtc-dc/README.md` required exactly one visible GPU on the host; since #13929, `container.gpuDevices` lets a service on a host with more GPUs request one. - `examples/hcl/travel-team` said Fabric's Deep Agents adapter can't turn reasoning off, NVIDIA/NeMo-Fabric#433; NVIDIA/NeMo-Fabric#439 fixed that, and the pinned catalog's Deep Agents `reasoning_effort` accepts `none`. - The travel team cited #13313 for the booking key its service doesn't receive, but #13313 closed when `openshell_api` landed. ## Change - `docs/about/release-notes.md` gains "Changes Since v0.1.0-rc9", grouped by area, from the commits in `v0.1.0-rc9..origin/v1`; where a later commit changed an earlier one, the entry describes the current code, and changes added and removed after the tag aren't listed: - Agents and interfaces: #14037, #14038, #14269, #13981, #14024, #14186, #14052, #14385, #13971, #13858, #13947, #14039, #14042, #14044, #14343. - Inference: #13929, #14391, #14396, #14398, #14400, #13963, #13912, #13964, #14388, #14390, #14397. - Gateways and Kubernetes: #13909, #13970, #13922 (an existing namespace, refused at plan by #13756, is now bound; cluster-wide reads dropped), #14014, #14169, #13921. - Plan, apply, and diagnostics: #14224, #13756, #14141, #14133, #14135, #13775, #13744, #13701. - Onboarding: #13693, #13695, #13741, #13757, #13851, #13978, #14228, #14233, #14334, #14336. - Examples and builds: #14166, #14184, #14188, #14191, #14192, #14200, #13889, #14267, #14312, #14315, #14355, b30e9b4, #13781, #13813, #14246, and the pins in `versions.json` and `image/fabric/Dockerfile`. - Its breaking changes since the tag: - the intent record moving from 15, which `v0.1.0-rc9` writes, through 16 (#14266), 17 (#14343), 18 (#13929), 19 (#14391) and 20 (#14394); - name-keyed `sandboxes` and `inferenceProviders` (#13703, #13705); - a recipe `compatibility.gpu` outside every hardware profile (#13912); - model tuning the adapter doesn't accept (#14111), and Hermes's `max_tokens` losing its default (#14296); - `skills.paths` resolution (#14296); - endpoint and `networkCIDR` validation (#13847, #14081); - the HCL `gateway_values` attribute (#14014), and Kubernetes ownership receipts from before #13922 and #14014. The two earlier items stay, under their own heading. - `examples/spark/README.md` replaces the closed OpenShell#3427 blocker with the Podman and remote-model limits in `docs/resources/limits.md`. - `examples/station/README.md` and `examples/gtc-dc/README.md` require one GPU visible in the model container, and point to `container.gpuDevices` for a host with more. - `examples/hcl/travel-team/README.md` and `WALKTHROUGH.md` drop the NeMo-Fabric#433 limitation, and the travel team's booking-key statements link #14417 instead of #13313. Not listed, because both changes landed after the tag: Deep Agents Code (#14043, #14250), `compatibility.gpuCount` (#14391, #14394), and the "Creating infrastructure state" progress step (#14169, #14248). Checked and left unchanged: the root `README.md`, `crates/nemoclaw-onboarding/README.md`, `crates/nemoclaw-cli/assets/README.md`, `internal-docs/README.md`, the other example READMEs, and every example YAML header comment. The GPU autoscaling README and `load.sh` read the JSON fields `OperationResult` serializes, and ai-openshell/openshell#4287 is fixed only after the pinned 0.1.7. The two pre-tag release-note items still match the schema and SDK. `docs/README.md` is left to #14412, which retires the stale field reference snapshot it describes. Not verified: whether Hermes sends the booking key's placeholder to MCP servers; #14417 tracks the live check. ## Beyond CI Each relative link and anchor in the changed files resolves to an existing file and heading.
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.
Failure
A managed vLLM or Ollama service on a dedicated-memory GPU needed
memory.hostReserveGiBof at least 28 (#13833). That floor came from MiaAI Lab's recipe for a single DGX Spark, a unified-memory host (credited incrates/nemoclaw-runtime/NOTICE.md). On dedicated memory, a service without a recipe needs the reserve plus a fixed 20 GiB of available host memory to start; a vLLM recipe uses its ownstartupHeadroomGiB(#13912). So no service without a recipe could start on a host with less than 48 GiB available, such as AWS's 16 and 32 GiB g4dn, g5 and g6 instances, whose T4, A10G and L4 GPUs have hardware profiles.Decision
flowchart LR Service["vLLM or Ollama service"] --> Dedicated["dedicated-memory profile<br/>or dedicated hardware"] Service --> Unified["unified-memory profile<br/>(dgx-spark, rtx-spark)"] Service --> Recipe["vLLM recipe"] Dedicated --> Six["hostReserveGiB 6 to 64"] Unified --> TwentyEight["hostReserveGiB 28 to 64"] Recipe --> TwentyEightif/thenrule on the service, beside the existing unified-memory rules.docs/models.mdand the runtimeNOTICE.mdgive the floor for each memory architecture.Measurement
v115df7d09bplus #13912 (a14871e87). Bundle0.1.0-dev.ece989e3c5b795d0.nc-13833-vllm@sha256:d47bd0f1b20a03a4f04781ed010255bff2029b749e57eb7e4306149158549045nc-13833-ollama@sha256:7185a30298fe74a746f5d8189bef3144e790e6f230213cf3dd84d19f8f3a1cd5nc-13833@sha256:7b65a6f0ba6bdf28bb268512f1781ce648aecf6d355e275a806e04f61b709319sha256:ca0bc15a…, supervisorsha256:fabcd01f…, sandboxsha256:e9adf9ec…Method.
nemoclaw apply. The deployment had a managed Docker gateway, one service with profilegb300and the default reserve, and a dummy-agent sandbox./proc/meminfoonce per second, as the runtime's startup check and watchdog do. It also read the service container's cgroup memory.loading:.MemAvailable: drop in windowgpuMemoryGiB20,kvCacheGiB6, eagerQwen/Qwen3-4B1cfa9a72…, 7.49 GiBgpuMemoryGiB14,contextTokens16384qwen3:8b500a1f06…, Q4_K_M 4.87 GiBWhat each run showed:
size_vramequal tosize) and returned 64 completion tokens.Limits of the measurement:
enforceEager: false) may use more host memory during load.v1d21a1d89b, which moves OpenShell to 0.1.6 and leaves the vLLM and Ollama images andcrates/nemoclaw-runtimeas they were.Validation
Each new behavioral test failed before the change, for the reason stated, and now passes:
config_schema::the_host_reserve_floor_is_6_gib_on_dedicated_memory_and_28_on_unified_memory_or_a_recipe:h100, on dedicated hardware (nemotron-amd64.yaml), and on Ollamal4. Now they accept 6 and reject 5.dgx-spark,rtx-spark, Ollamadgx-spark, the GB10 recipe and an H100 recipe. The error namesmemory.hostReserveGiBand "between 28 and 64".hardware_profiles::a_dedicated_memory_service_at_the_reserve_floor_starts_when_26_gib_are_available:check_memory), given a synthetic 31 GiB host with 26 GiB available, passes a vLLMh100service and an Ollamal4service. It refuses each 1 byte below that, withhost available memory (bytes).contract::the_runtime_accepts_a_6_gib_host_reserve_only_on_dedicated_memory:RuntimeSpec::decode, which the runtime runs on its spec when its container starts, refused 6 ona100. It now accepts 6 there and still refuses 6 onrtx-spark.Checks:
config_schemarejects 27 and accepts 28 ondgx-spark, and thertx-sparkruntime tests still decode a 28 GiB reserve.227fc54cf,schema --checkanddocs --checkpass.cargo cipassed locally at227fc54cf, which mergesv1d21a1d89b: fmt, clippy, build, 1,749 unit tests, schema, bundle, and 157 lifecycle tests.Deferred to CI:
fern checkin CD / Documentation, for the two changed docs pages; this host has no Node.js.cargo ciran on linux_arm64.Replaces #13914, which was stacked on #13912 (#13832) and closed to free a PR slot while it waited. #13912 has merged and its branch was deleted, so #13914 can't be reopened; this branch has the same diff, now against
v1. For #13833; PRs intov1don't close issues, so it needs closing by hand after merge. Part of #13837.