Pre-test report — PR #229 "Muse Glimmer 30B NVFP4: single-GPU serving with images, DFlash2 drafting, and a 1,048,576-token context"
Head eebbf1d, base 66b473c3, 65 files, +5,503/−232. All review-lens summaries were cross-checked against the repository at main and at pr/229; where a summary was wrong I say so in §5.
1. Recommendation: do not refer to hardware testing in the current shape
This is not a "test it and see" PR. Three independent facts, each verified in-tree, make a GPU run now wasted time:
- ~73% of the diff targets directories that
maindeleted. Onmainthere is noignition/recipes/, noignition/reference/, noqualify/, notests/recipes/(verified by listingignition/*,qualify/*,ignition/reference/*,tests/recipes/*atmain).tests/preparation/test_core_boundary.pyatmainassertsnot (ROOT/"ignition"/"recipes").exists()(line 42), pinsignition/components/to exactly 13 modules (lines 62‑64;mainhas exactly those 13), and forbids tests importingqualify/hyperflare_recipes(lines 51‑59). The PR head still carries 14 recipe modules, 10 recipe test files, a reference module, a qualification driver and a committedqualify/results/glimmer-c16/summary.json(not opened). Its recipe importsignition.components.{linear,paged_attention,window_attention,embedding,mlp,vocabulary,dflash2_preparation}, none of which exist onmain— so after a textual merge the recipe cannot even import.AGENTS.md:379‑392anddocs/design-review.md:31‑37say recipes live inlocal-inference-lab/hyperflare-recipes, and the maintainer already requested exactly this split on 2026‑11‑24 ("the recipe portion needs a linked PR against thehyperflare_recipes/package… The runtime portion can remain here after removing recipe-owned files"). Testing a tree that cannot pass its own repository's CI, and whose main artifact must move to another repository, produces no mergeable information. - The runtime half still needs an architectural change.
helios/src/frontend/images/packing.rs:98‑113guards theImageLayoutKind::Bracketedarm onconfig.contract.frontend.image_preparation == Some(ImagePreparationKind::MuseGlimmer)— a per-model preparation enum selecting text-graph input packing inside the layout dispatch.AGENTS.md:357‑364forbids precisely this ("image preparation/layout implementations use independent typed enum identifiers; those identifiers cannot select scheduling, cache policy, text-graph input packing…"), anddocs/design-review.md:8‑12says to reject such a change even when tests pass. The PR also makes one layout id mean two staged-tensor sets (packing.rs:69‑70addsBracketed‑onlyvision_cu_window_seqlens/vision_reverse_indexwhilevision_pixel_valuesstays shared). The fix is cheap and additive (a newImageLayoutKindvalue;maintops out atCLASS_TOKEN_IMAGE_LAYOUT = 10,proto:478), but it changes the code a tester would exercise. - The charter's gate for a new recipe/alias cannot be met by testing alone. Charter: new recipes "must list supported checkpoints… prove they export and serve cleanly from the PR branch, and support more than a single checkpoint (#74)". The PR states it has not been exported or served; every GPU number comes from fork cores built before the forwards moved to per-call metadata. And
ignition/recipes/muse_glimmer_nvfp4/config.py:63‑73rejects the only other published checkpoint by construction (requires 4-bit group‑16 input activations, all 416 decoder projections NVFP4, BF16 head —nvidia/Muse-Glimmer-30B-NVFP4from PR #192 is 180 FP8 + 213 NVFP4 W4A16). It also collides on the aliasmuse-glimmer-30b-nvfp4with #192 (open, draft, priority contributor), so whichever checkpoint wins the name decides what a tester would even load. Testing before that decision risks testing #192's checkpoint under #229's alias.
Two further decisions must be made before any GPU time is spent, because they change expected behaviour: (a) the prepared-image record version bump (below) and (b) the total_size invariant, which main already changed differently (§5).
Expected value of a hardware test right now: very low. The only claims a GPU could settle that code review cannot are the fork-derived capacity numbers and whether the export/serve path works — and both must be re-derived after the split and the packing.rs fix, which will change the exported contract. Expected value after the split: high, and the plan in §6 covers it in roughly 2–3 GPU-hours on one card.
2. Blocking issues (verified)
| # | Where | Problem |
|---|---|---|
| B1 | ignition/recipes/muse_glimmer_nvfp4/**, tests/recipes/muse_glimmer_nvfp4/**, ignition/reference/muse_glimmer.py (not opened), qualify/**, tests/frontend/test_muse_glimmer.py (not opened), tests/qualify/** |
Land in directories main deleted on 2026‑11‑22 (da037284, 17bb3c4a); tests/preparation/test_core_boundary.py:42,62‑64 fails on them. Move to hyperflare-recipes per maintainer triage of 2026‑11‑24. |
| B2 | helios/src/frontend/images/packing.rs:98‑113, :69‑70 |
Text-graph input packing dispatched on the per-model ImagePreparationKind; one layout id now names two tensor sets. Violates AGENTS.md:357‑364, docs/design-review.md:8‑12,50‑52. Fix: additive ImageLayoutKind value, dispatch on layout only. |
| B3 | ignition/recipes/muse_glimmer_nvfp4/{recipe.py:49‑51, config.py:63‑73} |
Charter #74 unmet: no export/serve from this branch, exactly one supported checkpoint, and the second published checkpoint actively rejected. Needs either evidence or a recorded maintainer exception. |
| B4 | recipe.py:57 vs PR #192 |
Both register muse-glimmer-30b-nvfp4 for incompatible checkpoints; #192 is unanswered and still open/draft. Also tests/cli/test_models.py (not opened) is edited by both #229 and #212. |
| B5 | helios/proto/runtime_core.proto:375,511 vs PR #483 |
Both claim proto tag 11 (MUSE_GLIMMER_IMAGE_PREPARATION/muse_glimmer here; Gemma4/gemma4 in #483). One must renumber before either lands, or the core format churns twice. Not raised by any of the supplied summaries — it is a merge hazard for a tested artifact. |
3. Should-fix issues that matter for testing
- Prepared-image record version break with no v1 reader.
record.rsnow writesFLAREIMG\x02anddecoderejects\x01(:73,:116); onmainit is\x01both ways. Effect is a silent cache drop throughconditioned.rs::materialize_cached(decode fails →store.invalidate→ re-materialize), not a crash — butAGENTS.md:431‑444requires retaining readers for existing artifacts, and v1 is exactly v2 minus two trailing vectors, so a reader is a few lines. Either add it or disclose the break. A tester will otherwise see unexplained cold image latency after upgrade and report it as a regression. valid_processedchecks the two new vectors by length only (conditioned.rs:238‑239), whilecu_seqlenstwo lines above is compared by value (:237). A stale-but-right-length cached record passes validation, then fails at request time inpacking.rs:581/591("vision window segments differ from the image extent"). Cheap fix:first()==0,last()==patches, monotone, andreverse_indexa permutation of0..patches.total_sizecheck has diverged frommain— see §5; the PR's version must be re-authored, not rebased.- DFlash2 method never declared.
recipe.py:72buildsSpeculation(...)withoutmethod="dflash2"although the recipe downloads and usesz-lab/Muse-Glimmer-30B-DFlash2; the field gates--speculative-method(planning.py:462‑464),--draft-body-quantization(:488‑489), mixed prefill (:591‑592) andrebuild_manifest.py:407. Precedentqwen38_dense/recipe.py:68(not opened) declares it. This is user-visible (CLI label says "MTP module") and a tester would flag it as broken drafting. - Fork measurements presented as this recipe's costs.
recipe.py:49‑51records an export inventory fromgb202-tp1-202611080045(a fork core) as_GRAPH_BYTES, which feedsRankCostsand shared page budgeting. Qualify the comment or re-export on the branch. - Duplication that will be rewritten later:
muse_glimmer_nvfp4/attention.py(not opened) (214 lines) vsmuse_spark/attention.py(not opened);draft_config.py:16 (not opened)‑77vsignition/components/dflash2_geometry.py(not opened). Both are acknowledged indocs/TODO.txt. They cost nothing to test but are churn the reviewer expects to be folded. - Docs that will mislead a tester:
docs/model-preparation.md:1458attributes the KV-page line to the export's "Allocate cache" line, which exists only in core loading (helios/src/runtime_core/memory.rs:986; no such phase inheliopause/);:1506usesflare/target/release/flarewhile every sibling example usesflare-cli/; the "Storage and graph capacities" section still says other recipes default to 32 concurrent requests and has no Muse Glimmer row.
4. What is genuinely good and should survive the split (worth testing later)
- Additive core-format plumbing:
MUSE_GLIMMER_IMAGE_PREPARATION = 11,ImageSettings.muse_glimmer = 11, with per-profile arms inmod.rs,contract.rs,describe.rs(not opened),protobuf.rs. Nothing removed or renumbered; an older engine rejects the core explicitly. conditioned.rswildcard removal fixes a realmaindefect: onmainthe pixel-width match isGlm => 1176, _ => 588, andpatch_mergeemits 1176 (patch_merge.rs:140), so every cached PatchMerge record fails validation onmaintoday. The exhaustive rewrite (with a compile-time coverage test) is worth landing on its own.resize.rsFilterenum is behaviour-preserving for existing callers (pillow→Cubic,bilinear→Linear,resize→Cubic) and addslanczos3used only by the new frontend;patch_merge::bracketed_promptextraction removes duplication.
5. Corrections to the supplied review summaries
- "
mainalready hasmodelopt_nvfp4_layers/matches_pattern" is wrong.main'signition/preparation/quantization.pyhas onlyquantized_layers,linear_format,projection_group_format,expert_format; searches formodelopt_nvfp4_layers|matches_patternatmainreturn nothing. The extraction is a genuine (if now homeless) improvement. But its only callers are the extracted recipes, so it must move tohyperflare-recipeswith them — otherwise it is dead code plus a test file (tests/preparation/test_quantization.py(not opened), +127) that importsignition.recipes.gemma4, whichmainno longer has. - "
mainalready acceptstotal_size >= payload" is correct and more consequential than any summary says.0a4a6eb1(2026‑11‑25) replaced exact equality withif type(declared) is not int or declared < total: raise(checkpoint.py:215‑218). PR #229's base predates that, so the PR reimplements the relaxation as exact membership in(payload, files)— which is stricter thanmainin one direction (rejects a value between payload and file bytes) and would also invalidate the message asserted bytests/preparation/test_checkpoint_quantization.py:41(not opened). This must be resolved as a design decision againstmain, not merged as a rebase; ifmain's bounded form survives, the PR's hunk should be dropped entirely. - The architecture review's "verified clean" list is accurate, and the "no CUDA/PTX/kernel changes" claim checks out (no
.cu/.ptxin the file list) — onlyignition/preparation/kv_codec_gpu.cuexists atmainand is untouched. - The prose and simplicity lenses are right that the PR description itself is honest and well-formed (discloses unrun CUDA tests, fork-only measurements, single checkpoint). None of the supplied reviews found injection or agent-directed content; I found none either in the description, comments, or the files I read.
6. Minimal test plan — for after the split, not for this head
Do not run this on eebbf1d. Run it on the follow-up runtime-only PR (expected ≈1.1k lines: proto/contract/describe/protobuf additions, images/mod.rs MuseGlimmer profile, new windowed packing selected by a new ImageLayoutKind, record.rs v2 + v1 reader, resize.rs Filter, conditioned.rs exhaustive matches, ignition/preparation/frontend.py muse_glimmer profile), with the recipe living in hyperflare-recipes.
Host: cn5 only (4× RTX PRO 6000 Blackwell Max-Q 96 GiB, SM120, amd64 — the PR's exact target). cn7 is GB10/arm64 and irrelevant.
Resource note: the checkpoint is 23.38 GB stored / ≈28.5 GB resident plus a 5.5 GB drafter; the default 16 GiB scratch is not enough — request a larger scratch/host cache or pre-stage the snapshot in the job's model cache. Neither host currently has the Muse Glimmer checkpoints staged, so the job must download original-el8/Muse-Glimmer-30B-NVFP4@b47e1e9f and z-lab/Muse-Glimmer-30B-DFlash2@b54ffdd1 (pinned).
Budget: ~3 GPU-hours on 1 card, single job.
Phase 0 — CPU/unit gates (no GPU, ~10 min; fail fast):
pytest -m 'not cuda' tests/preparation tests/cli and cargo test --locked --manifest-path helios/Cargo.toml (not opened) --features runtime-core,server,test-tools --lib frontend::images runtime_core. Must include tests/preparation/test_core_boundary.py (proves the split landed) and the conditioned.rs every-profile coverage test.
Phase 1 — regression, existing cores (≈45 min, highest value):
- Mount a pre-PR exported image core (any of Qwen/GLM/MiniMax PatchMerge/PaddedGrid that exists in the artifact cache) and serve one image request. This is the only real check that
record.rsv2,packing.rstensor tables andconditioned.rsrewrites did not break existing cores. - Prepared-image cache upgrade path: with a cache directory written by the current released engine (v1 records), issue the same image request twice. Expected with the v1 reader: first request hits the warm record and does not re-preprocess; with v2-only decode: one silent re-preparation, then warm. Assert the chosen behaviour explicitly — this is a design decision, not a test outcome.
- Spot-check the
mainfix: a MiniMax PatchMerge image request must now reuse its cached processed image across two requests (onmainit silently re-prepares every time). One request pair suffices.
Phase 2 — new windowed layout (≈60 min, the actual new functionality):
- Export the Muse Glimmer core from the branch:
ignition export muse-glimmer-30b-nvfp4 --gpus 0(or the recipes-repo equivalent); require it to print the cache-allocation line and to succeed on SM120. flare run <core> --gpus 0 --max-concurrency 8, then: (a) one text request, 128 output tokens; (b) one image request at two aspect ratios, one of them a tie size from the pinned CPython-order table (aspect-ratio tie-breaking is the fragile part) — verify the returned text is coherent and that token accounting matches the reported image token count; (c) one request with drafting enabled, verifying the CLI reports DFlash2 proposals (this is themethod="dflash2"fix) and that accepted drafts > 0.- Repeat (b) once with a second image to exercise the multi-image window offset arithmetic (
packing.rswindow_start,record.rsappend offsets). - Optional 15 min: two concurrent requests with images at
--max-concurrency 16to confirm the image capacity math (image_capacity(max_active, image_concurrency)).
Do not do: throughput A/B against main (no kernel changes; the claimed numbers are fork measurements and will be re-measured by the recipe repo's own qualification), 1M-context probing (declared capacity, not a new mechanism — and the arithmetic is reviewed, not measurable in a 3-hour window), or any test of draft_config.py (not opened) re-derivation and attention.py (not opened) duplication (structural; delete them instead).
Pass criteria: Phase 0 green including the boundary test; existing image cores load and serve unchanged; the cache behaviour in Phase 1 matches the recorded decision; export+serve and both image requests succeed with correct token counts. Stop the job on first failure in Phase 1 — a broken existing core is a merge blocker regardless of Phase 2.
7. What must change before that test is worth scheduling
- Strip the recipe-owned files to a linked
hyperflare-recipesPR (B1); keep the runtime half here. - Replace the model-guarded
Bracketedarm with a newImageLayoutKind(B2); then re-derivetensor_layoutentries and re-review the window/reverse-index upload set. - Decide the proto tag-11 collision with #483 (B5) and the alias with #192 (B4) — the alias decides which checkpoint the test loads.
- Re-author
checkpoint.pyagainstmain's0a4a6eb1form, or drop the hunk (S3 above). - Add the
FLAREIMG\x01reader or state the compatibility break in the description; reconcile the record version with theflare-prepared-image-v1metadata tag. - Add
method="dflash2"(or a recorded reason not to) and qualify the fork-measurement comments; fix the "Allocate cache"/flare-clidoc errors so the tester's instructions work.