Repository navigation
docs: dgx-spark.md states the first JIT cost on the Spark's Arm cores (3.2) and answers the fixture header and aarch64 fill questions (3.4, 6) from #13 - #69
Merged
Conversation
… (3.2) and answers the fixture header and aarch64 fill questions (3.4, 6) from midagedev#13 3.2: the `[unmeasured]` first JIT cost becomes the reading from midagedev#13: one Spark, driver 595.84, a first start of bloomery-serve with Qwen3.6-35B-A3B Q4_K_M and an empty CUDA_CACHE_PATH against a later start with the cache in place. The difference is given as an estimate of the JIT cost. oxart_jit on the binary's whole .oxart section, timed the same way, stands beside it as a comparison. 3.4 and 6: fixture generate reads no tensor data, but the loader refuses a source file too short to hold its tensors, so a header grown to the listed file length as a sparse file is enough, which is what fixture fetch writes. The fill on aarch64 matches the x86_64 pins. The publish list gains each shard's length, and section 6 names the readings of 3.2 and 3.4 and drops the two answered items. local-check.md: the fixture paragraph says the headers are grown to the listed length, and open question 2 is marked answered.
73 of 79 tasks
6 of 7 tasks
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
docs/contrib/dgx-spark.md3.2 marks the first JIT cost on the Spark's Arm cores[unmeasured], and your reply asked for the reading from #13 to replace it. The same reply says those readings also close the two fixture questions that sections 3.4 and 6 still list as open, so this answers them too, with the matching open question inlocal-check.md.What changes
3.2: one Spark, driver 595.84. A first start of
bloomery-servewith Qwen3.6-35B-A3BQ4_K_Mand an emptyCUDA_CACHE_PATHtook 10.5 to 11.8 s tolistening, and a later start with the cache in place took 4.1 s. The text gives the start without the cache minus the start with it, 6.4 to 7.7 s (median 6.5 s), as an estimate of the JIT cost, marked[derived]. The first pair's difference is 1.2 to 1.3 s larger than the other two. That extra is not user CPU time (that start's system time was 2.1 to 2.2 s higher), and I did not measure its cause, so the text says so. Beside it, for comparison and not as a bound, the text givesoxart_jiton the binary's whole.oxartsection (311 entries) in the same conditions: 8.7 to 8.8 s with an empty cache, which also counts the file read, the context creation and the attribute reads, and 0.4 s with the cache in place, so 8.3 to 8.4 s by the same subtraction. The first start is inside the 10 to 25 s the sentence already cites fromREADME.release.md.3.4 and 6:
fixture generatereads no tensor data from the source, but it opens each source file through the loader's bounds check, which refuses a tensor that ends past the end of the file (crates/gguf/src/lib.rs:957ate659f4fe). On qwen38, the real shards and the same shards cut at the data offset and grown back to their full length as holes gave the same bytes, and the cut shards left short were refused. No length in between was tried. So a header grown to the file's length as a sparse file is enough, which is whatfixture fetchwrites, at the size the repo lists. The text adds that the shortest length the check passes is the end of the last tensor, which the header gives ([derived]), and the publish list gains each shard's length. On aarch64 the fill matches the x86_64 pins: the digest test passes with all 12 pinned cases, andfixture fetch glm5nextrun twice wrote identical bytes, with shard 1 equal toFIXTURE_SHA256. The sentence in 3.4 that called the header question[unverified]is replaced. In section 6 the two items leave the "Still open" list, and its first sentence now names the readings in 3.2 and 3.4 as well as those of section 1.local-check.md: the fixture paragraph (line 91) says the headers are grown to each file's listed length, because the loader refuses a file too short to hold its tensors. Open question 2 gets an "Answered 2026-10-12, the second half" line in the form of the first half's.The section 2 line about the host CPU's cost of a graph launch and the sampler is also
[unmeasured]. It is a different quantity and the #13 runs did not measure it, so it stays. Section 3.1 is not touched. You have not replied on the 3.1 reading in #13 yet; when you do, its lines can go into this pull request or a separate one, as you prefer.Code shape
[unmeasured]and[unverified]marks these readings settle are removed, and so are the two items in section 6 and the open half oflocal-check.md's question 2.cargo fmtandcargo clippyare clean on what I touched; the lint count did not go up. Nothing Rust is touched.Duplication found or removed (
path:line), or "none": none.What I ran
On the branch, based on main
e659f4fe, withtools/contrib-check.sh --tier t0 --only '^check-'(everytools/check-*.sh):This ran on a Mac (the host line reads Darwin arm64) with no GNU
timeout, so the units ran unbounded.The change is Markdown only (3.2, 3.4 and 6 in
dgx-spark.md, and two places inlocal-check.md), so no gate applies. The numbers are not new here: the runs, their conditions and the cold and warm pairs are in the linked comment. I checked the two code citations,crates/gguf/src/lib.rs:957andcrates/model/src/bin/fixture.rs:24-27, at maine659f4fe.Hardware (if the change is for a machine)
The JIT reading was taken on one DGX Spark (GB10, cc 12.1), driver 595.84, kernel 6.17.0-1032-nvidia, CPU governor
performance, load average under 1 before each run, with the binary run on the host, outside the container, so the host driver did the JIT. The fixture work was on aarch64: the build and the digest test ran in thenvidia/cuda:13.3.1-devel-ubuntu24.04container on maindd187c1d; the twofixture fetch glm5nextruns ran on the host with that build'sfixturebinary; the qwen38 fetch and generate runs ran in the container on mainf1b89351. The conditions are in the linked comment. This pull request runs nothing on a Spark.