Newsroom Wire

US09-08 07:00⏱ 7 min read

Dual DGX Spark post-mortem: cross-chain assembly died in DeepGEMM — a 35-item ledger and the same-source acceptance principle

Infrastructure succeeded end to end (QSFP dual-domain interconnect, NCCL dual-rail RoCE at 44.28 GB/s algbw, 156 GB model streamed to the worker), but serving died on the sixth blocker: DeepGEMM JIT kernels in the NGC 26.05 image don't support GB10's SM_121 and the kill switches don't help. Of 35 logged issues, ~29 were execution friction while all 6 selection/gate errors trace to one root: assembling components from three independently-validated chains. Same-source acceptance, physically-derivable bandwidth gates (>=40 GB/s algbw, >=184 Gb/s dual-domain), and GID index 3 = RoCE v2 are the transferable disciplines.

With this piece, the local channel's DGX Spark archive now holds a complete chain: failure retrospective (this piece) -> formal deployment plan (the dual-box DeepSeek-V4-Flash-0731 piece). This is the predecessor: following NVIDIA's official playbook, the author deployed a dual-box DS cluster offline; the infrastructure layer fully succeeded, but after five service-layer pitfalls in a row it died on DeepGEMM's 'Unsupported architecture' - the NGC 26.05 official image cannot run DSpark quantized models, and the route was disproven. The original is 23,611 characters, with a 35-item issue ledger and a systematic root-cause analysis; this piece gives only the skeleton.

1. Infrastructure layer all green, service layer fatal crash

  • Dual-box alignment: five items identical (Ubuntu 24.04.4 / 6.17.0-1032-nvidia / 580.173.02 / CUDA 13.0 / Docker 29.2.1); QSFP dual-domain netplan + passwordless SSH in four directions; the 156G model streamed to the worker over QSFP (144G in about 40 minutes); NCCL dual-rail RoCE measured algbw 44.28 GB/s with 0 errors
  • The service layer hit five pitfalls in a row (ray offline install mount path, outer-layer empty expansion of environment variables, GLOO prefix not propagated to workers, KV dtype assert, inductor compile crash) - each had a fix; the sixth had none: DeepGEMM's JIT kernels do not support GB10's SM_121, and VLLM_USE_DEEP_GEMM=0 cannot suppress it - the conclusion 'NGC 26.05 cannot run the DSpark line' has no fix within that image, and the whole route was disproven

2. Correcting the bandwidth numbers' framing (applies to all hardware)

  • The original plan's gate 'bus bw >=150GB/s' is physically unreachable: one 200GbE line rate is ~25GB/s (apparently miscopied from an NVLink context). A corrected gate must be derivable from 'line rate x utilization'
  • Each QSFP physical port = two independent PCIe Gen5 x4 domains, each capped ~126Gb/s - running one ib_write_bw alone always shows ~98Gb/s: normal, not a fault; pressing both domains simultaneously to >=184Gb/s combined is the real gate
  • With NCCL_DEBUG=INFO, check the transport plugin before quoting numbers: the first test's 22GB/s probably went over TCP; re-running confirmed NET/IB dual-rail RoCE, and only then was it clear that was the busbw figure and algbw 44GB/s was already near aggregate line rate - cited bandwidth must state its framing
  • The 13Gb/s silent clamp bug: the model starts, keeps producing tokens, runs 7.5x slower with no error; any QSFP cable change requires rebooting both boxes and retesting

3. Selected Ray/vLLM pitfalls (all solvable; prevention beats fixes)

  • Environment variables expanded empty inside outer quotes and passed as empty strings (silent failure): -e arguments always literal; check env after starting the container
  • vLLM's ray environment copy carries only NCCL_/UCX_/VLLM_ prefixes - GLOO_/TP_ are not copied -> the worker's gloo falls back to 127.0.0.1 and connection is refused: export twice, at the container layer and the process layer
  • KV cache dtype is a model property, not a free parameter: DSpark variants force fp8 (assert blocks it), official 0731 weights use nvfp4_ds_mla - check this whenever you swap models
  • NCCL_IB_GID_INDEX must be 3 = RoCE v2; copying 2 silently uses v1
  • The head is a single point: any head change counts as a cluster rebuild and must rebuild the workers along with it

