Skip to content

[N1x Linux][Onboard] Express install vLLM OOM-killed during onboarding — host becomes unresponsive #10552

Closed

Description

@JoyceChenNV

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

  1. On an N1x Linux Laptop, run: curl -fsSL https://www.nvidia.com/nemoclaw.sh | NEMOCLAW_INSTALL_TAG=v0.0.115 bash
  2. The installer detects N1x and enters the "Deferred N1x preview" path
  3. Preflight checks pass (Node.js, Docker, NemoClaw CLI, OpenShell CLI all installed)
  4. The installer pulls the vLLM container image and downloads the nvidia/Qwen3.6-35B-A3B-NVFP4 model
  5. 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
  6. During model loading (~67% safetensors progress), the container is killed (exit 137 / OOM)
  7. 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

  1. added
    NV QA
    needs: triage
    UAT
    on Aug 28, 2026
  2. added
    area: local-models
    area: onboarding
    platform: n1x
    provider: vllm
    on Aug 28, 2026
  3. added theissue type on Aug 28, 2026
  4. removed
    needs: triage
    on Aug 28, 2026
  5. self-assigned this
    on Aug 31, 2026
  6. self-assigned this
    on Sep 1, 2026
  7. sandl99 commented on Sep 1, 2026

    @sandl99
    Collaborator

    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-NVFP4 using 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:

    • Compile the managed-inference catalog and assert the N1x preset selects the dedicated recipe.
    • Assert the generated N1x serve command contains 0.6 / 32768 / 1 / 4096 and the Spark command retains 0.4 / 262144 / 4 / 8192.
    • Run focused CLI, resolver, catalog, documentation, and PR validation.
    • Record physical N1x evidence for the tested commit. The parameter-level run has reached a ready vLLM endpoint and created the provider with 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.
  8. sandl99 commented on Sep 1, 2026

    @sandl99
    Collaborator

    Implementation and physical evidence update

    PR #10625 now contains commit 0469b9681153cf62447b8394a324ae6ced0fe842 with the accepted N1x-only recipe:

    • --gpu-memory-utilization 0.6
    • --max-model-len 32768
    • --max-num-seqs 1
    • --max-num-batched-tokens 4096

    The 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 served on port 8000 after about 5 minutes.
    • NemoClaw reported vLLM ready on localhost:8000.
    • The expected nvidia/Qwen3.6-35B-A3B-NVFP4 model was detected.
    • NemoClaw detected the 32,768-token model limit.
    • The vllm-local provider was created.

    For comparison, the earlier 0.4 run loaded all three model shards and then reported Available KV cache memory: -0.41 GiB before failing with ValueError: No available memory for the cache blocks.

    Local validation for commit 0469b9681 passed 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, and npm 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.

  9. added a commit that references this issue on Sep 1, 2026
    f68ccab
  10. added
    area: providers
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

NV QAUATarea: local-modelsarea: onboardingarea: providersplatform: n1xprovider: vllm

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions