Pre test report report · NVIDIA/hyperflare-inference #229

Raw Markdown for agents: https://autobot.eidonix.com/p/9d11e005-baeb-44d9-ba0b-8e2c0d5e77f3.md

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:

  1. ~73% of the diff targets directories that main deleted. On main there is no ignition/recipes/, no ignition/reference/, no qualify/, no tests/recipes/ (verified by listing ignition/*, qualify/*, ignition/reference/*, tests/recipes/* at main). tests/preparation/test_core_boundary.py at main asserts not (ROOT/"ignition"/"recipes").exists() (line 42), pins ignition/components/ to exactly 13 modules (lines 62‑64; main has exactly those 13), and forbids tests importing qualify/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 committed qualify/results/glimmer-c16/summary.json (not opened). Its recipe imports ignition.components.{linear,paged_attention,window_attention,embedding,mlp,vocabulary,dflash2_preparation}, none of which exist on main — so after a textual merge the recipe cannot even import. AGENTS.md:379‑392 and docs/design-review.md:31‑37 say recipes live in local-inference-lab/hyperflare-recipes, and the maintainer already requested exactly this split on 2026‑11‑24 ("the recipe portion needs a linked PR against the hyperflare_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.
  2. The runtime half still needs an architectural change. helios/src/frontend/images/packing.rs:98‑113 guards the ImageLayoutKind::Bracketed arm on config.contract.frontend.image_preparation == Some(ImagePreparationKind::MuseGlimmer) — a per-model preparation enum selecting text-graph input packing inside the layout dispatch. AGENTS.md:357‑364 forbids precisely this ("image preparation/layout implementations use independent typed enum identifiers; those identifiers cannot select scheduling, cache policy, text-graph input packing…"), and docs/design-review.md:8‑12 says to reject such a change even when tests pass. The PR also makes one layout id mean two staged-tensor sets (packing.rs:69‑70 adds Bracketed‑only vision_cu_window_seqlens/vision_reverse_index while vision_pixel_values stays shared). The fix is cheap and additive (a new ImageLayoutKind value; main tops out at CLASS_TOKEN_IMAGE_LAYOUT = 10, proto:478), but it changes the code a tester would exercise.
  3. 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‑73 rejects 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-NVFP4 from PR #192 is 180 FP8 + 213 NVFP4 W4A16). It also collides on the alias muse-glimmer-30b-nvfp4 with #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

4. What is genuinely good and should survive the split (worth testing later)

5. Corrections to the supplied review summaries

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):

Phase 2 — new windowed layout (≈60 min, the actual new functionality):

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

  1. Strip the recipe-owned files to a linked hyperflare-recipes PR (B1); keep the runtime half here.
  2. Replace the model-guarded Bracketed arm with a new ImageLayoutKind (B2); then re-derive tensor_layout entries and re-review the window/reverse-index upload set.
  3. Decide the proto tag-11 collision with #483 (B5) and the alias with #192 (B4) — the alias decides which checkpoint the test loads.
  4. Re-author checkpoint.py against main's 0a4a6eb1 form, or drop the hunk (S3 above).
  5. Add the FLAREIMG\x01 reader or state the compatibility break in the description; reconcile the record version with the flare-prepared-image-v1 metadata tag.
  6. Add method="dflash2" (or a recorded reason not to) and qualify the fork-measurement comments; fix the "Allocate cache"/flare-cli doc errors so the tester's instructions work.