Prose report · NVIDIA/hyperflare-inference #518

Raw Markdown for agents: https://autobot.eidonix.com/p/1a6a9e7f-10c4-4c5a-b291-e4d350cf9d65.md

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

Key findings

The code and diff prose are in good shape: the description answers why / what / result / evidence in the required order, gives an explicit before/after per area, the new doc table row matches the code's rejection and re-export behavior, and every factual claim I could check about default-path compatibility is verifiable in the code. The problems are all in the description's evidence and ownership sections and in a few sentences of new user-facing prose. Nothing is blocking; four "should fix" / "nit" clusters, all repairable by editing text.

Highest-importance first:

  1. Evidence numbers have no baseline, no metric labels, and two undefined identifiers. The "Claimed Benefit / Result" paragraph reports +7.5–9.0% C1 decode, ~600 MiB and 44/44 gate PASS for TP1, then 116.0 / 164.2 / 230.5 / 332.4 tok/s "abbench" with 100% gate for TP2. abbench appears nowhere in the repository.
  2. The description never states the ownership/dataflow fact that makes the approach valid — that the flag is a value carried through Plan and the manifest, and the actual MXFP8 conversion is recipe code outside this repository.
  3. 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 compatibility path consuming the new parameter was not exercised.
  4. Small prose defects in new user-facing text: unexpanded "recipes that declare it" in --help, a recipe behavior attributed to core in the doc row, and an unannounced comment edit.

Rules applied

Should fix

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

Where: PR #518 description, "Claimed Benefit / Result" paragraph. 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, itemised:

Why it matters: the paragraph is the only quantitative support for the PR's headline claim; as written it is unfalsifiable and unreproducible, and AGENTS.md:109 explicitly says "Test counts and labels such as 'qualified' cannot stand in for the tested contract and result."

Fix: name the benchmark tool and its configuration, label each tok/s value with its concurrency, give the 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.

Related, milder, same section: "so existing default-precision cores remain 100% compatible across flare combine and --reuse-weights" in "What Changed" is an assurance, not a stated condition, and AGENTS.md:129-132 asks for "the actual checks and their scope." The verifiable statement is: the parameter is omitted from the manifest when None (ignition/preparation/rebuild_manifest.py:363-364), so the SCOPE_TARGET_WEIGHT slice compared by helios/src/runtime_core/preparation.rs:337-342 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: in this repository the change is purely declarative plumbing. Plan.target_head_quantization (ignition/planning.py:199) is validated against recipe.target_head_quantizations (planning.py:289-293, raising UsageError that names self.checkpoint.alias), forwarded through derive(...) and the CLI entry points (ignition/cli/preparation.py:57,73; serve.py:210,278,479; bench.py:170), printed in the startup summary (serve.py:314), and recorded in Plan.to_dict() (planning.py:411-412) and in the manifest under SCOPE_TARGET_WEIGHT (rebuild_manifest.py:302-303, 363-364). No core code reads the value to requantize weights: Recipe.prepare (ignition/declaration.py:212-215) is supplied by the external recipe repository, and searching for consumers of plan.target_head_quantization finds only the plumbing above.

What is missing from the description: with this PR alone nothing in a prepared core changes — the flag only takes effect for a recipe that declares target_head_quantizations=("mxfp8",) and performs the BF16→MXFP8 conversion inside prepare(). That is precisely the AGENTS.md:84-87 requirement ("the relevant dataflow, ownership, or execution constraint that makes the approach valid"), and it also explains why this PR contains no conversion code. The description states core ignition stays recipe-free and references the companion PR, but never says plainly that the conversion and buffer release live in the recipe, or that absent such a recipe the flag is rejected at planning time by the empty declaration rather than silently ignored.

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

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

Where: PR #518 "Supporting Evidence & Limitations", first bullet: "Post-rebase validation … 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 deselected test is disclosed (good, satisfying AGENTS.md:306), but the description never says whether the PR's own new test test_target_head_quantization_validation_and_preparation_manifest (tests/cli/test_planning.py:212-253) passed. That test is the one covering the new contract: unsupported-format rejection at Recipe construction (lines 217-218), Plan validation raising --target-head-quantization mxfp8: plain-alias (lines 252-253), to_dict() presence only when set (lines 223-228), and the SCOPE_TARGET_WEIGHT parameter plus reproduction_args round-trip (lines 230-248). Naming it and its result closes the gap; the deselected legacy test covers the analogous flare_heliopause path, so the reader needs to know the equivalent new coverage ran.
  2. No CI workflow ran on head f54928b ("CI on the head commit: no checks"). The Limitations section lists only the unrun Rust crates; per AGENTS.md:57-58 and item 4's "Keep material failures, skipped checks, and measurement limitations visible," the absence of CI is itself a limitation worth stating.
  3. "Rust cargo test crates were not run because no Rust or Protobuf files were modified" is accurate (pr_files shows only docs/, ignition/, tests/ Python and Markdown). 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:330-347). The Python test only asserts presence/absence and scope in the encoded manifest; it does not exercise that comparison. Saying the argument rests on the Python-side omission plus unchanged Rust code — not on an executed Rust test — makes the limitation explicit.

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

Nits

N1 — --help text uses an unexpanded internal reference

Where: ignition/cli/init.py:212-214 — "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 name their models in help (--draft-head-quantization, lines 207-211; --draft-body-quantization, lines 204-206). Suggest matching the doc row: "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

Where: 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: rejection of undeclared formats matches planning.py:289-293 and "changing it requires re-export" matches the catalog being fixed at export. Suggest wording the conversion and release as the declaring recipe's obligation.

N3 — Third variant of the model name

Where: docs/cli-design.md:454 uses "Qwen3.8 Flash Next", while the same table uses bare "Flash Next" (lines 449, 453, 474) and the docs use qwen3.8-flash / nvidia/Qwen3.8-Flash-Next-FP4-Local. Prefer the existing alias or the existing "Flash Next" form.

N4 — Unannounced comment edit

Where: 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 (line 278) joins draft-head/draft-body/markov-head in the group, and the comment reads right. It is simply not mentioned in the description; a half-sentence would keep the file list and narrative in agreement.

Verified sound (no finding)

Open questions / not determinable from the repository

Coverage

All ten changed files were read in context: docs/cli-design.md (443-477), ignition/cli/init.py (13-290), ignition/cli/bench.py, ignition/cli/preparation.py, ignition/cli/serve.py, ignition/declaration.py (150-360), ignition/planning.py (170-430), ignition/preparation/rebuild_manifest.py (250-380), tests/cli/test_commands.py, tests/cli/test_planning.py; plus supporting reads of ignition/cli/help.py, helios/src/runtime_core/preparation.rs (330-347), docs/runtime-core-design.md, AGENTS.md (40-160, 306) and .agents/skills/repo-prose/SKILL.md (not opened). No blocking prose issue; the four items above are text repairs and need no code change.