NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

[DGX Station][Onboard] Express setup not offered on DGX_Station_GB300; wizard shows generic menu without install-vllm option

Open wangericnv opened this issue 6 months ago • 1 comments

Description

Description

On a real DGX_Station_GB300 (Ubuntu 24.04, aarch64) running NemoClaw v0.0.39 / OpenShell 0.0.37, the `nemoclaw onboard` wizard does NOT detect Station-specific express path:

  * Interactive mode (`nemoclaw onboard --fresh` from a clean state):
      Preflight banner prints standard GPU detection lines:
        "✓ NVIDIA GPU detected: 2 GPUs, 354590 MB VRAM
            - NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition (97887 MB)
            - NVIDIA GB300 (256703 MB)"
      But NO "Detected DGX Station" line, NO "Express setup" prompt.
      [3/8] Configuring inference shows the SAME 8-option menu a generic
      Linux workstation gets:
        1) NVIDIA Endpoints
        2) OpenAI
        3) Other OpenAI-compatible endpoint
        4) Anthropic
        5) Other Anthropic-compatible endpoint
        6) Google Gemini
        7) Local Ollama (localhost:11434) — running (suggested)
        8) Model Router (experimental)
        Choose [1]:
      install-vllm is NOT among the options.

  * Non-interactive mode (NEMOCLAW_ACCEPT_THIRD_PARTY_SOFTWARE=1 via curl|bash):
      Wizard DOES print:
        "[INFO]  Detected DGX Station. Skipping express prompt (--non-interactive set)."
      So detection logic exists in this code path, but in non-interactive mode
      provider defaults to `build` (NVIDIA Cloud Endpoints), not the
      `install-vllm` that the test case T9999180 spec requires:
        "[3/8] Configuring inference (NIM)
         [non-interactive] Provider: build
         NVIDIA_API_KEY (or NEMOCLAW_PROVIDER_KEY) is required for
         NVIDIA Endpoints in non-interactive mode."
      Onboard then fails before [4/8] sandbox.

Test case T9999180 ([DGX Station] express setup — full E2E from install to first inference) expects on this exact platform:
  Step 2.  Platform detection prints 'DGX Station detected'
  Step 3.  'Express setup' option presented
  Step 4.  user selects Express setup
  Step 6.b Inference provider SKIPPED (auto: install-vllm)
  Step 9.  Container run flags include --gpus device= pinning to GB300
  Step 11. Sandbox uses Qwen/Qwen3.6-27B-FP8 + install-vllm

NONE of these can be reached on this host with v0.0.39 — either path the
wizard takes (interactive or non-interactive) does not surface express
setup or install-vllm.

`nemoclaw onboard --help` lists flags `--gpu / --no-gpu / --recreate-sandbox /
--sandbox-gpu-device ` etc. but NO `--express` / `--profile` flag,
so the user has no manual way to force the express path either.
Environment
Device:        DGX_Station_GB300 (galaxy-sku2-018)
                /sys/class/dmi/id/product_name = "DGX_Station_GB300"
                /sys/class/dmi/id/sys_vendor   = "NVIDIA"
                /sys/class/dmi/id/product_family = "DGX"
OS:            Ubuntu 24.04.4 LTS (aarch64)
GPUs (2):      GPU 0 - NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition (97887 MiB)
               GPU 1 - NVIDIA GB300 (256703 MiB)
GPU driver:    595.58.03
Node.js:       v22.22.2
npm:           10.9.7
Docker:        29.2.1; CgroupDriver=systemd, version=2
CDI:           /etc/cdi/nvidia.yaml present; no /run/cdi/
NemoClaw:      v0.0.39 at ~/.local/bin/nemoclaw
OpenShell CLI: openshell 0.0.37 at ~/.local/bin/openshell
Gateway:       openshell Docker-driver gateway (~/.local/bin/openshell-gateway, host process not container)
HF cache:      empty (~/.cache/huggingface absent)
Disk:          1.9 TB available
RAM:           743 GB
Steps to Reproduce
A) Interactive flow:
  1. Fresh DGX Station with no prior NemoClaw install.
  2. curl -fsSL https://www.nvidia.com/nemoclaw.sh | NEMOCLAW_ACCEPT_THIRD_PARTY_SOFTWARE=1 NEMOCLAW_SKIP_ONBOARD=1 bash
     (or any way to install nemoclaw v0.0.39 without auto-onboard)
  3. Ensure clean state:
       rm -rf ~/.nemoclaw/onboard-session.json ~/.nemoclaw/sandboxes.json
       openshell gateway remove nemoclaw       # remove stale gateway
       pkill -f openshell-gateway              # if still holding port 8080
       rm -rf ~/.local/state/nemoclaw
  4. Run:  ~/.local/bin/nemoclaw onboard --fresh
  5. Accept third-party notice with 'yes' when prompted.
  6. Observe: NO 'DGX Station detected' line printed; NO 'Express setup'
     prompt; the [3/8] inference menu is the standard 8-option menu shown
     above; install-vllm is not an option.

B) Non-interactive flow:
  1. Clean state per A.3 above.
  2. Run:  curl -fsSL https://www.nvidia.com/nemoclaw.sh | NEMOCLAW_ACCEPT_THIRD_PARTY_SOFTWARE=1 bash
  3. Observe: wizard prints '[INFO] Detected DGX Station. Skipping express prompt (--non-interactive set).'
  4. Then [3/8] prints '[non-interactive] Provider: build' and fails:
     'NVIDIA_API_KEY (or NEMOCLAW_PROVIDER_KEY) is required for NVIDIA Endpoints in non-interactive mode.'
