Repository navigation
Conversation
The old V4-Flash UD-Q3_K_M shard both gates read is gone from the box: only each family's newest model is verified, and old files are not fetched again. IQ3_XXS now reads Qwen3.8-Flash-Next UD-Q3_K_XL's second shard (blk.0.ffn_gate_exps, k = 2560) and MXFP4 the V4.1 DSpark draft (blk.0.ffn_gate_exps, k = 5120); ik's dumps are re-made from the same tensors. BLOOMERY_IQ3XXS_MODEL and BLOOMERY_MXFP4_MODEL name them; BLOOMERY_V4_MODEL is refused by name. Every assertion stays. Gate B is 0 ULP on 64 rows for both. FAIL-first: one flipped byte of the first row turns both predicts_ik red. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Coverage change, 2026-10-29: the old V4-Flash UD-Q3_K_M file is no longer on the box, and the user's rule is that V4 passes once V4.1 works; only each family's newest model is verified. The gate pinned that file's own header, so no other file can take its place. Its recipe, test (deepseek4_meta.rs and common/deepseek4_pins.rs), class row, levers-direct row and the deepseek4 profile go. The arch::deepseek41 lib tests it also ran stay in gate-ds41-meta and gate-ops. The reader keeps reading V4 files. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Verdict: MUST_FIX: the PR deletes gate-deepseek4-meta but leaves a doc comment that names it.
Must fix
1. A comment still names the retired gate
crates/model/src/arch/deepseek41/hparams.rs:1623 says the v4() layer table is what just gate-deepseek4-meta pins. That recipe, its test file and its pins file are deleted in this PR. A reader who follows the comment finds nothing, and may think the table is still checked against a real file. It is now only a synthetic table for the lib tests.
Cost: this is the only live reference in code. Fixing it in this PR keeps the retirement complete.
Fix:
/// The V4-Flash layer table, built from the ratios alone:
/// ratio 0 on layers 0-1, then 4 and 128 alternating from layer 2 to 42;
/// every compressed layer owns its gated compressor (twice the latent wide
/// at ratio 4), the ratio-4 layers their indexer and index-key compressor.
Non-blocking
⚠ V4-Flash has no file gate left: Model::Deepseek4 (hparams.rs:96, DEEPSEEK4 in arch/mod.rs:111) stays in the reader and the registry row deepseek41,deepseek4. After this PR only synthetic lib tests run it. The PR body gives a dated reason for the retirement. Say in the body whether Model::Deepseek4 is meant to stay untested on a real file, or is next to go.
⚠ Stale names in docs: docs/research/modelspec-design.md (lines 344, 601, 666, 815, 823, 923) points at deepseek4_meta.rs, deepseek4_pins.rs and gate-deepseek4-meta. It is a design record, so this is optional; a one-line "retired 2026-10-29" note would help.
Checked
- Duplicates: 4 new items checked (
model_file,FileCase, 2 levers). None duplicated. The lever pair follows the existingBLOOMERY_Q5K_MODELpattern. dryer: 0 pairs. - Complexity: crapper flagged none.
- Silent failure: 4 sites followed.
BLOOMERY_V4_MODELis refused by name in Rust (var_os) and in the script (+x), with any value, before any build.model_filepanics on an unknown type.FileCase::loadstill asserts byte size and row count, andik_dumpasserts that the dump and the scan found the same tensor and k. - Tests: mutation check on the
build-qdot-ref.shself-test. Swapping the two files in theiq3xxs_ref/mxfp4_x4_refcase arms turnsiq3xxs-fileandmxfp4-filered. Removing the refusal turnsretired-rcred. The stub's.argsprintf format is correct inside the quoted heredoc. No assertion inqdot.rschanged. - Gates:
gate-deepseek4-metais removed with a dated reason (2026-10-29) in the PR body. No band, tolerance or pin moved.gate-class.tsv,gate-paths.tsvandlevers-direct.txtagree with the deletions. No other recipe, script or crate refers to the gate. - Hot path: none (tests, tools, registry text).
- Escape catalog: C1 to C4 checked on
build-qdot-ref.sh; none matched. The$(find ...)and$(cat ...)substitutions are only read, not used for an exit code.
Notes
- The PR body reports
gate-qdotresults and a FAIL-first, but without command output. The gates are CPU-only. Tests were not run in this review.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Verdict: CLEAN: the new commit fixes the one must-fix, and the new lines add no defect.
Since the last review:
- Must-fix 1 (comment names the retired gate): fixed. hparams.rs:1623 now reads "built from the ratios alone", as suggested.
- ⚠
Model::Deepseek4has no file gate: answered. The PR body now says it stays on purpose and only synthetic lib tests run it. - ⚠ Stale names in
docs/research/modelspec-design.md(lines 344, 601, 666, 815, 823, 923): still open. It is a design record, so this is optional. A one-line "retired 2026-10-29" note would help.
Checked
- Duplicates: the new commit adds one comment line and no item. Nothing to check. dryer: 0 pairs.
- Complexity: crapper flagged none.
- Silent failure: no code changed in the new commit.
- Tests: no test changed. The earlier mutation check stands.
- Gates: no pin, band or tolerance moved by the new commit.
- Escape catalog: no pattern matched.
Notes
- The PR body gives gate results without command output. The gates are CPU-only. Tests were not run in this review.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
The old V4-Flash UD-Q3_K_M file is gone from the box. Only each family's newest model is verified, and V4 passes once V4.1 works.
gate-qdot: the IQ3_XXS case now reads Qwen3.8-Flash-Next UD-Q3_K_XL's second shard (blk.0.ffn_gate_exps, k = 2560). The MXFP4 case reads the V4.1 DSpark draft (blk.0.ffn_gate_exps, k = 5120). ik's dumps are re-made from the same tensors.BLOOMERY_IQ3XXS_MODELandBLOOMERY_MXFP4_MODELname the files, andBLOOMERY_V4_MODELis refused by name. No assertion changed.gate-deepseek4-metais retired (a coverage change, dated 2026-10-29). It pinned that file's own header, so no other file can stand in for it. Itsarch::deepseek41lib tests still run ingate-ds41-metaandgate-ops.Model::Deepseek4stays in the reader on purpose. Only the synthetic lib tests run it now; no real file checks it.Evidence (box, fixture tier, lead ledger):
gate-qdot: 112 passed. Gate B is 0 ULP on 64 rows for both types. FAIL-first: flipping one byte of the first row turns bothpredicts_ikred.gate-leversis green.recipes.py check,gate_class.py check,check-levers.shandbuild-qdot-ref.sh --self-testpass.An AI agent (Claude Code) wrote this change. The maintainer reviewed it and ran the gates.
🤖 Generated with Claude Code