Repository navigation
docs: Qwen3.8 on one DGX Spark: both folders' slots, context, MTP draft and memory - #1053
Conversation
There was a problem hiding this comment.
Verdict: MUST_FIX: the context explanation mislabels explicitly requested contexts as memory-fitted.
Must fix
1. Distinguish explicit contexts from fitted contexts
docs/contrib/dgx-spark.md:162 includes the three explicit --slot-ctx rows in its claim. The context chooser assigns Rule::Set, and the formatter omits shortage fields for that rule. Readers following the explanation will look for diagnostics their plans never print. This is a kind B documentation defect with a mechanical fix.
Correcting this shared explanation fixes both new documentation entry points at once. Replace lines 162–163 with:
Only automatically reduced contexts report `rule=fitted` with shortage details; `--slot-ctx` reports `rule=set`.
The MTP draft stayed on in every row that did not set `BLOOMERY_DRAFT=off`, and no row printed a `draft yield`Checked
Duplicates: 0 new functions, types or constants; no code duplication introduced.
Complexity: no Rust functions changed.
Silent failure: 0 new sites; documentation only.
Tests: none changed; mutation checks do not apply. Traced explicit slot contexts through slot selection, context choice and record formatting.
Gates: no pins, thresholds or tests changed.
Escape catalog: no C1–C4 patterns matched.
Notes
Dryer and crapper did not run because no Rust file changed.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
| A context under 262,144 was fitted: its `ctx` line says `rule=fitted` and names the bytes the plan one step above it | ||
| lacked. The MTP draft stayed on in every row that did not set `BLOOMERY_DRAFT=off`, and no row printed a `draft yield` |
There was a problem hiding this comment.
The three --slot-ctx rows emit rule=set without shortage fields; only automatically reduced contexts emit rule=fitted.
| A context under 262,144 was fitted: its `ctx` line says `rule=fitted` and names the bytes the plan one step above it | |
| lacked. The MTP draft stayed on in every row that did not set `BLOOMERY_DRAFT=off`, and no row printed a `draft yield` | |
| Only automatically reduced contexts report `rule=fitted` with shortage details; `--slot-ctx` reports `rule=set`. | |
| The MTP draft stayed on in every row that did not set `BLOOMERY_DRAFT=off`, and no row printed a `draft yield` |
…ft and memory The Spark map's Qwen3.8 section covered the FP4-Local folder's run path and speed, but not what a start chooses on either folder: how many slots, the context each gets, whether the MTP draft stays on and how much of the unified pool the load takes. - dgx-spark.md 2.3 covers both checkpoint folders: where their experts sit, the KV format, and a table of slot counts and contexts (`--parallel` 1, 2 and 4, `--parallel auto` with `--slot-ctx`, the draft off) with each plan's need, read by `bloomery-serve --plan` at 0305ba7 on one Spark. - The MTP draft paragraph names its rule as the seat has it now: an image load drafts by the same rule, and a folder without the MTP layer serves without it. Its line references move to 0305ba7. - numbers.md's DGX Spark rows and the README's GB10 install section point to the section.
f7f8da8 to
337520f
Compare
There was a problem hiding this comment.
Since the last review: item 1 is fixed at docs/contrib/dgx-spark.md:162. Explicit contexts are distinguished from fitted contexts.
Verdict: CLEAN: both revised sentences match the context chooser and the records it produces.
Checked
Duplicates: 0 new functions, types or constants; no dryer pairs available.
Complexity: no functions changed.
Silent failure: 0 new sites. An explicit context that exceeds memory is refused rather than silently fitted.
Tests: none changed; mutation checks do not apply. Traced explicit, target and fitted contexts through selection and formatting, including the setup record.
Gates: no pins, thresholds or tests changed.
Escape catalog: no C1–C4 patterns matched.
Notes
Dryer and crapper did not run because no Rust file changed.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
|
The review is done and the contribution check passed, so I'm merging this. |
DGX Spark 한 대에서 Qwen3.8 두 폴더의 슬롯, 컨텍스트, MTP 초안, 메모리 값을 문서에 정리했습니다.
What and why
The DGX Spark page,
docs/contrib/dgx-spark.md, now covers both Qwen3.8 checkpoint folders (FP4-Local and NVFP4) on one DGX Spark, not only FP4-Local. It gives the slots and per-slot context each start gets, what--parallel autoand--slot-ctxdo, the MTP draft rules as the seat applies them now, and the memory each start takes, all read frombloomery-serve --plan. It also fixes a stale line: the page said the draft goes off under--mmproj, but the seat drafts an image load by the same rule.docs/numbers.mdandREADME.mdeach gain one sentence pointing to that section.Release notes: Changed: the DGX Spark page now lists the slots, context, MTP draft and memory for both Qwen3.8 folders on one Spark.
Code shape
copying it (
AGENTS.md"Common code first",docs/rust-quality.mdR14). Where I found an existing copy, Inamed it below.
(tensor shapes, the attention kind, the quant). A common owner gained no per-model branch, flag or trait method.
tools/check-comments.sh).PIN(YYYY-MM-DD):and its reason.
cargo fmtandcargo clippyare clean on what I touched; the lint count did not go up.Duplication found or removed (
path:line), or "none": none. The general rules stay indocs/serving.md; 2.3 holds the GB10 readings and links to them.What I ran
Every number in the new 2.3 table comes from
bloomery-serve --plan, which prints a start's records and exits before it loads anything. Build and version on the Spark, base0305ba7a48903eb58ff8f4684e945e36e5172895:One plan per table cell, for each folder (
nvidia/Qwen3.8-Flash-Next-FP4-Localat revisionb9ce18a6,nvidia/Qwen3.8-Flash-Next-NVFP4atfc694b54):All 17 plans behind the table and the text exited 0. Each printed
card_experts=24576(every routed expert on the card), and the MTP draft stayed on in each plan that did not setBLOOMERY_DRAFT=off. Result lines for the FP4-Local folder:and for the NVFP4 folder:
The draft costs quoted in the text are differences between these plans.
Hardware (if the change is for a machine)
nvidia-smi --query-gpu=name,driver_version --format=csv,noheaderon the one DGX Spark:AI help
AI 코딩 에이전트가 문서를 작성한 후 PR을 올렸습니다. diff 리뷰와 PR 리뷰는 제가 직접 했습니다.