Prose report · NVIDIA/hyperflare-inference #518

Raw Markdown for agents: https://autobot.eidonix.com/p/f1b20121-4df7-4389-9a54-a251c270de74.md

Prose review — PR #518 "Add recipe-declared --target-head-quantization preparation flag"

Key findings

Head f54928b, base main (rebased onto 2771618), 10 files, +126/−10. No blocking issues. The prose that ships inside the diff is in good shape; the problems are concentrated in the PR description's evidence and ownership sections and in four small pieces of new user-facing text. Everything below is a text repair — no code change is required.

The description's structure is genuinely sound and should be said plainly so this review is not read as all-negative: it answers why / what / result / evidence in the required order (AGENTS.md:74-80), it gives an explicit before/after per area ("Before: no CLI flag or Plan field existed… After: added…", satisfying AGENTS.md:88-94), it correctly attributes the end-to-end serving results to the paired core + recipe stack rather than to this PR alone ("belong to the paired core + recipe stack, not this core flag alone", satisfying AGENTS.md:100), and every claim I could check about default-path compatibility is verifiable in the code.

Ranked:

  1. Should fix — evidence numbers have no metric labels, no baseline, and two identifiers that cannot be resolved in this repository. The "Claimed Benefit / Result" paragraph reports +7.5–9.0% C1 decode / ~600 MiB / 44/44 for TP1 and 116.0 / 164.2 / 230.5 / 332.4 tok/s "abbench" / 100% for TP2. abbench occurs nowhere in the repository (search_code "abbench" → no matches, re-verified at this head).
  2. Should fix — the description never states the ownership/dataflow fact that makes a declaration-only change sufficient. In this repository the flag only carries a value through Plan and the manifest; the BF16→MXFP8 conversion happens in the external recipe's prepare(). With this PR alone, no prepared weight changes. That is the AGENTS.md:84-87 requirement verbatim.
  3. Should fix — the validation section leaves three gaps: whether the PR's own new test ran, that no CI ran on the head commit, and that the Rust consumer of the new parameter was not exercised.
  4. Nits (4) — small prose defects in the new --help text, the new doc table row, the model-name variant, and an unannounced comment edit.

Rules applied

Should fix

S1 — Evidence paragraph: unlabeled throughput, no baseline, undefined tool and gate names

Where: PR #518 description, "Claimed Benefit / Result". Exact text:

End-to-end serving gains observed on DGX Spark GB10 with the companion Qwen3.8 recipe (+7.5–9.0% C1 decode, ~600 MiB saved on TP1, 44/44 quality gate PASS; plus combined-stack TP2 RoCE 116.0 / 164.2 / 230.5 / 332.4 tok/s abbench and 100% quality gate)

What is wrong:

Why it matters: this paragraph is the sole quantitative support for the PR's headline claim. As written it is neither falsifiable nor reproducible from the description, and it fails the prose skill's final test (SKILL.md:71-72).

Fix: name the benchmark tool and its configuration, label each tok/s value with its concurrency, give the main baseline and delta for each, and define the quality gate (reference outputs, comparison criterion, pass threshold). Since these are the paired recipe stack's numbers, say so and point at local-inference-lab/hyperflare-recipes#40 for the measurement detail — the PR already links that PR, so the pointer is free.

Related, milder, same section: "so existing default-precision cores remain 100% compatible across flare combine and --reuse-weights" in "What Changed" is a process assurance rather than a stated condition (AGENTS.md:129-132). The verifiable statement is: the parameter is added to the manifest only when non-None (ignition/preparation/rebuild_manifest.py:363-364, verified: if plan.target_head_quantization is not None: add('target_head_quantization', SCOPE_TARGET_WEIGHT, …)), so the TargetWeight scope slice compared by compatible_for_weight_reuse (helios/src/runtime_core/preparation.rs:330-347) is unchanged. Say that instead.

S2 — Description omits the ownership/dataflow fact that makes the declaration-only change sufficient

Where: PR #518 description, "Why" and "What Changed".

What the code actually does (all verified at head):

Nothing in the core repository reads the value to requantize a weight. Recipe.prepare(snapshot, plan, *, compile_forwards, kernel_cache, progress) (ignition/declaration.py:212-215) is supplied by the external recipe repository, and a search for consumers of plan.target_head_quantization finds only the plumbing above.

What is missing from the description: the description says core ignition stays recipe-free and points at the companion PR, but never states plainly that (a) with this PR alone the flag changes no prepared weight — it needs a recipe that declares target_head_quantizations=("mxfp8",) and performs the conversion; (b) the BF16→MXFP8 conversion and the BF16 buffer release live in that recipe's prepare(), which is why this diff contains no conversion code; and (c) absent such a recipe, the flag is rejected at planning time by the empty declaration (planning.py:289-293) rather than silently ignored. That is exactly AGENTS.md:84-87 ("the relevant dataflow, ownership, or execution constraint that makes the approach valid"), and it is also what makes the two-PR stack legible: AGENTS.md:126-128 asks a stacked PR to explain what each dependency supplies and what this diff contributes.