Expected Result
On DGX_Station_GB300, `nemoclaw onboard` (with or without env vars) must:

  1. Print 'DGX Station detected' in preflight (path A currently misses this).
  2. Offer an 'Express setup' prompt in interactive mode, or auto-select it
     in non-interactive mode.
  3. When express is chosen, [3/8] inference must auto-set Provider=install-vllm
     (not 'build'), Model=Qwen/Qwen3.6-27B-FP8 (or the documented default),
     and SKIP the provider/messaging/sandbox-name/tier prompts.
  4. vLLM container created with --gpus device= pinned to the GB300
     (UUID 44b2326a-...) — NOT --gpus all on a mixed-GPU host.
  5. ~/.cache/huggingface mounted into the container; HF_HOME env set.
  6. vLLM ready marker observed; sandbox reaches Ready; `nemoclaw
     connect` + `openclaw tui` → first prompt works on the local vLLM endpoint.

Per T9999180 spec, this passing path is the gate for flipping DGX Station
from `deferred` to `tested` in the platform-matrix.
Actual Result
Interactive `nemoclaw onboard --fresh` on clean state, tail of preflight + inference:

  [1/8] Preflight checks
    ✓ Docker is running
    ✓ Container DNS resolution works
    ✓ Container runtime: docker
    ✓ Container runtime resources: 72 vCPU / 743.7 GiB
    ✓ openshell CLI: openshell 0.0.37
    ✓ Port 8080 available (OpenShell gateway)
    ✓ NVIDIA GPU detected: 2 GPUs, 354590 MB VRAM
        - NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition (97887 MB)
        - NVIDIA GB300 (256703 MB)
    ✓ Docker CDI GPU support detected (/etc/cdi/nvidia.yaml)
    ✓ Sandbox GPU: enabled (auto)
    ✓ Memory OK: 761502 MB RAM + 0 MB swap
    NVIDIA GPU detected; enabling OpenShell GPU passthrough. Use --no-gpu to opt out.

  [2/8] Starting OpenShell gateway
    Starting OpenShell Docker-driver gateway...
    ✓ Docker-driver gateway is healthy

  [3/8] Configuring inference (NIM)
    Detected local inference option: Ollama

    Inference options:
      1) NVIDIA Endpoints
      2) OpenAI
      3) Other OpenAI-compatible endpoint
      4) Anthropic
      5) Other Anthropic-compatible endpoint
      6) Google Gemini
      7) Local Ollama (localhost:11434) — running (suggested)
      8) Model Router (experimental)

    Choose [1]:    <-- generic workstation menu, no express, no install-vllm

Non-interactive `curl|bash` install on clean state, [3/8] tail:

  [1/8] Preflight checks
    ... (all pass) ...
  [INFO]  Detected DGX Station. Skipping express prompt (--non-interactive set).
    ...
  [3/8] Configuring inference (NIM)
    [non-interactive] Provider: build
    NVIDIA_API_KEY (or NEMOCLAW_PROVIDER_KEY) is required for NVIDIA Endpoints in non-interactive mode.
  (onboard aborts; ~/.nemoclaw/onboard-session.json:
     "mode": "non-interactive",
     "status": "failed",
     "lastStepStarted": "preflight",
     "failure": {"step":"preflight","message":"Onboarding exited before the step completed."})

Both paths leave the host without a Station-express sandbox. No vLLM
image is pulled, no Qwen model download starts, no GB300 pin verified.
Logs
Full T9999180 attempts:
  /home/lab/day0-automation/20260511/report-T9999180.txt (latest)
  report-T9999180.attempt1.txt (v1 — non-interactive curl|bash)
  report-T9999180.attempt2.txt (v2 — driver path bug)
  report-T9999180.attempt3.txt (v3 — interactive hit GPU passthrough warning)
  report-T9999180.attempt4.txt (v4 — same GPU warning)
  report-T9999180.txt          (v5 — clean state, generic menu shown)

Related (existing) bugs — none directly cover this Station express gap:
  6157310 (Open) — Docs gap: no E2E walkthrough for local inference on
                    DGX Spark / DGX Station
  6158304 (Open) — Spark/Station: openclaw agent in vLLM sandbox cannot
                    reach local gateway (a different layer)
  6130437 (Open) — Station: openclaw gateway killed → no auto-respawn
  6152045 (Fixed) — Spark and DGX Station install fail (different defect)

This bug is specifically the wizard-layer omission of the Station express
path on a real DGX_Station_GB300 host, blocking T9999180 from being
runnable. Platform-matrix flip from `deferred` → `tested` is gated on
the express path being surfaced and functional.

Bug Details

Field Value
Priority Unprioritized
Action Dev - Open - To fix
Disposition Open issue
Module Machine Learning - NemoClaw
Keyword NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL, NemoClaw_Inference, NemoClaw_Onboard

[NVB#6171844]

wangericnv avatar May 13 '26 08:05 wangericnv

Tested on v0.0.58, cannot repro the issue anymore.

sandl99 avatar Jun 04 '26 03:06 sandl99