Repository navigation
fix(inference): let a managed model service name the GPU it uses - #13929
Conversation
On a Docker host with more than one NVIDIA GPU, a managed vLLM or Ollama
container received every GPU, and the runtime's one-GPU check stopped it
("managed inference requires exactly one observable GPU"). Nothing selected a
GPU, and CUDA_VISIBLE_DEVICES doesn't help because nvidia-smi ignores it.
`container.gpu` names one GPU by UUID or index, as `docker run --gpus device=`
does. It compiles to the Docker provider's `gpus = "device=<id>"` and to a
DeviceIDs request in the native spec; omitting it keeps `gpus = "all"`. A
change replaces the model container, so `Preserve` refuses it.
An unquoted YAML index such as gpu: 1 is a number, which the schema rejects; the guide and the field description now show it quoted.
|
v1 documentation preview: https://nvidia-preview-nemoclaw-v1-pr-13929.docs.buildwithfern.com/nemoclaw |
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
The Docker GPU selector is within the accepted direction in #13080. This PR cannot be approved yet against #13743's recorded completion criteria:
Please keep this PR in draft until the multi-GPU evidence and scope decision are recorded. The current |
Review of #13929 noted that docs/models.md described multi-GPU use before any run on such a host. models.md now states only what the source shows: without container.gpu the model container gets every GPU and the runtime stops on a host with two or more, and container.gpu asks Docker for one named GPU. It and inference.md then say managed vLLM and Ollama haven't been run with it on a host with two or more GPUs, linking #13743, as docs/limits.md asks of procedure pages. inference.md also uses "two or more GPUs" throughout and keeps one sentence per source line.
At b03d28b, kubernetes_live::oidc failed on linux_amd64 because the OpenShell sandbox supervisor's readiness probe was refused. The same suite passed 7/7 on linux_amd64 and linux_arm64 at 365b373, and b03d28b changes only docs/models.md and docs/inference.md. The token can't rerun Actions jobs, so this empty commit starts a new run.
remote_service::remote_model_reapply_and_drift_keep_bindings_and_stop_on_observation_failure took 90.0 s on linux_amd64 against its 90 s budget; this change doesn't touch that test, which took 54.7 s on #13929's run.
v1's #14146 dropped the vLLM Preserve scenario in remote_service, which this branch had extended with the GPU-change check, and kept replacement protection in the Ollama scenario. The GPU check now runs at the end of that Ollama scenario, so it still exercises the pinned Docker provider without another Docker-over-SSH runtime. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Hai Nguyen <haingu@nvidia.com>
container.gpu adds a field to the deployment document, which changes the intent record's schema. Since v1's #14266, the_intent_record_format_changes_only_with_its_version requires a version bump with the new fingerprint, so a release refuses state another release wrote instead of misreading it. The release notes now name version 17. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Hai Nguyen <haingu@nvidia.com>
Managed vLLM and managed Ollama ran with container.gpu on a host with eight NVIDIA H200 NVL GPUs, each in its own container on a different GPU: vLLM named GPU 7 by UUID and Ollama named GPU 6 by index. Each container listed only its GPU in nvidia-smi, each runtime passed its one-GPU check, and an OpenClaw agent on each service replied. Without container.gpu, both runtimes stopped with "managed inference requires exactly one observable GPU". As the pull request planned, recording this run removes the sentences in models.md and inference.md and the #13743 row in limits.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Hai Nguyen <haingu@nvidia.com>
|
@rsliter, the multi-GPU run your review asked for is now recorded for both runtimes; the description's Beyond CI has the host, revision, and image digests. On an AMD64 host with eight NVIDIA H200 NVL GPUs, at
Can you take another look? @cv, the review's other open point is your decision on #13928, which splits #13743's item 2, host observation through the Since the review,
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Hai Nguyen <haingu@nvidia.com>
A service with SSH placement, the only route for Podman and external gateways, runs on the remote host's Docker engine, so the UUID or index that container.gpu takes has to come from nvidia-smi there, not from the machine that runs nemoclaw. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Hai Nguyen <haingu@nvidia.com>
Authoring session — opening
|
The base now includes v1 at e2ce51c and NVIDIA#13929's multi-GPU run, which removed its NVIDIA#13743 limits row. This branch had widened that row to cover the capacity data sources' gpu and dropped the NVIDIA#13928 row. The resolved docs/resources/limits.md keeps one row: a read with gpu hasn't been run on a host with two or more GPUs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Hai Nguyen <haingu@nvidia.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Hai Nguyen <haingu@nvidia.com>
Signed-off-by: Carlos Villela <cvillela@nvidia.com> # Conflicts: # crates/nemoclaw-sdk/src/state/mod.rs
Rename the vLLM and Ollama services' container.gpu string to container.gpuDevices, a list that accepts exactly one GPU until one model can be served across several. The item rules reject duplicates, so lifting the limit needs no new rule. Process now carries one Gpus value: none, every GPU, or a device list. The native spec sends every listed device. The Docker graph writes gpus = "device=<id>" for one device and refuses several, because Docker provider v4.6.0 reads device=0,1 as GPU 0 and a count of 1; a contract test pins that reading. Signed-off-by: Carlos Villela <cvillela@nvidia.com>
Authoring session — follow-up
|
#13929 landed in v1 as fc7e944 with container.gpuDevices, a list, instead of the container.gpu string this branch carried. Take v1's version of everything #13929 owns, and keep this branch's own change: the capacity data sources' GPU input and the host observation behind it. The SDK now exports v1's GPU_DEVICE pattern for the provider to reuse. Signed-off-by: Carlos Villela <cvillela@nvidia.com>
#13929 landed the managed service's GPU selection as container.gpuDevices, a list with exactly one entry, and #13928's decision is that the capacity data sources' input follows that shape. Replace the gpu string with a gpu_devices list: each entry a lowercase GPU UUID or an index from "0" to "999", checked against the SDK's GPU_DEVICE pattern, no repeats, and exactly one entry, with #13929's "serving one model across several GPUs isn't implemented yet" error. The collectors still pass the one GPU to nvidia-smi --id. Signed-off-by: Carlos Villela <cvillela@nvidia.com>
…GPU (#13964) The `vllm_capacity` and `ollama_capacity` data sources take an optional `gpu_devices` list, in the shape of a managed service's `container.gpuDevices`, and observe only the GPU it lists, so they can measure a host with two or more GPUs. The list takes exactly one GPU for now. Without `gpu_devices`, observation is unchanged. ## Problem The `vllm_capacity` and `ollama_capacity` data sources can't measure a host with two or more GPUs. Both host collectors, local and SSH, run `nvidia-smi` with no device filter, and the shared parser stops with "managed inference requires exactly one observable GPU". #13929's `container.gpuDevices` gives a model container one GPU, but nothing passes a GPU to host observation, and a contract doesn't carry `container` settings. Resolves #13928, which is #13743's "Done when" item 2: "Host hardware observation reports only the named GPU when several are present". #13743 still needs a recorded run on a host with two or more GPUs that starts managed vLLM and Ollama with their GPU selection and reads a capacity data source with it. Part of #13837. ## Change - **Input:** both data sources take an optional `gpu_devices`, a list of strings, as #13928's decision asks: its shape follows `container.gpuDevices`. - Each entry is a lowercase GPU UUID or an index from `"0"` to `"999"`, checked against #13929's `GPU_DEVICE` pattern, which the SDK now exports as `config::GPU_DEVICE`. - The list takes exactly one entry, and its error says that serving one model across several GPUs isn't implemented yet. Repeats are refused on their own, so lifting the limit needs no new rule. - An invalid list fails offline at `gpu_devices` without echoing the value; an unknown list or entry waits. - **Observation:** `HostObserver::observe` takes `gpu: Option<&str>`, the one listed GPU. - The local collector adds `--id=<gpu>` to each of its four `nvidia-smi` queries. - The SSH collector script takes the GPU as its one argument, quoted like the script itself, and adds the same flag. - The parsers and the one-GPU rule are unchanged, and without `gpu_devices` nothing changes. - **A GPU the host doesn't have:** `nvidia-smi` exits nonzero, so observation fails instead of reading every GPU. Locally the error is "GPU observation failed or exceeded limit"; over SSH it is "observation transport failed", which doesn't name the GPU. - **Runtime or provider,** #13928's open question: only the `nvidia-smi` runner is in the provider. The runtime's `nvidia::populate_with` becomes public and now sets the architecture, as `populate` did, so the provider supplies a runner with the program path and `--id` without copying the query order. Inside the containers, `populate` behaves as before. - **What it can't check:** the data source can't tell which GPU a listed service uses, and `account` still adds the listed budgets against the one GPU. The docs say to list only the services whose `container.gpuDevices` lists that GPU, with one data source per GPU. - **Tests,** against a fake `nvidia-smi` that reports an H100 at index 0 and an L4 at index 1: - `hardware::ssh::tests::the_collector_reads_only_a_named_gpu_and_refuses_two_without_one` runs the shipped script as the SSH host's login shell receives it. - `hardware::observation::tests::the_local_collector_reads_only_a_named_gpu_and_refuses_two_without_one` runs `LocalHost::observe` against a fixture engine. - `capacity::tests::a_capacity_read_observes_only_the_gpu_it_lists` and `capacity::tests::capacity_gpu_devices_list_one_uuid_or_index` cover the data source's input. - No test covers `SshHost::observe` passing the GPU to `ssh`; the SSH test runs the command line that `observe` sends, built by the same function. - **Docs:** `docs/references/provider.md` describes `gpu_devices`, and `docs/resources/limits.md` drops the #13928 row that #13929 added. ## Beyond CI These runs used this change's earlier input, a `gpu` string naming one GPU, from a build before #13929 merged. `gpu_devices = ["<id>"]` passes the same value to the same collectors, as `a_capacity_read_observes_only_the_gpu_it_lists` checks, but the runs haven't been repeated with the list. On an AMD64 host with eight NVIDIA H200 NVL GPUs and driver 615.71.10, a `vllm_capacity` and an `ollama_capacity` read through the bundled OpenTofu, each with the contract NemoClaw generates for a managed service with the `h200` profile: - **Build:** the bundle came from `abe79a647`. - **Without a GPU:** both reads stopped with "managed inference requires exactly one observable GPU". - **With `gpu = "6"` and with GPU 7's UUID:** both reads returned `compatible = true` and `observed_bytes = 150754820096`, one GPU's 143,771 MiB. A logging wrapper on `PATH` showed each of the provider's four `nvidia-smi` queries carrying `--id` with that value. `nvidia-smi --query-gpu=index,uuid` reports GPU 6 for `--id=6` and GPU 7 for the UUID, and GPU 6 is the one Docker gave a model container that #13929's earlier field named `"6"` on that host. - **With `gpu = "9"`,** which the host doesn't have: both reads stopped with "GPU observation failed or exceeded limit". - The GPUs are identical, so the outputs alone don't show which GPU was read; filling GPU 6 to 9.5 GiB free didn't change them either, because the read compares budgets with total memory. The shipped SSH collector script, run with `sh -c` on the same host: - Without a GPU, each GPU section listed all eight GPUs, which the parser refuses. - With `6`, and with GPU 7's UUID, each section listed one GPU. - With `9`, which the host doesn't have, `nvidia-smi` printed "No devices were found" and the script stopped with exit status 6. On a host with one GB300 and driver 615.71.09, the script read the GPU by index `0` and by UUID, and GPU `5` stopped it with exit status 6. Not run: a capacity read with `gpu_devices`, a capacity read over SSH placement through `SshHost::observe` on a host with two or more GPUs, and #13743's combined run. --------- Signed-off-by: Hai Nguyen <haingu@nvidia.com> Signed-off-by: Carlos Villela <cvillela@nvidia.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Carlos Villela <cvillela@nvidia.com>
…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.
Corrects the inference, model, recipe, SSH placement, and limits pages, the inference parts of the provider reference, and the generated configuration reference where they disagree with `v1`, for users who configure managed or external inference. ## Problem An audit of these pages against the commits since `v0.1.0-rc9` and the current code found statements that `v1` contradicts. For example, `inference.md` says a model change restarts the runtime inside the existing sandbox, but a changed agent configuration replaces the sandbox and deletes its files and conversations. Several limits link issues that are resolved or decided, and two describe gaps that CI's live cases now cover. ## Change Each change and what makes it necessary: - **Sandbox replacement** (`inference.md`, twice): a model, settings, or image change replaces the agent's sandbox. `compile.rs` sets `replace_triggered_by` on the agent configuration (#13375), and `usage.md`'s change path already says so. - **Default memory limit** (`inference.md`, `ServiceContainer.memoryLimitGiB` doc comment): NemoClaw sets the 104 GiB limit (`DEFAULT_MEMORY_LIMIT_GIB`); Docker has no such default. - **Fields Ollama rejects** (`inference.md`): `kind: ollama` has no `kvCacheGiB`, `batchTokens`, `recipe`, `serving.modelName`, or `authentication`, and its schema objects set `additionalProperties: false`, so a zero value is rejected too; the page said only nonzero values were. - **GPU selection** (`inference.md` managed Ollama prerequisites, `models.md` Nemotron example): a host with several GPUs works when `container.gpuDevices` selects one (#13929). - **Managed Ollama replies** (`inference.md`, `limits.md`): CI's `docker-openclaw-hermes-ollama` live case gets a Hermes reply through managed Ollama with `qwen3:0.6b` on the Linux AMD64 GPU runner, so "GPU inference and agent replies have not been tested" is replaced by what the case covers; tool use and other GPUs stay limits. The Hermes context section now says only what was observed: `Qwen/Qwen3-4B` can't meet Hermes's 64,000-token minimum, and Hermes replied with `qwen3:0.6b` at 32,768 tokens in that case; it no longer states an unverified mechanism. The limits row also covers harnesses other than Hermes. - **Linux AMD64 row removed** (`limits.md`): the hosted live cases reach agent replies on Linux AMD64 on every CI run. - **SSH engines** (`remote-service.md`, `limits.md`): retained-data removal on SSH engines is verified and the Docker procedure covers it (#12640, completed); the SSH capacity collector is a POSIX shell script, not Python (`hardware/ssh.rs`); SSH placement on GPU hardware has no live test (#12641). - **Decided issues** (`inference.md`, `limits.md`): a managed NIM service is not planned, and NIM works as an external endpoint (#12649); network-request approval and policy explanation belong to OpenShell's policy advisor, and `grants` replace presets (#12651), now two rows. The DGX Station rows, whose issues closed for replanning, point to #12641. - **Provider reference** (`provider.md`): `openshell_inference` takes a readiness `ref` as `server` (#13252), so the "until inference registrations take the ref" workaround is gone. Each deployment is one OpenTofu root (#13254, #13286), so the readiness and gateway sections describe one generated graph, in which OpenShell objects wait for every runtime resource and readiness read, instead of separate runtime and OpenShell graphs. Not checking external servers is by design (#13256). - **Plan-time configuration checks** (`agents.md`): #13319 is closed; #14148 tracks checking at plan time. - **Diagnostic limit** (`models.md`, `limits.md`): once a command's OpenTofu diagnostics exceed 16 KiB, the SDK replaces them with `child output exceeds the supported limit` (`process.rs`, #14399), which can hide vLLM's exit excerpt. - **Parser names** (`models.md`): NemoClaw checks only a parser name's form (`PARSER` in `vllm/constraints.rs`); vLLM rejects an unknown parser at startup, and the stop detail carries its error (#14397). - **Several GPUs** (`inference.md`, `models.md`): the statements about several selected GPUs apply once #14384 lifts `container.gpuDevices`'s one-entry limit, and the pages say so. - **Speculative tokens** (`recipes.md`): `serving.speculativeTokens` works only with a recipe and passes `--speculative-config` with the `mtp` method (`arguments.rs`, `vllm/schema.rs`); no guide described it. - **Configuration reference**: the container descriptions mention GPU selection, and the guide links for `ServiceContainer`, `ServiceUpdatePolicy`, the Ollama types, `ExternalOllama`, and `ServiceAuthentication` point to their sections instead of the general usage page. `Overrides.model` names each managed service's served model (`served_model` in `vllm/config.rs`, `services/registry.rs`); it named only vLLM's. The generator's dead `OllamaProxy` arm is removed. Regenerated with `nemoclaw-build schema`. Checked and left unchanged: the recent multi-GPU changes (#14388 to #14401), the vLLM bearer route filter, timeout budgets, profile catalog, memory reserves, hardware profiles, onboarding catalogs, Ollama and vLLM pins, image tags, interface pages, and the OAuth-refresh guide match `v1`. Left for follow-up, because no open issue tracks them: - Limits and `inference.md` sentences link issues closed for replanning with no successor: #12035 (llama.cpp, Model Router, Gemini), #12038 (hosted-provider guides), #12144, #12037, #12137, and #12042. - `agents.md` links #13313 for Hermes not sending API placeholders to MCP servers; #13313 tracked the `api` credential type. - The OpenClaw walkthrough row links #13372, which is fixed; whether the walkthrough was rehearsed afterward is unrecorded.
Managed vLLM and Ollama services on Docker can list the GPU their container gets in
spec.services.<name>.container.gpuDevices, so they start on a host with two or more GPUs. The list takes exactly one GPU for now. The new field changes the intent record, which moves to version 18: this release refuses deployments that an earlier build created.Problem
On a Docker host with two or more NVIDIA GPUs, managed vLLM and Ollama services don't start.
The generated graph asks the Docker provider for
gpus = "all", so the model container sees every GPU, and the model runtime'snvidia-smicheck inside it stops with "managed inference requires exactly one observable GPU".No field selects a GPU, and
CUDA_VISIBLE_DEVICESdoesn't help becausenvidia-smiignores it.A DGX Station with an extra RTX or display GPU can't run a managed model for the same reason.
Part of #13743: what is left is its item 2, host observation through the
vllm_capacityandollama_capacitydata sources, which #13928 tracks.Change
container.gpuDevicesonkind: vllmandkind: ollamaservices lists the GPUs the model container gets, asdocker run --gpus device=names them: each a lowercaseGPU-…UUID, asnvidia-smi --query-gpu=uuidprints it, or an index from"0"to"999"as a string.all, a MIG ID, an uppercase or malformed UUID, or a non-canonical index, because each goes straight into the provider'sdevice=syntax.managed::Processreplacesgpu: boolandgpu_devicewith onegpus: Gpusvalue:None,All, orDevices.DeviceIDsrequest with every listed device.gpus = "device=<id>"for one device. The SDK refuses to compile two or more: Docker provider v4.6.0 splitsgpuson commas, so it readsdevice=0,1as GPU 0 and a count of 1, which Docker rejects, despite its documenteddevice=0,2example. Thegpu_requestscontract test pins both readings against the bundled provider, so multi-GPU serving must choose another request form.updatePolicy: Preserverefuses it andRecreatereplaces the container. The pinned Docker provider plans agpuschange as delete and create, so no replacement label is needed, unlike CPU and memory.remote_service's Ollama replacement scenario runs this against the pinned provider.the_intent_record_format_changes_only_with_its_versionrequires since fix(state)!: refuse another release's state by its intent record version #14266. The release notes say so.docs/agents-inference/inference.md,models.md, anddocs/references/provider.mddescribe the field.docs/resources/limits.mdgains a [Docker] Let the capacity data sources observe only the GPU a service names #13928 row: the capacity data sources still refuse a host with two or more GPUs.kind: containerservices keep their booleancontainer.gpu, which exposes every GPU.Beyond CI
A live run on an AMD64 host with eight NVIDIA H200 NVL GPUs, driver 615.71.10, Docker 29.9.2 with the NVIDIA runtime as its default and CDI enabled, and NVIDIA Container Toolkit 1.20.1.
It used this change's earlier field, a
container.gpustring naming one GPU.container.gpuDevices: [<id>]compiles to the samegpus = "device=<id>"and the same Docker device request, asa_named_gpu_reaches_opentofu_and_the_native_device_requestchecks, but the run hasn't been repeated with the new field.52448fb81, this branch withv1ate2ce51c70merged. The runtime images were pinned through a loopback registry: vLLMsha256:14b55fe8056bb53e2ec62bf3c5d2e950ac34b4119c3f94399a46f79a7909b9f0, Ollamasha256:a892aa9375c51724d9862a8eca8b1a7f82d516880126992b163b609ef950a19c, and OpenClawsha256:8e3999aa08bb73743fcdc3875cdd796dd7ca0ca2eaca967b22c21b0d8fabccca.Qwen/Qwen3-4B, theh200profile) and a managed Ollama service (qwen3:0.6b), each serving its own OpenClaw sandbox.container.gpu: both model containers gotDeviceRequests: [{"Count":-1,…}], both runtimes stopped with "managed inference requires exactly one observable GPU", and apply failed.container.gpu: vLLM named GPU 7 by UUID and Ollama named"6", withupdatePolicy: Recreate. Plan showed both model containers as delete and create, and apply completed.DeviceIDs: ["GPU-7f4f9ee9-…"]andDeviceIDs: ["6"]. Inside each container,nvidia-smilisted only that GPU.Not run: SSH placement on a host with two or more GPUs, a host whose GPUs differ, such as a DGX Station with a display GPU, and ARM64.