Prose scratchpad · NVIDIA/hyperflare-inference #229

Raw Markdown for agents: https://autobot.eidonix.com/p/64f9f71e-4d98-4be6-b8bf-b1e8cc4b8b2a.md

#1 [high] Should fix: Muse Glimmer sampling defaults are derived from another model, which design-review forbids

ignition/recipes/muse_glimmer_nvfp4/recipe.py:54-55:

Sampling defaults carried from Muse Spark; the model card gives none.

sampling_defaults=SamplingDefaults(temperature=1., top_p=1., top_k=-1),

docs/model-preparation.md (pr/229) 1494-1495: "Sampling defaults carry over from Muse Spark, since the model card recommends none: temperature 1.0, top-p 1.0, and top-k disabled."

docs/design-review.md:84-86 (principle 10) says: "Read the model card and manually verify sampling defaults in each Ignition recipe; never derive sampling policy from checkpoint config files or another model."

The prose states the derivation as the justification, which is exactly the prohibited route. Fix: state the manually verified values for this checkpoint (the model card recommends no distribution shaping, so temperature 1.0 / top-p 1.0 / top-k disabled) and drop the "carried from Muse Spark" rationale in both the recipe comment and the doc paragraph. tests/preparation/test_frontend_metadata.py:24-26 comment repeats the same rationale ("Muse Glimmer carries Muse Spark's defaults").

#3 [high] Should fix: "Storage and graph capacities" prose and table contradict the Muse Glimmer declaration

docs/model-preparation.md (pr/229) 1509-1528, the "Storage and graph capacities" section this PR owns, was not updated for the new recipe:

Muse Glimmer declares concurrency=8, max_concurrency=16 (ignition/recipes/muse_glimmer_nvfp4/recipe.py:69) and only 64 speculative rounds with 128 rows, so it is neither "four concurrent requests" nor "32 concurrent requests", and its 15-draft packed catalog at batch up to 16 is exactly the kind of entry the table exists to record. The section therefore contradicts the recipe it should specify. The paragraph at 1530 ("The 128-row rectangular catalogs cover full draft depth through batch 16") also reads oddly next to a 15-draft packed catalog.

Fix: add a Muse Glimmer row (15 draft tokens, packed, 64 packed rounds by default at concurrency 8 / up to 16) and adjust the "Other recipes default to 32 concurrent requests" sentence to name the exceptions or stop enumerating them.

#8 [high] Research summary

I reviewed PR #229 through the prose lens: the description, the three commit messages as recorded in the conversation, and every doc, TODO and code-comment change in the diff, judged against AGENTS.md (four-part PR descriptions, required prose review, Discord line, rejection criteria), docs/design-review.md (principles 10, 16, 17) and .agents/skills/repo-prose/SKILL.md (not opened). Findings are in the scratchpad under titles beginning "Should fix:", "Nit:" and two cleared-notes.

The PR's structure and honesty are unusually good and need no work: the four answers come in the required order, expectations are labelled as such, GPU figures are explicitly attributed to fork cores built before the forwards moved to per-call metadata, unrun CUDA tests and the untested export/serving path are disclosed, and the Discord line is present. The large numbers in the description all reconcile with the code I read (52/39/13 layers, 416 projections, 5,544,328,424 draft bytes, 62,914,560/41,943,040 row bytes, 851,968 page bytes, 6,226,612,060 graph bytes against the 2,870.81+1,126.00+843.03+1,008.16+90.16 MiB itemisation, and the qualify/results/glimmer-c16/summary.json figures).

Three prose defects I could show from the code. First, the sampling defaults are justified by derivation rather than verification, in the recipe comment, the doc paragraph and the test comment, which is exactly what design-review principle 10 forbids ("never derive sampling policy ... from another model"); the values can be stated as manually verified without the Muse Spark rationale. Second, the new Muse Glimmer doc paragraph says the per-request KV guarantee is "reported by the export's Allocate cache line", but that phase exists only in runtime core loading (helios/src/runtime_core/memory.rs:986, finishing at :1036), not in any heliopause export phase. Third, the "Storage and graph capacities" section this PR owns still says other recipes default to 32 concurrent requests and its table has no Muse Glimmer row, so it contradicts the 8/16 concurrency and 15-draft packed catalog the PR adds. Plus one nit: the run command in the example uses flare/target/release/flare where every sibling example uses flare-cli/.

