Newsroom Wire

US09-13 15:38⏱ 7 min read

Dual DGX Spark runs DeepSeek-V4-Flash-0731 at 73–76 tok/s: an AI-executable acceptance-gated deployment

Two GB10 nodes in a symmetric setup each carry the full 155 GB stock FP8 DeepSeek-V4-Flash-0731 weights. A same-source acceptance chain — digest-pinned Anemll vLLM image, MiaAI recipe, TP=2, MTP k=5 speculative decoding, nvfp4_ds_mla KV cache — delivers 73–76 tok/s single-stream decode at 68–75% acceptance, a combined ~2.3M-token KV pool, and 6–9 minute cold starts. The playbook is the point: seven phases each gated by hard acceptance checks, ghcr.io pulls via the NJU mirror with layer-digest verification, and six startup self-checks that confirm the RoCE link before quoting any performance number.

A new same-hardware sample joins the local channel's DGX Spark archive. Unlike the previous dual-box test (GLM-5.3-Flash, weights stored asymmetrically on a single NFS point), this WeChat long-form article runs DeepSeek-V4-Flash-0731 official FP8 weights, and publishes the author's sanitized 'hand-to-AI-execution' deployment document - the document's structure itself is the biggest draw: seven stages, one acceptance gate per stage, no passing the gate means no entering the next stage, and every artifact bound to the same accepted record.

