Skip to content

docs: dgx-spark.md states the port at 0.3.10: the sm_121a build, Qwen3.8 FP4-Local on one Spark, tensor parallel's plan and rank body; the documents that cite it follow - #873

Merged
juliankang4 merged 1 commit into
midagedev:mainfrom
juliankang4:dgx-spark-q38-docs-dgx-spark-refresh
Oct 27, 2026

Conversation

@juliankang4

@juliankang4 juliankang4 commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

DGX Spark 기여자 문서를 0.3.10 기준으로 고치고, 이 문서를 인용하는 다른 문서도 함께 맞춥니다.

What and why

docs/contrib/dgx-spark.md still describes the port as it stood before the sm_121a default build, the Qwen3.8
checkpoint folders and tensor parallel landed. This brings it up to date with main at d4af82e5 (0.3.10; the line numbers I re-read were checked at c21e3b81, and none of the files they cite changed since), and it
fixes the other docs that quote it. Nothing outside docs/ changes.

In dgx-spark.md:

  • The opening and the phase table state the current port: GB10 recipes build sm_121a by default, Qwen3.8's NVFP4
    and FP4-Local folders serve as downloaded, the card leg attaches the shared hosted hybrid body as well as
    GLM-5.3-Flash, and tensor parallel has its plan, rank load, rank body and all-gather. The step between nodes is
    listed as still open, because the code refuses it by name.
  • Section 2 is split into 2.1 (build), 2.2 (placement) and a new 2.3, "Qwen3.8 FP4-Local on one Spark". 2.3 gives the
    serve commands, how the numbers were taken, the hardware and versions, and the resulting table. It describes what
    main does now: the GGUF MTP draft, BLOOMERY_HOST_ROOM for a drafting-off server, and the f16 KV cache.
  • Section 4 lists the ten fixture families and the four timing runners that exist in the tree, and adds sm_121a to
    gate-ptx-spill.
  • Section 6 drops the fork wording, records that gpu: gate_kquant fails when the PTX comes from the Rust toolchain's llc (LLVM 23), which cuda-oxide picks ahead of LLVM 21 #54 is closed, and adds the sm_121a pin table. Section 8 names the
    families that attach the card leg. Section 9.4 is rewritten around what tensor parallel is now. Section 10 moves the
    closed items (llc selection, tensor parallel first) to its Closed list. Section 11 adds the facts behind answers 7
    and 15 without changing the answers.
  • Line numbers I re-read carry "at c21e3b81". The sections of part 9 stay as they are: code comments and the
    nodes_scale.py check cite them.

In the documents that cite it, only the stale citation changes:

  • docs/contrib/mac.md and docs/research/metal-offload.md cited dgx-spark.md by line number; they now cite the
    section.
  • docs/research/opt-axes.md fixes two citations (§8.4 is §9.7, §2 is §5) and the tensor parallel sentence.
  • docs/research/sparkdec.md, docs/upstream/nvlabs-ledger.md, docs/cuda-oxide.md, docs/contrib/local-check.md
    and docs/models.md stated that every recipe builds sm_86 or named only sm_86 and sm_121; they now say
    GB10 recipes build sm_121a.

No open PR touches docs/contrib/dgx-spark.md.

Release notes: internal: documentation only, it refreshes the DGX Spark contributor guide and the documents that cite it.

Code shape

  • No second copy. The FP4-Local run facts live in 2.3 and tensor parallel in 9.4; sections 1 and 10 point to them.
  • Model code holds only architecture facts. No code.
  • Dead code is gone. The stale claims are replaced in place, and no section was added for a retired claim.
  • No silent failure. No code.
  • Comments state what is true now. No code comments. The default sm_86 wording is replaced where
    tools/arch.sh now picks sm_121a on a GB10 (dgx-spark.md appendix A, sparkdec.md, local-check.md,
    HARDWARE.md).
  • No relaxed gate. No band, tolerance or pin moved. The tables that nodes_scale.py --check pins are unchanged.
  • cargo fmt and cargo clippy: no Rust changed.

Duplication found or removed: none.

What I ran

On the head that goes up (cc09a6ef2, on d4af82e5):

python3 tools/flow/nodes_scale.py --check

Result: rc 0. Sections 9.7, 9.8 and 9.9 still hold the --table output the check requires, byte for byte.

Every line number and code fact I changed was read again in the tree, for example tools/arch.sh:16-26 for the arch
default and crates/gpu-gates/src/bin/shared/serve_seats/qwen38.rs for the draft defaults in 2.3. The wording of the
sm_86 default was swept with git grep -n sm_86 -- docs/; the remaining hits are explicit --arch sm_86 commands,
the release archive and recorded measurement conditions, which are correct.

Not run: no gate or serve command was run again on a GB10 for this change. The 2.3 commands and numbers come from the
recorded run at main cb8d92eb (below). Between that commit and c21e3b81, only #870 touches the load path 2.3
describes, and 2.3 says so. Only documentation changed, so there is no Rust to format or lint, and a maintainer runs
the gate checks.

Hardware

The only measured numbers in this PR are the 2.3 table, taken at main cb8d92eb on a DGX Spark. nvidia-smi on that
machine:

NVIDIA GB10, 595.84, 54, 5.39 W, 208 MHz, 3003 MHz, [N/A], P8, 0x0000000000000004, [N/A], [N/A]
Driver Version : 595.84
CUDA Version   : 13.2

The build used --arch sm_121a. The model is nvidia/Qwen3.8-Flash-Next-FP4-Local at revision b9ce18a6, and the draft
is unsloth/Qwen3.8-Flash-Next-GGUF MTP/mtp-Qwen3.8-Flash-Next-shared-Q8_0.gguf at revision 766911a6. The serve
commands and the request shape are in 2.3.