4. Four layers of root cause (Appendix B, this piece's most valuable part)

  • Cross-chain assembly is the structural cause of death: networking (validated by the official playbook), image (NGC validates only models inside its official support matrix), model (the community DSpark chain pairs with community containers) - three chains each validated separately, and the 'NGC x DSpark' assembled combination was validated by no one. The kernel stack in that community image, compiled for SM_121, is exactly what the official image lacks
  • The 'official = safe' intuition holds at the infrastructure layer and is exactly reversed for workloads outside the matrix - the risk is not that community images are unreliable, but using the official image beyond its validation boundary
  • Gate mismatch: the original plan smoke-tested the NGC image with a small official-matrix model; a proxy combination passing produces no confidence; and the evidence-grading labels stayed at the document layer, never becoming selection rules at procurement time
  • Responsibility split of the 35 ledger items: ~29 are execution-environment attrition (unknowable in advance for any plan), ~6 selection/gate-layer errors all converge on the single cross-chain-assembly chain. Four institutionalized fixes: the same-source principle (use the container the model's validator pairs with it), combination gates (accept only the target combination itself), local evidence first (inventory already-accepted plans before starting), grading as decision (labels bound to selection interception)

5. The three-piece 'passwords never pass through AI' set (a practical paradigm for dual-box operations)

  • Head-box root goes through pkexec graphical elevation; worker sudo pulls the password via a zenity dialog and feeds it via printf into ssh 'sudo -S' - passwords never pass through the AI, which sees only execution results
  • Two pitfalls: heredoc and pipes fighting over stdin (stdin has only one consumer; land the remote script to local /tmp first, then assemble); inside triple-nested quotes the heredoc terminator gets eaten by the inner layer (always switch to file transfer)
  • First SSH bootstrap uses a self-written SSH_ASKPASS (must carry DISPLAY/DBUS environment variables and </dev/null to force askpass); each dialog first declares which machine's password you are entering

What this means for our readers:

  • The first complete closed loop of a failure chain in this channel: the same author completed the formal deployment five days later via the corrected route (same-source acceptance chain: official 0731 weights + digest-pinned image + ready-made recipe - see this channel's Dual-Box DGX Spark Running DeepSeek-V4-Flash-0731); the qualified route's baseline is already given in this piece - single-stream 36-85 tok/s (~14.5x speculative acceptance length), c6 concurrency aggregate ~200 tok/s, 131K cold prefill 1929 tok/s, 1M-context KV pool 1.67-1.77M tokens; the two pieces' numbers interlock
  • Three disciplines - 'always report speculative acceptance length alongside throughput,' 'performance gates must be physically derivable,' 'a proxy combination passing produces no confidence' - apply to any local deployment acceptance, not just GB10
  • Hardware threshold compared against the deployment quick-reference: a dual-box Spark rig at the 60,000-yuan level (t3 tier); the channel also carries a DeepSeek-V4.1-Flash dual-box case (256K prefill 2,600+ tok/s) for side-by-side comparison
  • Cross-chain experiments are not forbidden - they need stop-loss rules (this piece gives three triggers: stop on quantization/architecture errors, stop when troubleshooting exceeds 1 hour, stop when performance is discounted by more than half) - saving a 155G download is a legitimate motive; the error was treating it as a deployment rather than an experiment

Scope notes: the original is a deployment retrospective published by the WeChat public account Manhua Mingshuo on 2026-09-08 (written 2026-09-06, including a reproducible step-by-step manual and a 35-item issue ledger); the bandwidth and performance numbers are the author's dual-box measurements or acceptance baselines cited from the reference library; this piece is an editor-curated selection, not a full reprint, and the original carried no explicit reprint permission. It forms a predecessor/successor pair with Dual-Box DGX Spark Running DeepSeek-V4-Flash-0731 (this channel's previous piece).

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…