1. Route: same-source acceptance chain, no cross-chain assembly

  • The four components come from one accepted record: weights deepseek-ai/DeepSeek-V4-Flash-0731 @9e165c30 (155.43GB, 48 shards, FP8 E4M3+UE8M0); runtime image ghcr.io/anemll/dspark-vllm-gx10:0.1.1 (manifest digest sha256 pinned); deployment recipe from the MiaAI repo; service form compose dual-box TP=2, worker starts after head, KV forced to nvfp4_ds_mla, MTP speculative k=5 (matching the model's num_nextn_predict_layers=1 - fill it wrong and the script refuses to start), API port 8888, serving context 409600
  • Disproven routes are archived and not attempted: the cross-chain assembly of NGC 26.05 official image x DSpark 167G quantized model (DeepGEMM lacks SM_121 support - fatal deadlock) and Ray run_cluster - the 167G model is demoted to a future comparison-experiment asset
  • Domestic-network facts are carried over directly from the reference repo's tests: ghcr.io blob throttled to 17KB/s -> ghcr.nju.edu.cn at 24MB/s, with layer-digest vs official consistency checks after the pull before re-pushing the official tag; hf-mirror.com directly reachable; the HF Xet protocol false-hangs with 403s - any HF operation sets HF_HUB_DISABLE_XET=1

2. Seven stages and acceptance gates

  • A cleanup and baseline re-check (five environment alignments, clearing leftover containers) -> B image placement on both boxes (can run in parallel with C) -> C USB-drive artifacts imported to internal disks -> D QSFP MTU 9000 finishing -> E config re-checked key by key + preflight -> F startup + six self-checks -> G drive removal + evidence fixation
  • C is a hard gate: 74 files per box, 48/48 shards, index and shards matched both ways, sizes identical; full sha256 over LFS oids recommended (about 30-60 minutes per machine, must be reviewed before startup)
  • D's gate is written to be physically derivable: jumbo-frame ping 8972 with zero loss + all_gather algbw >=40GB/s (2x200GbE aggregated, ~50GB/s ceiling) + logs containing NET/IB RoCE
  • Transfer discipline: the 477G USB drive was 98% used and read-only throughout; during model import the single slow medium runs serially without competing for IO; head->worker's 155G goes over QSFP direct at 450-500MB/s (about 6-10 minutes)

3. Six self-checks and the performance baseline

  • Self-check 1 verifies the link a priori: NCCL logs must show NET/IB RoCE - falling to NET/Socket is a silently failed deployment running 7.5x slower, with no error; GID index verifies RoCE v2
  • Self-check 2 verifies KV: startup logs contain nvfp4_ds_mla, per-box KV ~17GiB, weight loading on the order of ~223s; self-check 3 verifies API identity and the 409600 context; self-check 4 runs the smoke/status scripts
  • Self-check 5, speculation health (audit criteria): single-stream decode 73-76 tok/s (gate floor 60 - 'it runs but half as fast' is itself a diagnostic finding), acceptance rate ~68-75% (per-position 0.93->0.33); self-check 6 takes the median of three runs and records acceptance lengths pairwise (single-box transient anomalies can reach 2x)
  • Baseline: combined dual-box KV pool of ~2.3 million tokens; cold start 6-9 minutes; allow a full 40 minutes for readiness before calling a timeout

4. Operations discipline and failure branches

  • Start/stop only via stop/start fresh runs, never docker restart; drop_caches on both boxes before every cold start; after the worker box reboots, ollama may auto-start - inside a UMA 128GB unified memory pool large models and services are mutually exclusive: stop it before entering the DV4 window, restart after exiting
  • The API has no authentication and is intranet-only; any QSFP cable change requires rebooting both boxes and re-running bandwidth validation - the 13Gb/s clamp is silent
  • The performance troubleshooting order is fixed: locate link/speculation issues first via NET/IB and acceptance rate, talk parameters only afterward; tuning order max-num-seqs -> batched-tokens -> max-model-len -> drop_caches -> memory-share ratio last
  • Fallback when all image mirrors are down: docker pull+save on the downloader box, streamed directly over QSFP into both machines, bypassing the USB drive that has only 14G left

5. The 'hand-to-AI-execution' writing style itself is worth copying

  • Idempotent and re-runnable: rsync resumes on re-run, completed stages are checked then skipped; the execution ground rules sit at the very top of the document, 'covering every step'
  • All environment variables literal, nested shell expansion forbidden - in the previous retrospective, a variable expanded empty in the outer layer and was passed as an empty string, failing silently; after any .env change, grep each key to re-verify it is non-empty
  • Acceptance commands use countable output (python asserts/file counts); the grep -q with pipefail pattern falsely reports green
  • Passwords never pass through AI: pkexec on the head box, zenity pipes on the worker; each round's artifacts are fixed under the experiments/ directory without overwriting, and a 25-item anti-recurrence table binds every entry to its historical retrospective source

What this means for our readers:

  • Same-hardware route comparison has matured: the GLM route (dual boxes on GLM-5.3-Flash) stores weights asymmetrically + self-maintained overlay + aggressive 4-bit; this piece runs symmetric dual boxes each holding the full official FP8 + a ready-made recipe + digest-pinned images; the deployment quick-reference also carries a DeepSeek-V4.1-Flash dual-box case (2,600+ tok/s prefill at full 256K context). The engineering trade-offs of the same pair of GB10 boxes running different flagships can now be compared side by side
  • The 'same-source acceptance chain' is the most valuable discipline in dual-box deployment: last round's direct root cause was cross-chain assembly (image A + weights B); this round every gate tests only the target combination itself - proxy combinations never produce confidence
  • The silent-failure list applies to all hardware: NET/Socket substituting for NET/IB at 7.5x slower, the 13Gb/s clamp, empty-expanded environment variables, grep -q false greens - none of the four raises an error; only proactive self-checks catch them
  • Threshold comparison against this channel's build ledger (the used-3090 market and the ~10,000-yuan build TCO pieces): dual-box Spark is priced at the 60,000-yuan level in the deployment quick-reference (t3 tier), still the most expensive tier; before buying, decide whether you really want the 'local + 2.3-million-token KV pool' combination

Scope notes: the original is a deployment plan document published by the WeChat public account Manhua Mingshuo (published 2026-09-13; the author states the content is the sanitized original submitted to AI for execution and verified successful); the performance numbers are the 2xSpark measured baselines cited from the reference library (official 0731 weights: single-stream decode 73-76 tok/s, speculative acceptance 68-75%, KV pool ~2.3 million tokens, cold start 6-9 minutes); this piece is an editor-curated selection, not a full reprint, and the original carried no explicit reprint permission. The two related articles the author lists at the end were later separately curated into this channel: Dual DGX Spark Deployment Retrospective (this piece's predecessor, a 35-item issue ledger + root-cause analysis, recording both failed and corrected routes) and the PaddleOCR-VL-1.6 Local Deployment Experiment Report; at writing time neither had been retrieved, so the retrospective-experience portion relies on the main article's embedded anti-recurrence table (its labeled nvdgx2bs sections) and does not cite the related articles' content.

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

AI NewsCove

Opening article…