Release notes: internal: docs only; dgx-spark.md and the pages that cite it state the port as it is at 0.3.10.

AI help

AI 코딩 에이전트가 문서를 작성한 후 PR을 올렸습니다. diff 리뷰와 PR 리뷰는 제가 직접 했습니다.

@github-actions github-actions Bot added dgx-spark The DGX Spark (aarch64, GB10) port documentation Improvements or additions to documentation labels Oct 27, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MUST_FIX: two statements that the PR set out to remove still say the Spark default arch is sm_86, and they contradict the new text.

Must fix

1. Two stale "default sm_86" statements remain

Evidence: dgx-spark.md:1626 (Appendix A, column "In the tree today") says the arch variable has "default sm_86; unset, every recipe expands as before". sparkdec.md:150 says BLOOMERY_ARCH's "default is still sm_86". Both are false on a GB10: tools/arch.sh:23-26 sets sm_121a there, and justfile:13 reads it. The same files now say the opposite (dgx-spark.md section 2.1, sparkdec.md:142). A reader of Appendix A or of sparkdec section 4.1 gets the wrong build target.
Cost: this PR exists to remove exactly this stale claim. Both sites are in files it already edits.
Fix: in dgx-spark.md:1626 replace (default \sm_86`; unset, every recipe expands as before)` with:

(unset: `sm_121a` on a GB10 and `sm_86` elsewhere, `tools/arch.sh`)

In sparkdec.md:149-150 replace whose default is still \sm_86`` with:

whose unset value is `sm_86`, or `sm_121a` on a GB10 (`tools/arch.sh`)

Non-blocking

⚠ Draft default is stated too broadly: dgx-spark.md section 2.3 says an unset BLOOMERY_DRAFT drafts with the folder's MTP layer on one slot. crates/gpu-gates/src/bin/shared/serve_seats/qwen38.rs:246-264 also turns it off under --place gate, with stores shorter than one window, and when the plan yields the card bytes to the context (a load draft=off or draft yield record). Add "unless the load prints draft=off" so a reader does not take a silent plain run for a bug.

Checked

  • Duplicates: no code changed. Doc facts: FP4-Local run facts only in 2.3, tensor parallel only in 9.4. No duplicate found.
  • Citations re-read at c21e3b81: generate_glm5next.rs:519-525, body.rs:1901, model.rs:2217 (and its Flint, MiniMax-M3, Solar-Open2, Muse Spark callers), registry.rs:1021-1022, qwen38.rs:28-31,255-257, mtp.rs:33-38, oxide-host.sh:121, arch.sh, crates/gpu/build.rs:4-9, devices.rs:240-244, fixture-dirs.tsv (10 families), timing-card.sh:33 and the four TIMING_LOCAL_RUNNER runners all match.
  • Cross-document citations in mac.md, metal-offload.md, opt-axes.md point to sections that hold the cited fact. No dgx-spark.md:<line> citation remains in docs/.
  • Complexity, silent failure, tests, gates: no Rust file changed; no pin or gate moves. dryer and crapper did not run.
  • Numbers in 2.3 carry card, driver, build, commit, corpus and request count.
  • Escape catalog: no pattern matched (no shell changed).

Notes

  • The 2.3 numbers are copied from an earlier run at cb8d92eb, not rerun at c21e3b81. The PR body and the text say so.
  • The PR text has an nvidia-smi line but no gate run with commands and output, so gpu.json evidence is false. This is a docs-only change.

🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)

…3.8 FP4-Local on one Spark, tensor parallel's plan and rank body; the documents that cite it follow
@juliankang4
juliankang4 force-pushed the dgx-spark-q38-docs-dgx-spark-refresh branch from b1841e2 to cc09a6e Compare October 27, 2026 11:33

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: CLEAN: the earlier must-fix and the ⚠ item are fixed, and the one new line in HARDWARE.md is correct.

Since the last review:

  • Must fix 1 (two stale "default sm_86" statements): fixed. Appendix A and sparkdec.md now say the unset value is sm_121a on a GB10 and sm_86 elsewhere, as tools/arch.sh:16-26 does. Grep for "default ... sm_86" and "still sm_86" in docs/ finds nothing. The same fix also reached the local-check.md table row 6, which carried the same claim.
  • ⚠ draft default too broad: fixed. dgx-spark.md section 2.3 now lists every case where an unset draft goes off. Each case matches qwen38.rs: --parallel above 1 (draft_for_slots, line 1012, and BLOOMERY_DRAFT=mtp keeps it on), --place gate and short stores (246-253), --mmproj (236-239), a paged plan (162-171), and the yield to the context (260-265, mtp set never yields).

Checked

  • Duplicates: no code changed. The new HARDWARE.md sentence points to section 2.1, which exists (dgx-spark.md:59), and does not repeat its facts. No duplicate.
  • Complexity, silent failure, tests, gates: no Rust file changed. No pin or gate moves. dryer and crapper did not run.
  • Escape catalog: no pattern matched (no shell changed).

Notes

  • The 2.3 numbers come from an earlier run at cb8d92eb, not a rerun at c21e3b81. The PR body and the text say so.
  • The PR text has an nvidia-smi line but no just gate-* commands with output, so gpu.json evidence is false. This is a docs-only change.

🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)

@juliankang4

Copy link
Copy Markdown
Collaborator Author

The review is done and the contribution check passed, so I'm merging this.

@juliankang4
juliankang4 merged commit 345bb7d into midagedev:main Oct 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dgx-spark The DGX Spark (aarch64, GB10) port documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant