Repository navigation
Description
Description
NemoClaw onboarding on N1x Linux Laptop fails: the vLLM container deployed by express install is OOM-killed (exit 137) during model loading, and the host becomes unresponsive (SSH disconnects). The N1x deferred preview path bypasses the platform-qualification blocker, but the vLLM container then exceeds available memory on the unified-memory architecture.
Platform scope: Reproduced on N1x Linux Laptop only; other platforms not tested
Regression: No — N1x support is new (deferred preview in v0.0.115)
OpenShell issue: No
Environment
| Field | Value |
|---|---|
| Device | N1x Linux Laptop (RTX Spark N1X) |
| OS | Ubuntu 24.04.4 LTS |
| Architecture | aarch64 |
| Kernel | 7.0.0-1015-nvidia |
| GPU Driver | 615.69 |
| CUDA | 13.4 |
| Node.js | v22.23.2 |
| npm | 10.9.8 |
| Docker | 29.2.1 |
| OpenShell CLI | 0.0.106 |
| NemoClaw | v0.0.115 |
| OpenClaw | N/A (onboard not completed) |
| Total RAM | 61 GiB (unified GPU+CPU pool) |
Steps to Reproduce
- On an N1x Linux Laptop, run:
curl -fsSL https://www.nvidia.com/nemoclaw.sh | NEMOCLAW_INSTALL_TAG=v0.0.115 bash - The installer detects N1x and enters the "Deferred N1x preview" path
- Preflight checks pass (Node.js, Docker, NemoClaw CLI, OpenShell CLI all installed)
- The installer pulls the vLLM container image and downloads the nvidia/Qwen3.6-35B-A3B-NVFP4 model
- The vLLM container starts with parameters:
--gpu-memory-utilization 0.4 --max-model-len 262144 --moe-backend marlin --kv-cache-dtype fp8 --attention-backend flashinfer --load-format fastsafetensors - During model loading (~67% safetensors progress), the container is killed (exit 137 / OOM)
- The host becomes unresponsive and SSH disconnects
Expected Result
NemoClaw onboarding should either:
(a) Successfully deploy vLLM with memory parameters appropriate for the N1x unified-memory architecture (61 GiB shared GPU+CPU pool), or
(b) Detect that the N1x memory configuration cannot support the selected model and report a clear error before attempting deployment
Actual Result
The vLLM container is OOM-killed during safetensor model loading. The existing container logs (docker logs nemoclaw-vllm) show:
- vLLM v0.21.0 loading nvidia/Qwen3.6-35B-A3B-NVFP4
- Warning: "N1x GPU 0 reports [N/A] for both total and free memory. NemoClaw cannot pre-validate --gpu-memory-utilization=0.4 on this unified-memory platform"
- Model loading reaches approximately 67% before the container is killed
- Container exits with code 137 (SIGKILL / OOM)
- The host becomes unresponsive and SSH disconnects
Root cause: N1x has a unified memory architecture where 128 GB physical LPDDR5 is shared between GPU and CPU. torch.cuda.mem_get_info() reports ~61.6 GiB total, which is the same pool as system RAM. --gpu-memory-utilization 0.4 allocates ~24.6 GiB for CUDA, but CPU-side overhead during fastsafetensors loading (torch.compile, memory mapping) also draws from the same pool, exceeding total available memory and triggering the OOM killer, which then makes the host unresponsive.
nvidia-smi memory queries return N/A on N1x, so NemoClaw cannot pre-validate the memory budget.
Logs
Container logs (captured before reinstall attempt, from prior vLLM run on same host):
vLLM version: v0.21.0+2325b6f0.dev
Model: nvidia/Qwen3.6-35B-A3B-NVFP4
Loading safetensors: progress reached ~67% (2/3 of model shards)
Container exit code: 137 (OOM-killed)
NemoClaw installer output (from user terminal):
[INFO] Detected N1x. Skipping express prompt (no TTY).- Resolved install ref: v0.0.115
- Preflight: all checks passed
- vLLM container started, then killed within ~4 minutes
- Host became unresponsive after container OOM (SSH disconnected)
Activity
sandl99 commentedon Sep 1, 2026
Maintainer decision
Decision: Accept
Reason and placement: Accept as a fix to the existing Deferred N1x managed-vLLM preview. The N1x preset must use a dedicated host-local vLLM recipe sized for the physical N1x unified-memory behavior. This does not create a supported-platform claim or change DGX Spark defaults.
Accountable maintainer: @sandl99
Accepted scope and lifecycle: Add an N1x-only recipe for
nvidia/Qwen3.6-35B-A3B-NVFP4using the existing pinned image, model download, host-local container, readiness, recovery, receipt, resume, and uninstall lifecycle. Set--gpu-memory-utilization 0.6,--max-model-len 32768,--max-num-seqs 1, and--max-num-batched-tokens 4096. Preserve the existing Spark recipe and the N1x Deferred qualification state. Operator serve-argument overrides remain available.Compatibility and security: The change is limited to the N1x catalog preset. It must preserve current CUDA/CDI checks, immutable image and model revisions, shell-safe argument materialization, model-cache ownership, and GPU-telemetry handling. The relevant security risk is host availability from shared-memory exhaustion; tests must prove that N1x gets the bounded recipe and Spark does not change.
Validation plan:
0.6 / 32768 / 1 / 4096and the Spark command retains0.4 / 262144 / 4 / 8192.0.6 / 32768 / 1 / 4096; an exact-commit integrated rerun and completion of the remaining Express onboarding steps are still required before claiming a complete E2E or promoting N1x from Deferred.sandl99 commentedon Sep 1, 2026
Implementation and physical evidence update
PR #10625 now contains commit
0469b9681153cf62447b8394a324ae6ced0fe842with the accepted N1x-only recipe:--gpu-memory-utilization 0.6--max-model-len 32768--max-num-seqs 1--max-num-batched-tokens 4096The N1x preset selects that dedicated recipe. The DGX Spark recipe remains unchanged at
0.4 / 262144 / 4 / 8192.The physical parameter-level N1x run reached these outcomes with the accepted values:
vLLM ready on localhost:8000.nvidia/Qwen3.6-35B-A3B-NVFP4model was detected.vllm-localprovider was created.For comparison, the earlier
0.4run loaded all three model shards and then reportedAvailable KV cache memory: -0.41 GiBbefore failing withValueError: No available memory for the cache blocks.Local validation for commit
0469b9681passed the catalog compiler and consistency check, 611 vLLM tests across 24 files, 19 managed-catalog tests, the CLI build, documentation validation, focused pre-commit checks, andnpm run validate:pr. GitHub reports the commit signature as Verified.This is not yet exact-commit physical evidence for the integrated recipe and does not show completion of onboarding steps 4 through 8. Keep N1x Deferred until that rerun and the remaining Express E2E evidence are recorded.
fix(inference): tune N1x vLLM serving envelope (#10625)