I also raised one judgement call for the maintainer rather than as a blocking finding: the description defers the 214-line duplicated attention module to docs/TODO.txt, and AGENTS.md forbids rescuing a contribution by promising future cleanup. Whether it is a violation turns on whether widening Muse Spark's attention is genuinely the larger change, which the code and another lens settle, not the prose.

#9 [high] Verification limits: what I could not check (commit bodies, trailers, model card)

Tool limits on this review, so the report must not overstate coverage:

#2 [medium] Should fix: docs attribute the Allocate cache output to export, but it is a runtime core-load phase

docs/model-preparation.md (pr/229) 1456-1458: "(a lone request may reach the full 1,048,576 tokens; with every admitted request active each is guaranteed the pages the GPU holds ÷ concurrency × 128 tokens, reported by the export's Allocate cache line)".

The Allocate cache label is not an export phase. It is emitted only by the runtime core loader at core load: helios/src/runtime_core/memory.rs:986 (progress.phase("Allocate cache", Some(gpu_bytes))) and it finishes at memory.rs:1036-1040 with "{:.1} GiB · {} KV tokens · {snapshots} shared snapshot slots · limited by {limiting}". The export-side phases in heliopause are "Export frontend assets", "Serialize CUDA graphs", "Assemble core payloads", "Commit core", etc. (heliopause/src/export/binding.rs:231, capture.rs:3089, core.rs:720) — none named "Allocate cache". StartupProgress maps only the runtime label (helios/src/startup.rs:62).

Fix: say the figure is reported by flare run's Allocate cache line at core load, not by the export. A reader following the doc to the export output will not find the number.

#4 [medium] Nit: Muse Glimmer run command uses flare/target/release/flare, unlike every other example

docs/model-preparation.md (pr/229) 1503-1507 Muse Glimmer export example:

flare/target/release/flare run /data/flare-runtime/muse-glimmer-tp1.safetensors --gpus 0

Every other example in this file uses flare-cli/target/release/flare (lines 298, 332, 334, 670, 811, 866, 929, 972, 1054, 1175, 1303, 1341, 1408, 1610, 1618, 1692) or ./flare-cli/target/release/flare. flare/target/release/flare is the build output of the flare/ library crate, and AGENTS.md:249-251 / the build instructions build --manifest-path flare-cli/Cargo.toml. docs/model-preparation.md:1408 (Muse Spark, the sibling recipe) uses flare-cli/target/release/flare run.

Also the doc names the output .safetensors while the same section's predecessor uses --form packed; both are fine, but the binary path is the concrete copy error a user will hit.

#5 [medium] Nit/question: description's "records folding in TODO.txt" framing is the pattern AGENTS.md calls rescuing by future cleanup

JUDGEMENT CALL — verify before publishing.

docs/TODO.txt (pr/229, +8) adds an entry opening "Fold Muse Glimmer's attention back onto Muse Spark's." That is a planned cleanup/follow-up, which AGENTS.md:513-516 (Task tracking) permits in TODO.txt, and the entry names the missing condition (Spark's attention accepting per-forward metadata) and the removal criterion, as the prose skill wants (SKILL.md:38-39). So the TODO entry itself is fine.

The PR description, however, states as an accepted fact that "ignition/recipes/muse_spark/attention.py is unchanged by this PR" and that the duplication is deferred. AGENTS.md:209-212 says: "When reviewing a contribution that violates these criteria, identify the concrete violation and relevant rule, and recommend rejection. Do not rescue it by adding an opt-in, weakening the rule, expanding its scope, or promising future cleanup." AGENTS.md:188-193 rejects duplicate abstractions and churn. Recording duplication in TODO.txt and merging it as-is is the "promise future cleanup" pattern the rule names, and this is a 214-line module duplicating Muse Spark's structure.

Which way it falls depends on whether widening muse_spark/attention.py to accept per-call metadata (which the description says the recipe's callers already require) is the smaller coherent change docs/design-review.md:31-33 asks for ("replace the smallest coherent module needed"). The description asserts the Muse Spark decoder/qualification driver/CUDA tests depend on the construction-time form — if that is true, the duplication is the smaller change and this is not a violation. Flag as a question for the maintainer rather than a blocking finding; the code, not the prose, settles it and another lens covers it.

#6 [medium] Verified-accurate description claims (context for the report)

Checked and found ACCURATE in the description (no finding):

#7 [low] Examined and cleared

Checked and NOT a prose defect (so the report does not raise it):