Repository navigation
qwen38: read dense coverage from the by-name sites - #649
Conversation
There was a problem hiding this comment.
Verdict: CLEAN: The coverage pins admit formats supported by both execution paths and retain named refusals for unsupported formats.
Checked
Duplicates: 2 new named items checked; no duplicate found. Dryer reported 0 pairs. The GPU table and by-name selector agree.
Complexity: No changed function crossed crapper's thresholds. The production change affects load-time coverage.
Silent failure: The selector's None result reaches Need::WeightFormat and a named load refusal.
Tests: Static mutation review of accepts.rs:255: dropping MXFP8 or admitting Q3_K makes the_qwen38_dense_pins_read_the_by_name_sites fail. Dropping BF16 or returning a wrong entry makes every_family_is_the_tables_dense_row_of_one_type fail. Rust and GPU tests were not run here.
Gates: Format pins widened with dated PIN comments and reported FAIL-first evidence. No tolerance moved; the model-tax ceiling decreased.
Escape catalog: C1–C4 have no matches. No ledger lessons apply.
Notes
The reported GB10 gate run lacks the tested base and head commit hashes. GPU evidence is incomplete.
Card check: needs-gpu. This pull request changes crates/gpu/src/site.rs and carries no gate run on a card (CONTRIBUTING's evidence list); a maintainer adds gpu-verified after one.
Not approved: a release freeze is on (#648), and a merge of a needs-gpu change now would change the tree under the release batch.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
5a8d1e5 to
7bb9b6b
Compare
There was a problem hiding this comment.
Since the last review: no must-fix or non-blocking items were open. The GPU-evidence note is answered by the added tested commit hashes and gate output.
Verdict: CLEAN: The context-only rebase preserves the Qwen3.8 format checks and named refusals.
Checked
Duplicates: 0 new items in the interdiff; the 2 previously checked items are unchanged. Dryer reported 0 pairs.
Complexity: Crapper flagged no functions. The production change affects load-time coverage, with no decode or prefill work added.
Silent failure: 1 selector refusal path followed through Need::WeightFormat to PlacementError::Unimplemented; unsupported matrices produce a named refusal.
Tests: Static mutation review of accepts.rs:255: rejecting MXFP8 or admitting Q3_K makes the coverage assertions fail. Returning the wrong entry makes the assertion at site.rs:1694 fail. Tests were not run here.
Gates: The dated format-pin reasons and reported FAIL-first evidence remain unchanged. No tolerance moved.
Rebase: The router table now beside the deletion serves only NemotronHMoeBody. Program filtering prevents it from changing Qwen3.8 coverage. Q3_K and NVFP4 remain excluded from the by-name selector.
Escape catalog: C1–C4 have no matches. No ledger lessons apply.
Notes
Dryer did not scan crates/gpu; its changed test was checked by hand.
The reported GB10 gate run used head bac288fc9cb4b487a43bd9ca0ceea1f836b04526 over base 8a471012aa4a482dacb01ca7e6e90c23b344c04d, before this context-only rebase.
Card check: gpu-evidence. This pull request changes crates/gpu/src/site.rs and carries a gate run on the author's card, which counts as verified.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
7bb9b6b to
2264ff9
Compare
There was a problem hiding this comment.
Verdict: CLEAN: carried from 7bb9b6b3, not re-reviewed.
The approval of 7bb9b6b3 stands for 2264ff9a. This pull request's 1 commit are the same patches in the same order: git patch-id --verbatim (the changed lines, the lines around them and whitespace) and the subject are equal for every commit. That review ran under the reviewer instructions, tools and slag ledger that review this head, and it approved.
The base moved, and changed none of the files this pull request changes.
A carry covers each patch's own lines and the lines around them. What the base changed elsewhere is covered by CI on this head and by the landing gates.
Card check: gpu-evidence. This pull request changes crates/gpu/src/site.rs and carries a gate run on the author's card, which counts as verified.
🔨 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. |
|
Merged. On our box: gate-gpu-lib, gate-model-hf, gate-gpu-qwen38-serve and gate-gpu-qwen38-nodes green on the fixture tier; gate-placement and gate-gpu-gates-lib run in the next real-tier batch. Thanks. |
Qwen3.8 FP4-Local 체크포인트의 MXFP8 attention, indexer, shared expert 행렬을 Qwen3.8 coverage가 거절하지 않고 받도록, pin 세 개를 by-name dense site 표를 읽는 pin 두 개로 바꿉니다.
What and why
NVIDIA's Qwen3.8-Flash-Next-FP4-Local checkpoint stores its attention, indexer and shared-expert matrices as MXFP8. The dense sites already launch MXFP8 by name, but the three
Qwen38Bodypins incrates/model/src/arch/coverage.rsstill listed the formats the body read before that. A file with these matrices was refused before planning:The three pins are now two row pins, one for the attention matrices with the indexer projections among them and one for the shared expert. Both read the dense kernel table through one selector,
accepts::dense_by_name. Part of #565.Release notes: Fixed | A Qwen3.8 file whose attention, indexer and shared-expert matrices are MXFP8 or FP8 with 128 by 128 block scales loads instead of being refused.
Code shape
accepts::dense_by_name(crates/placement/src/accepts.rs:253) instead of three format lists. It readskernels::denseand the activation each entry reads.coverage.rs(indexer_projection), since the indexer now takes the same formats as the other attention matrices.whatstrings name the selector they read.cargo fmtandcargo clippyare clean on what I touched; the lint count did not go up.kernels::densealone would also admit NVFP4 and Q5_0, which neither walk launches by name. So the selector keeps the entries that read f32 rows or Q8 blocks of 32. The formats it adds are MXFP8 and FP8_B128 for attention and the shared expert, and Q8_0, MXFP8 and FP8_B128 for the indexer. The HC, head and embedding pins and the F32 exceptions do not change. The GPU table testevery_family_is_the_tables_dense_row_of_one_typechecks the selector againstsite::BY_NAME.Duplication found or removed (
path:line): none.What I ran
On an NVIDIA GB10, at
bac288fc9, this PR's commit on main8a471012a(main has since changed only release files and a performance card):cargo test -p bloomery-model --lib arch::coverage::tests:test result: ok. 21 passed; 0 failed. The tests check, for both pins and both indexer names, the formats each takes and the ones it refuses.bash tools/gate.sh --oxide -p bloomery-gpu --release --lib -- every_family_is_the_tables_dense_row_of_one_type:test result: ok. 1 passed; 0 failed. This is thesite.rstest the change edits; thesite.rschange is in itsmod testsonly.BLOOMERY_BOX_LOCAL=1):just affectedalso lists other gates throughsite.rs. That file changes only in itsmod tests, so the gates above cover the card path this change reaches.test result: FAILED. 0 passed; 1 failed).b9ce18a6) prepared into a split as stored keeps its MXFP8 dense matrices and its NVFP4 experts and PLE rows.bloomery-serve --parallel 1 --ctx-size 4224, draft off, loads it (resident_bytes=78864215180, 48 layers). Four 4096-token prompts, two code windows and two English prose windows, each give 48 greedy tokens. They print the same text as the same checkpoint prepared with its dense matrices as Q8_0:PASS: prepared split = Q8 oracle on four 4096-token windows, 48 greedy tokens each.What I ran into
This does not block the PR. Loading the folder itself with
-m <folder>still stops at the PLE table, because a folder load reads F8 PLE rows only and this checkpoint stores NVFP4 rows. That reader comes in its own pull request.Hardware (if the change is for a machine)
An NVIDIA DGX Spark, with the
nvidia-smilines above.AI help
AI 코딩 에이전트가 코드를 작성한 후 설명을 썼고, 테스트를 마쳤습니다. diff 리뷰와 PR 초안 리뷰는 제가 직접 했습니다.