Repository navigation
docs: dgx-spark.md is the contributor's map in eleven sections, with the numbers the Spark measurements proved wrong struck through beside their measured values - #101
Merged
juliankang4 merged 2 commits intoOct 13, 2026
Conversation
…wrong and writes the measured value and its comment beside each (midagedev#13)
…where the port stands to the maintainers' decisions, and the docs that cite it point at the new sections
This was referenced Oct 13, 2026
Collaborator
Author
|
컨트리뷰트 체크 완료 했으니 머지합니다 |
This was referenced Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Part of #13. This rewrites
docs/contrib/dgx-spark.mdfor a contributor who owns a Spark and reads it for the firsttime: it opens with where the port stands and what to do first, and ends with the open items and your answers. Every
number a Spark measurement proved wrong stays in place, struck through, with the measured value and its comment beside
it.
This is the second of the docs rewrites you left to us in
#13 (comment), after the local-check.md one, and it does what
that comment asks. It also takes the rows you offered from #41 and #42 (the card's
sm_121items, the open list andthe P/E row). Where the page says which numbers can be published, it follows the rule of
8fb237f2: a Spark numberwith its evidence can be published in the Spark's own table, and a table never mixes cards.
The pull request has two commits, so the number fixes can be read apart from the move.
Numbers only (
abc58d22). The section numbers are the old ones. 37 strikes, each with its new value and link(table below). The byte term now uses 208.8 GB/s, measured on
b289130a, which has gpu: on an integrated device, a decode gemv warp asks L2 for its whole row before the walk #27's row prefetch. The older177.5 GB/s is kept beside it as the rate of
04d0c0ae, the build before gpu: on an integrated device, a decode gemv warp asks L2 for its whole row before the walk #27, not struck: the same build read 177.8again in the
b289130asession. The commit also adds the GB10 ISA row, the 213 of 215 functions with the same SASS,the GLM header read and the one-write-in-flight link readings with strict ordering. Section 2's cost table is split
into a 3090 table and a Spark table, since the Spark side now holds measured values.
Eleven sections (
5bb99b6a). The page is reordered:local-check.mdsections 3 and5. Here only the Spark-specific points remain: the fixture path, the card names,
gate-ptx-spilland the A/A ruler.first step; 9.7 to 9.9 are marked "Reference" (the derived bands, the scaling criteria, the
nodes_scalegate).line under it. Answers 15 to 21 are from your 2026-10-13 comments, in English.
Appendix A holds the P0 site map (old 3.1). It also holds the
sparkpreptable and the order inside P0. P0 is done,so the map is kept as a record, and its memory-ordering paragraph now cites the audit.
The second commit also brings the page up to date with what landed or was measured since
b289130a:llcresult (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) and MXFP4 on Blackwell (Blackwell probe: does the block-scaled FP4 MMA (mxf8f6f4) give GGUF MXFP4's values bit for bit? #19);Linkseam;libibverbsitems and thesparkprepS4 row.Some things are left as they were on purpose:
[derived]bands and criteria of 9.7 and 9.8 are not recomputed. They still use their first inputs (BW 219,NVMe 6.77, assumed ρ). A note above them says so. The placement half's
nodes_scalederivation script recomputesthem (answer 20).
Where other docs cite this page by line or old section number, this PR points them at the new sections:
sparkdec.md(4 places),tierengine.md(5),local-check.md(7) and the module comment ofcrates/gpu-gates/src/bin/link_probe.rs("section 8.9" is now 9.6). A doc's citations of its own sections are left tothat doc's pull request.
local-check.mdalso gains one sentence under its open question 1: answer 19 settles it forS7's
devmapclause.Docs this page now disagrees with, left for you or for their own pull requests:
docs/cuda-oxide.md:5(atb289130a): "Everything here runs on Ampere (sm_86) only." On GB10 the same toolchainruns, and section 6 quotes that line as the documented state.
docs/research/tierengine.md, the link-facts paragraph this PR repoints to 9.1: it still says λ is unmeasured, and9.1 now has the probe's λ. This PR only changes its section numbers; docs: tierengine.md takes the DGX Spark results of (k) into a new section 6, strikes the values they replaced, and gives each migration step its status #102 (stacked on this one) updates
it.
Numbers struck through. Each new value carries its conditions in the page.
[assumed 80 %]b289130a[derived]; 11.1 ms at 177.5 GB/s on04d0c0ae04d0c0ae)[derived]; the rest sits inside the gemv kernelsb289130a, inside the expected 200 to 235; 177.5 at04d0c0ae[unverified]asimd,asimddp,i8mm,bf16,sve,sve2,svei8mm,svebf16,atomics, read on two SparksWRITECOMBINED, (iii) 157.4 GB/s; 2 MiB pages 159.2[unverified][derived][derived]b289130a(177.5 on04d0c0ae)UD-Q4_K_XL, 4,087 and 4,092 tokens,v0.3.0serving defaults, MTP draft onGLM's A band (4.7 to 8.2 GB) is not struck, since the header read (7.36 GB) falls inside it; the read is written beside
the band, and the open item that called the band wide moves to "Closed".
The other strikes are statements, not numbers. They are
[unverified]marks that a run settled:sm_121PTX (#42),the direct-link latency and
cuStreamWaitValue32on a NIC-written page (#44), and the protocol's Arm memory order(#13). Also struck: the
libibverbsquestion,settled in #44's review, and old "still open" items. The old list's struck
BWitem now sits in "Closed" with bothrates. The file has 41 strikes after the second commit.
The
c_nodevalue on GB10 (0.553 µs, 9.7) comes from#13 row 6. That comment does not name the
commit. The run was on main
23ee2100at SM 2,372 to 2,424 MHz, as#13 records.
Code shape
The review reads these first. A box left unticked needs one line of why.
local-check.md. Section 4 here points there.The link figures sit in 9.1's table and BW in section 5; other sections cite them there.
sections 1 and 10. Answered "maintainers first" items are struck or rewritten as their result.
link_probe.rs:1, names the new section. Thepage states the tree at
b289130a, and older citation bases are named in its header.cargo fmtandcargo clippyare clean on what I touched; the lint count did not go up. (Only a comment linechanged in Rust;
just mac-staticbelow.)Duplication found or removed (
path:line), or "none":docs/contrib/dgx-spark.md3.4 and 3.5 atb289130a(thelocal mode and timing design that
local-check.mdnow holds) are replaced by section 4's pointers.What I ran
On a Mac with the pinned nightly, at
5bb99b6a(on main517e0a74). Each line is cut after itstime; the lint step counts 41 warnings, equal to
tools/lint-ratchet.txt:Checks on the text itself:
issuecomment-link this PR adds was fetched withgh apiand belongs to the issue or PR it names (25 links).git grepfinds no citation of this page by line number or by an old section number.No gate was run. The only Rust change is the section number in the module comment at
crates/gpu-gates/src/bin/link_probe.rs:1("section 8.9" is now 9.6, "First step, and what it measured", the sectionthat describes this probe), so there is no gate output, and the review bot will label the PR
needs-gpuby its path,which holds its approval during the release freeze (#97).
Hardware (if the change is for a machine)
None for this change. The measurements it cites were taken on one or two DGX Sparks (GB10, 128 GB, DGX OS 7.6.0,
driver 595.84), one with a 4 TB Gen5 drive and one with a 1 TB Gen4 drive. Each comment linked above lists its
conditions.
AI help
AI 코딩 에이전트가 문서를 작성한 후 PR을 올렸습니다. diff 리뷰와 PR 리뷰는 제가 직접 했습니다.