Explore scratchpad · NVIDIA/hyperflare-inference #229

Raw Markdown for agents: https://autobot.eidonix.com/p/0b16f496-d970-4481-944d-de4784959595.md

#1 [high] Change: overview and size of PR #229

PR #229 "Muse Glimmer 30B NVFP4: single-GPU serving with images, DFlash2 drafting, and a 1,048,576-token context" — open, ready for review, opened 2026-11-07, last updated 2026-11-24 (1 day before orientation). Base main; head commit eebbf1d. 65 files, +5503/−232. Three commits on main at 66b473c3. Labels: area:api, area:packaging, area:preparation, enhancement, model:muse-glimmer, triage:design-review. Review: changes requested by yatesdr. CI: no checks on head commit. Author: Raydius (GitHub association NONE).

Files by group (pr_files):

#2 [high] Community/Process: changes-requested review by yatesdr and its status

yatesdr review 2026-11-19 02:53, CHANGES_REQUESTED, three points: (1) Export and serve from this branch itself (not fork packages) after rebase and post the result; (2) the 1,048,576-token context — eight times native 131,072 with no RoPE scaling, evidence is only a passkey probe on a fork package (14/15 cells); if the full context is intended, add evidence beyond retrieval (a long-context task, and a check that shorter prompts are unaffected), otherwise declare native 131,072; (3) rebase onto current main. Raydius rebased 2026-11-19 04:40 to head eebbf1d on 66b473c3; did not add the requested long-context evidence and did not export/serve from the branch — the description still states both as unverified. So the two substantive review requests are answered only by "not measured", i.e. unresolved.

GitHub/merge conflict history: original-el8 flagged conflicts three times (2026-11-08 for ignition/recipes/init.py; 2026-11-13 for ignition/components/dflash2.py, runtime_package_pb2.py, tests/preparation/test_checkpoint_source.py; resolved by rebases on 11-08, 11-09, 11-19).

#3 [high] Related work: repository split removes recipes from core (PR #229's base is pre-split)

On main (checked at head 0a4a6eb1, 2026-11-25) ignition/recipes/ and tests/recipes/ NO LONGER EXIST. Luke Alonso's commits da037284 (2026-11-22 "Stage hyperflare_recipes separation, slim core ignition, and commit rebuild/hub updates"), 17bb3c4a (2026-11-22 "Remove extracted hyperflare_recipes, qualification drivers, and model tests from core Flare") and 568aeca0 (2026-11-22 "Align core Flare docs, AGENTS.md, and design-review with hyperflare-recipes split") extracted the recipes to local-inference-lab/hyperflare-recipes. Other PRs confirm: #467, #468 moved to hyperflare-recipes/pull/17; #483 says "recipes were extracted to local-inference-lab/hyperflare-recipes"; #471 says "lockfile moved".

Effect on #229 (head eebbf1d, based on 66b473c3 of 2026-11-19, three days before the split): the bulk of the PR now targets deleted paths — ignition/recipes/muse_glimmer_nvfp4/ (14 files, +1681), ignition/recipes/init.py, ignition/recipes/gemma4/config.py, ignition/recipes/muse_spark/{contract,frontend}.py, tests/recipes/muse_glimmer_nvfp4/ (9 files, +1926), tests/recipes/test_vision_scratch.py, tests/cli/test_models.py / test_planning.py / test_mtp_only.py / test_draft_checkpoints.py (do these survive? tests/cli still exists on main but test_models.py, test_mtp_only.py, test_draft_checkpoints.py were deleted by 17bb3c4a — main's tests/cli has only test_commands, test_config, test_core_edit, test_development_signing, test_gpu_discovery, test_planning, test_production_signing, test_progress, test_recipe_injection. So test_planning.py survives), ignition/reference/muse_glimmer.py and qualify/ (ignition/reference/ and qualify/ deleted — main has neither), tests/preparation/test_quantization.py.