Fix: one or two sentences in "What Changed": the plan field is the recipe's input; Recipe.prepare performs the BF16→MXFP8 conversion and releases the BF16 target weight; a recipe without the declaration rejects the flag at planning time.

S3 — Validation section: own new test, absent CI, and the unexercised Rust consumer are not stated

Where: PR #518, "Supporting Evidence & Limitations", first bullet: pytest -v tests/preparation/test_core_boundary.py (not opened) tests/test_design_review_hook.py (not opened) tests/cli/ -k "not test_preparation_manifest_resolves_scopes_and_dflash2_inheritance" → "144 passed, 0 failed in 4.35s".

Three gaps:

  1. The deselection is disclosed (good — that satisfies AGENTS.md:306), but the description never says whether the PR's own new test passed. That test is test_target_head_quantization_validation_and_preparation_manifest (tests/cli/test_planning.py:212-253), and it is the one covering the new contract: unsupported declaration rejected at Recipe construction (:217-218), to_dict() presence only when set (:223-228), the --target-head-quantization reproduction argument plus SCOPE_TARGET_WEIGHT parameter and deterministic Protobuf round-trip (:230-248), and Plan rejection raising --target-head-quantization mxfp8: plain-alias (:250-253). Because the deselected legacy test covers the analogous flare_heliopause path, a reader cannot infer that the equivalent new coverage ran. Name it and its result.
  2. No CI ran on the head commit ("CI on the head commit: no checks"). The Limitations section lists only the unrun Rust crates. Per AGENTS.md:57-58 and 103-112 ("Keep material failures, skipped checks, and measurement limitations visible"), the absence of CI is itself a limitation worth one clause.
  3. "Rust cargo test crates were not run because no Rust or Protobuf files were modified" is accurate — the changed files are docs/, ignition/, tests/ Python and Markdown only. But the combine/--reuse-weights compatibility argument depends on unchanged Rust behavior: compatible_for_weight_reuse compares the TargetWeight scope slice (helios/src/runtime_core/preparation.rs:337-342). The Python test only asserts presence/absence and scope in the encoded manifest; it does not exercise that comparison. Stating that the claim rests on the Python-side omission plus unchanged Rust code — not on an executed Rust test — is the honest form (SKILL.md:30-34), and it costs one sentence.

Fix: state the new test's result explicitly, note that no CI workflow ran on f54928b, and state the basis of the compatibility claim.

Nits

N1 — --help text uses an unexpanded internal reference

ignition/cli/__init__.py:212-214: help="prepare the target vocabulary head as MXFP8 for recipes that declare it (default: checkpoint precision)". "recipes that declare it" names no declaration (Recipe.target_head_quantizations, ignition/declaration.py:278) and gives no example, while sibling flags in the same group name their models — --draft-body-quantization "(Kimi K3.1; …)" at :204-206 and --draft-head-quantization "NVFP4: DeepSeek V4/V4.1; MXFP8: …" at :207-211. AGENTS.md:122-128. Suggest matching the doc row's phrasing: "prepare the target vocabulary head as MXFP8; only recipes that declare the format accept it (default: checkpoint precision)".

N2 — Doc row attributes a recipe behavior to core

docs/cli-design.md:454: "… freeing the temporary BF16 vocabulary weight after conversion." Nothing in this repository converts or frees that buffer; that is recipe code in local-inference-lab/hyperflare-recipes. The rest of the row is accurate: "Recipes that do not declare the requested format reject it" matches planning.py:289-293, and "Command line only; changing it requires re-export" matches the catalog being fixed at export, written the same way as sibling rows (:446, :452). Suggest wording the conversion and release as the declaring recipe's obligation rather than core behavior.

N3 — Third variant of the model name

docs/cli-design.md:454 uses "Qwen3.8 Flash Next", while the same table uses bare "Flash Next" (:449, :453, :452's neighbors) and the docs elsewhere use qwen3.8-flash / nvidia/Qwen3.8-Flash-Next-FP4-Local. The new row introduces a third variant rather than following an existing one; prefer the recipe alias or the existing "Flash Next".

N4 — Unannounced comment edit

ignition/declaration.py:276: "# Preparation overrides for vocabulary and transition projections used only by proposals." became "# Preparation overrides for vocabulary and transition projections." The edit is correct — once target_head_quantizations (:278) joins draft_head_quantizations, draft_body_quantizations and markov_head_quantizations, the group is no longer proposal-only, and the comment now reads right above the four attributes. It is simply not mentioned in the description; a half-sentence keeps the narrative and the file list in agreement (AGENTS.md:88-94).

Verified sound (no finding)

Recording these explicitly so the record shows what was checked and found correct:

Open questions / not determinable from this repository