Still applicable to core after the split: helios/proto/runtime_core.proto, helios/src/frontend/images/* (new muse_glimmer.rs + shared profile plumbing), helios/src/runtime_core/*, helios/src/model/{contract,tests}.rs, ignition/preparation/{checkpoint,frontend,quantization}.py, runtime_core_pb2.py, docs/model-preparation.md, docs/TODO.txt (partly).

original-el8's 2026-11-24 21:46 comment on #229 states exactly this: "Repository-split triage: this PR spans both repositories and remains open for its runtime changes. hyperflare-recipes: the Muse Glimmer recipe, model components, and model qualification tests. This runtime repository: the native image frontend, runtime protocol, and shared checkpoint/preparation changes. The recipe portion needs a linked PR against the hyperflare_recipes/ package, with its tests and validation evidence carried over. The runtime portion can remain here after removing recipe-owned files." Same triage posted on #192.

#4 [high] Related work: #483 claims the same proto tag 11 as #229 and edits the same image-frontend files

#483 "Add Gemma 4 image preparation, Bracketed patch-width metadata, and atomic spans" (open, by rickybrent, opened 2026-11-23, updated 2026-11-25, +2490/−251, 38 files, three review rounds, "no blockers" at last round) ALSO claims ImageSettings.profile tag 11 (Gemma4ImageSettings) and ImagePreparationKind::Gemma4 = tag 11 — the same numbers as #229's MuseGlimmerImageSettings muse_glimmer = 11 and MUSE_GLIMMER_IMAGE_PREPARATION = 11. Whichever merges second must renumber (and re-export cores, since a core's profile number is baked in). #483 is a core-only profile landed ahead of its recipe (also after the split) — the same structural situation as #229's core half. #483 also rewrites exactly the shared files #229 touches: helios/proto/runtime_core.proto, helios/src/frontend/images/{conditioned,mod,packing,patch_merge,gemma4}.rs, helios/src/model/{contract,tests}.rs, helios/src/runtime_core/{describe,protobuf}.rs, ignition/preparation/{frontend.py,contract.py,runtime_core_pb2.py}, docs/TODO.txt. #483 specifically "Unified per-profile patch widths behind ImageProcessor::patch_features()" and removed the patches_per_feature -> width lookup table in packing.rs — the same matches #229 extends ("The matches that give each profile's patch width and interpolation taps list every profile, with no default arm"). Direct conflict surface in conditioned.rs/packing.rs/patch_merge.rs. #483's reviewer notes the charter bar: new profile must "prove they export and serve cleanly from the PR branch" (#74) and existing cores still load — the same bar #229 does not meet (no export/serve from branch).

Evidence of #229 colliding with the split: #229's intended recipe half must now land in local-inference-lab/hyperflare-recipes, per original-el8's 2026-11-24 triage comment.

#6 [high] People: Raydius's earlier 1M-context PR #212 and the charter's #210 reference

Author Raydius has 3 other items in 180 days: #212 (open), #211 (closed PR), #210 (closed issue); 0 merged. #212 is the closest analogue to #229 and shows the same pattern and the same reviewer reaction:

#7 [high] Change: shared-code changes the description does not state

Shared-code changes the description does NOT declare (verified in the diff at pr/229):

  1. helios/src/frontend/images/record.rs: the prepared-image record format is version-bumped FLAREIMG\x01 -> FLAREIMG\x02 (encode: write(b"FLAREIMG\x02"); decode: reader.take(9)? != b"FLAREIMG\x02"). Every record written by an older build is now unreadable by the new one. ProcessedImages::decode is used by the Selene input cache path (conditioned.rs:154-165 materialize_cached -> store.get_blocking -> ProcessedImages::decode(bytes)), which on failure invalidates and re-materializes — so the effect is cache misses, not corruption — but the bump is undeclared, and valid_processed gains two new length checks (cu_window_seqlens, reverse_index) that also invalidate any record an older/newer build cached. The header fix in the test was updated accordingly (b"FLAREIMG\x02").
  2. record.rs append merging: new cross-image offset arithmetic for cu_window_seqlens (seeds a leading 0, offsets by last element, clears when length 1) and reverse_index (offset by current length). Also encoded_len base changes 9 + 68 -> 9 + 88.
  3. helios/src/frontend/images/packing.rs: ImageLayoutKind::Bracketed now accepts vision_interpolation_indices/vision_interpolation_weights (added to the existing Qwen/Moonvit/Step/Radio/ClassToken arms) and two new Bracketed-only tensors vision_cu_window_seqlens (Int32, patches/64+2) and vision_reverse_index (Int64, patches). prepare() dispatches Bracketed + ImagePreparationKind::MuseGlimmer to a new muse_glimmer() fn; the existing bracketed() validation is extracted into bracketed_extent() shared by both (error message parameterized: "invalid temporal patch-merge image extent" vs "invalid Muse Glimmer image extent"). So a Bracketed layout that declares interpolation tensors is now allowed for every Bracketed core, not just Muse Glimmer.
  4. helios/src/frontend/images/patch_merge.rs: the prompt expansion in Processor::expand_prompt is extracted into a shared pub(super) fn bracketed_prompt(...), so Muse Glimmer reuses PatchMerge's envelope behaviour. No behavioural change for PatchMerge.
  5. helios/src/frontend/images/resize.rs: axis()/resample() signature changes from a linear: bool to a Filter enum (Cubic/Linear/Lanczos, support 2/1/3) and a new lanczos3() kernel plus pub(super) lanczos(). The pillow, bilinear, resize entry points keep their old filter, so existing profiles' arithmetic is unchanged; the whole resizer's signature is refactored, though.
  6. helios/src/frontend/images/conditioned.rs: valid_processed replaces the wildcard _ => 588 pixel-width arm and the matches! interpolation list with exhaustive matches (all 11 profiles listed) and adds cu_window_seqlens/reverse_index length checks. The same diff fixes a real main bug: Profile::PatchMerge previously fell into the _ => 588 arm, so a PatchMerge image could never validate out of the cached path. The test every_image_settings_variant_materializes_through_the_cache_path is new and covers all 11 profiles.
  7. helios/src/model/tests.rs, layouts/bracketed.rs, deepseek4.rs, moonvit.rs, patches.rs, radio.rs, step.rs, model/tests.rs each add cu_window_seqlens: vec![]/reverse_index: vec![] to ProcessedImages literals (mechanical).
  8. ignition/recipes/muse_spark/{contract.py,frontend.py}: Muse Spark's contract.prepare gains vision=None and frontend=FRONTEND parameters (forwarded to c.graph_contracts(...)), and runtime_assets gains a patch= default parameter. This is the hook Muse Glimmer's contract uses; the description does not mention that Muse Spark's public functions changed signature.
  9. ignition/recipes/gemma4/config.py: also exposes matches_pattern (previously _matches_pattern) from the shared module, i.e. a private helper became shared API.

#8 [high] Claims and evidence: what backs each claim and what does not

Claims vs evidence (read the "Evidence" and "Claimed result" sections against what the branch contains):

#9 [high] Project fit: charter rules for new recipes, model-agnostic runtime, docs

Charter (read via read_charter) versus this PR, as facts:

#10 [high] Reach: users, operators, compatibility, defaults and documentation touched

Reach / blast radius, from the diff:

#11 [high] Research summary

Case file for PR #229 (Muse Glimmer 30B NVFP4) is gathered in the scratchpad, across all nine angles.

The two findings a reader could not get from the description: (1) main deleted ignition/recipes/ and tests/recipes/ on 2026-11-22 (Luke Alonso's da037284 / 17bb3c4a / 568aeca0 extract to local-inference-lab/hyperflare-recipes), so the bulk of this PR — the whole recipe, its nine test files, ignition/reference/muse_glimmer.py (not opened), qualify/ — now targets paths that no longer exist upstream, and original-el8's 2026-11-24 triage comment already says the recipe half must be re-landed in the recipes repo; (2) open PR #483 (Gemma 4 image preparation) claims the same ImageSettings.profile tag 11 and ImagePreparationKind tag 11 that this PR does, and rewrites the same image-frontend files (conditioned.rs, packing.rs, patch_merge.rs, proto, frontend.py, runtime_core_pb2.py (not opened)), so whichever merges second renumbers and re-exports.

Also recorded: undeclared shared-code changes (prepared-image record FLAREIMG v1→v2 bump, Bracketed layout gaining interpolation + vision_cu_window_seqlens/vision_reverse_index, a Filter refactor of the whole resizer, a genuine main bug fixed for PatchMerge in the cached path, Muse Spark's contract.prepare/runtime_assets signature changes); the unchanged changes-requested review from yatesdr (export/serve from the branch; long-context evidence beyond the fork passkey probe) still open after the rebase; the checkpoint's total_size rule already loosened differently on main by 0a4a6eb1 after this base; the charter's single-checkpoint and export-and-serve rules both unmet; the only in-tree verifiable claim being the additive proto numbering and profile-10 decode; and the checked-in qualify/results/glimmer-c16/summary.json backing only a 16-stream admission smoke test on a counting prompt.

#5 [medium] Related work: #387 overlaps the image frontend and rejects-accepts video oppositely

#387 "Add video input for Qwen3.8 27B" (open draft, FujitsuPolycom, opened 2026-11-19, +7152/−430, 82 files) also edits the same shared surfaces #229 touches: helios/src/frontend/images/{conditioned.rs (+312/−26), mod.rs, patches.rs, patch_merge/patches}, helios/proto/runtime_core.proto, ignition/preparation/{frontend.py, runtime_core_pb2.py}, tests/preparation/test_frontend_metadata.py, tests/cli/test_planning.py. #387 adds ImageTokenLayout.video_feature_token = 3 and QwenImageSettings.video = 6 (no clash with #229's image profile 11, but same messages/proto file). #229 explicitly REJECTS video tokens ("video tokens are rejected") — the opposite policy on the same frontend: #387's whole point is that video is a first-class part, so the two frontends diverge on whether <|video|> is accepted. original-el8 posted the same repository-split triage on #387 on 2026-11-24. #387 also shows the bar this repo now applies: GPU evidence from its own head, cores exported and served, CPU test counts against main, and an explicit "stacked on #386, merge order" note.

#12 [medium] Why: the gap the PR fills and how much demand exists for it

The why, as stated and as verified:

#13 [medium] Community: engagement level and review state

Community engagement and process state (from pr_comments / read_item 229):