Case file — PR #540 "helios: cost-refresh recovery, prompt+output SAM copy-drafts, and calibrated wide copy-verify"
https://github.com/NVIDIA/hyperflare-inference/pull/540 — open, ready for review, opened and last updated 2026-11-26, head 7ca5430c, base main at 33ab6df5. 25 files, +3,965 / −119. No comments, no reviews, no labels, no CI checks on the head commit.
Key findings
- The declarative half of the headline feature does not reach the core.
heliopause/src/export/binding.rs:196-202(not touched by this PR; identical onmain) unconditionally executesgraph.insert("draft_source", "MTP")for every speculative graph while building the Execution message. The only producer ofdraft_source = 2isignition/preparation/execution.py:316-319(viaGraphSignature.draft_source,execution.py:32,102-108), and the only consumer of that dict isheliopause/src/python.rs:225-237. The dict that becomes the exported core's wire metadata goes throughRuntimeCore.write→export_capture→binding::execution, a different path that stampsMTP. So a recipe declaring copy-only wide graphs cannot getdraft_source=2into a standard exported core without patching code this PR does not touch. The PR's Limitations admit W=16/W=24 copy-only GPU export/replay was never benchmarked, so this end-to-end path has never been exercised. - It reverses a contract written by the owner of the code it edits.
RefreshState::idleno longer clamps the credit ledgers (refresh.rs, clamping moved intoabort()), and two pre-existing tests asserting the old contract were renamed —ordinary_income_excludes_queued_wall_wait_and_idle_discards_only_positive_credit→..._idle_retains_credit_while_abort_discards_positive, and the refresh-ordering test →refresh_skips_infeasible_shapes_and_ranks_unattempted_tier_by_expected_value. That design (funded refresh,ReadinessIntervals, expected-useful-value scheduling) is Luke Alonso's, the largest contributor inhelios/src(207 commits) anddocs(365). This is the first non-Luke change torefresh.rssince 2026-10-30. - A same-day PR by the same author touches the same lines. #538 "Restrict cold pure-prefill discovery to natural-fit graph capacities" edits the same
policy.rs,policy_tests.rsanddocs/scheduling-runtime-design.md, and works the sameValueRatezero-duration theme. Neither is marked stacked on the other; textual conflicts are likely if both land. - Undeclared behaviour changes. Metrics: copy-only speculative steps now report draft depth
0tometrics.speculative_completed(server/runtime.rs:1718-1724), changing the meaning offlare_learned_draft_*counters for any core containing copy graphs. Default:DEFAULT_MIN_MATCH_LEN3 → 6 (sam.rs:22) silently removes 3–5-token copy proposals for every existing--history-draftsuser. Refresh targeting: the funded-refresh probe winner is now chosen by expected tokens viacompare_refresh(policy.rs:1265-1332, 1413-1425), beyond the tier-key change the description mentions. - Docs are partially stale and contradict the change.
docs/scheduling-runtime-design.mdis updated (+31/−23), butdocs/mtp-design.md:22-40, 515-518still describes copy proposals as a 65,536-token shared ring fromdecoded_history.rsand says only qwen3.8-flash declares copy inputs, anddocs/cli-design.md:200-201still asserts "--history-drafts … does not change the graphs", which the newdraft_source=2retention rule directly contradicts. - The SAM is built synchronously on the admitting thread for every request whenever
--history-draftsis enabled (scheduler.rs:1846-1852), at up to ~13 ms CPU and 4.52 MiB per 131k-token admission by the PR's own microbenchmark. The description reports the microbenchmark but not this admission-path cost. - Evidence is strong on CPU, weak on GPU, and self-reported. 615 + 1,625 Rust tests and 120 randomized brute-force SAM oracle trials (
sam.rs:1401-1469) are real and backed by test code in the diff; but no CI ran, and the live numbers come from one machine, one model (DeepSeek-V4.1-Flash TP4 on SM120), temperature 0, with the description itself saying throughput "reflects the combined runtime, recipe, and kernel stack". No new tests were added for the new Python side (pr_fileshas notests/entries). - Zero engagement and no filed demand. No comments, no reviews, no CI on the head commit; no issue in the repository asks for any of the four changes (the closest, #534, is a different bug in the same cost-freshness subsystem and is not fixed here).
The change
Shape and size. 25 files, +3,965 / −119, four commits atop main 33ab6df5, described as atomic. Largest pieces: new helios/src/scheduler/sam.rs (+1,606), helios/src/scheduler/tests.rs (+583), helios/src/scheduler/policy_tests.rs (+501), helios/src/model/tests.rs (+324), helios/src/scheduler/rounds.rs (+194/−12), helios/src/scheduler.rs (+180/−9), helios/src/scheduler/cost.rs (+120), helios/src/scheduler/policy.rs (+119/−14), helios/src/runtime_core/selection.rs (+109/−12), helios/src/scheduler/speculation.rs (+103), docs/scheduling-runtime-design.md (+31/−23), heliopause/src/python.rs (+14/−3), ignition/preparation/execution.py (+10/−1). Roughly 1,400 of the added lines are tests.
Part 1 — cost-refresh recovery (a85be397). RefreshState::idle() becomes an empty body; the credit-clamping moves to abort() (refresh.rs:96-105). cost.rs gains observed_compute_duration_ns (observed minus ReadinessIntervals::wait_ns()) and timing_refresh_duration_ns (compute duration, else wall_ns); ordinary timing-refresh income and refresh-episode charges use these, while acceptance learning keeps raw physical duration. ActionCosts::refresh_order changes from u64 to (bool, u64) — tier 0 = never attempted since going stale, tier 1 = attempted-while-stale ordered by oldest attempt — and the funded probe is ranked by expected useful value (Candidate.expected, compare_refresh, policy.rs:1265-1332, 1413-1425). Per the description this exists because after a transient GPU slowdown, idle discarded positive timing-refresh credit while keeping negative debt, so sequential requests under 2,495 ms could never fund a refresh, and cold readiness waits were charged against timing-refresh debt.
Part 2 — per-request prompt+output suffix automaton (83ff9ed6). New sam.rs: PromptSAM (immutable, compacted flat edge array, topological max_endpos, DEFAULT_MAX_PROMPT_TOKENS = 131_072, sam.rs:25), OutputSAM (dynamic, link-cut tree over the suffix-link tree for O(log M) recency updates, sam.rs:564-735), and PromptOutputSAM (Arc<PromptSAM> + lazy OutputSAM seeded with DEFAULT_BOUNDARY_OVERLAP = 512 prompt tokens, 1-token lag, DEFAULT_MAX_OUTPUT_TOKENS = 131_072, DEFAULT_MIN_MATCH_LEN = 6, sam.rs:22-32). LiveRequest.sam is created at admission only when decoded_history.is_some() (scheduler.rs:1846-1852); committed tokens are pushed (scheduler.rs:1231-1237, ~3013). RequestScheduler::request_history_proposal[_with_match_len] (scheduler.rs:1099-1163) prefers the per-request SAM unless the shared ring has a strictly longer match, clipping out-of-vocabulary placeholders and falling back to DecodedHistory. Call sites in model/packing.rs:399-405 and server/runtime.rs:2145 switch from history_proposal(live.tokens(), …) to request_history_proposal(handle, …).
Part 3 — cost-calibrated wide copy-verify (35ab143a). Adds optional per-graph draft_source: ProposalSource (execution/manifest.rs:188-193), validated (manifest.rs:839-851), read from the proto (runtime_core/serving.rs:58-63) and from the Python manifest (heliopause/src/python.rs:225-237), declared by recipes through GraphSignature.draft_source (ignition/preparation/execution.py:32, 102-108, 315-319). Copy-only graphs must have confidence_width == 0, no speculative_prefix_limits, and the four copy input buffers. runtime_core/selection.rs retains draft_source=2 wide graphs only with proposal source MTP + history drafts + adaptive width (selection.rs:182-184, 277-298), otherwise narrowing speculative_widths back (selection.rs:379-393). New speculation::CopyCalibration (aged per-depth survival, prior WIDE_COPY_PRIOR_RATE = 0.88, speculation.rs:98-190), rounds.rs wide_copy_curve / expected_copy_tokens, and a wide-copy candidate inside packed_round_candidates (rounds.rs:749-900) gated on decoded_history present, adaptive width, shape.drafts > base_mtp_drafts, request.copy_allowed(), match_len >= WIDE_COPY_MIN_MATCH_LEN (6), copy_len >= base_mtp_drafts + 3. Copy-only rounds are excluded from MTP acceptance learning (scheduler.rs:2795-2801, 2860-2875) and from the MTP packed duration table (cost.rs:189-202).
Part 4 — padding dominance and threshold (7ca5430c). dominates_padding_with gains a strict-wider-batch branch with equal (packed_token_capacity, draft_tokens); prune_padding adds a whole-list pass marking any GPU-allocated ragged speculative candidate dominated when a strictly narrower batch (≥ active lanes) with the same (capacity, drafts) offers at least min(lane_ceilings_sum, own packed) (policy.rs:221-254). DEFAULT_MIN_MATCH_LEN 3 → 6.
What the change does that the description does not say.
- Copy-only steps now report draft depth 0 to
metrics.speculative_completed(server/runtime.rs:1718-1724), so theflare_learned_draft_*counters change meaning on cores with copy graphs. Not mentioned. - The funded-refresh probe winner is ranked by expected tokens (
compare_refresh), a broader behaviour change than therefresh_ordertier key the description does mention. decoded_history.rsgainslookup_with_match_len(8/4 for the n-gram tiers) withlookupdelegating;Candidategains a publicexpected: f64that packed-round candidates also populate (rounds.rs).docs/mtp-design.mdanddocs/cli-design.mdare not updated although they describe behaviour this PR changes (see Project fit).- No new tests accompany the new Python validation (
execution.py:102-108) or thepython.rsdraft_sourceparsing (default-Mtpfallback, rejection of values > 2).
What the description says that the change does not do. It presents copy-only wide graphs as declarable end-to-end by Ignition, and "existing W=8-only cores … load, prune, pack, and schedule with no Protobuf wire changes and no core re-export required" as compatibility. The wire-side plumbing to actually carry draft_source=2 from a recipe into an exported core is missing (Key finding 1), and the "existing cores load" claim is tested only against an in-process synthetic manifest (wide_copy_verify_catalog_packs_23_sam_tokens_and_preserves_legacy_w8_cores, helios/src/model/tests.rs), not an on-disk core.
The why
- The problems are stated by the author from their own serving runs, with concrete thresholds: sub-2,495 ms requests unable to fund a refresh after an idle gap; prompt-blind copy drafts for requests quoting code files, diffs, schemas or retrieved context; the learned-MTP width ceiling on long verbatim spans; and padded
B=16/32graphs winning over smaller cohorts atC = 4..16. - No user or issue asks for any of this. Searching the repo's items for the cost-refresh and copy-draft topics returns only #540 itself and #534 (a different bug: checkpoint captures deadlocking on an unmeasured snapshot cost, opened by semireg 2026-11-26, not fixed by this PR). So there is no external demand record, no reproduction from another party, and no linked bug report; the "why" rests entirely on the author's benchmarks and the code's own logic.
- The one composability constraint is stated: it is the "Prerequisite for the companion
local-inference-lab/hyperflare-recipescopy-draft speculation PR (after bumpingignitioninuv.lock)", i.e. the recipe half lives in another repository.
Related work
- #538 (open, same author, same day) "Restrict cold pure-prefill discovery to natural-fit graph capacities" — same
docs/scheduling-runtime-design.md, samepolicy.rs/policy_tests.rsregion, same zero-duration-ValueRatetheme. Separate branch (perf/helios-natural-fit-prefill-discoveryat5a55f0bf); not declared stacked either way. Conflict risk inpolicy.rs,policy_tests.rs, the docs file. - #510 (merged, Luke Alonso, 2026-11-24) "Prevent unmeasured packed speculative shapes from zeroing measured round durations" — the last change to
cost.rsbefore this PR; this PR extendsrefresh_packed_durationsto skip Copy rows when MTP rows exist (cost.rs:189-216), i.e. builds on it. - #414 (merged, yatesdr) "Seed each request's host acceptance estimate from earlier requests" — created the
AcceptanceProfile/observed_prefixesmachinery this PR partitions for copy rounds, and edited the acceptance section ofdocs/scheduling-runtime-design.mdthat this PR also edits. Its review thread (reviewer demanded named untested recipes, scoped single-run claims, fixed stale docs) is the closest template for how this area gets reviewed. - #521 (closed) / #515 and #522 (merged, Martin Vit) — GPU confidence calibration and packed surplus; the new
collect_calibration/ copy-isolation code sits next to that machinery. - #534 (open, semireg) — same cost-freshness subsystem; this PR touches
checkpoints.rs(not opened) only mechanically (draft_source: None) and does not address it. - #289 (merged, shadownetX) "Bound history proposals by logical lane length" — the previous bug in the copy-proposal path; this PR changes which proposal source feeds the copy buffers but keeps the
lane.tokens - 1bound at the call sites (model/packing.rs:399-405,server/runtime.rs:2143-2148). - #306 (open, original-el8) "Start acceptance estimates from the acceptance of earlier requests" — overlaps #414's population and therefore the acceptance-learning bounds this PR keeps.
- External: the
local-inference-lab/hyperflare-recipescopy-draft speculation PR — outside this repository's review; nothing in this repo consumes the Ignition half yet. - Nothing found that this PR supersedes or undoes outright, beyond the refresh-contract reversal within its own touched files (below).
Recent activity
- Base
main33ab6df5(PCCessna, #508, 2026-11-26) is the direct parent; no merge conflicts reported. helios/src/scheduler/policy.rs: 39 commits, almost all Luke Alonso (18cb0efc"Schedule prepared graphs by expected useful value per time",b0077378"Avoid exploring prefill graphs that add only padding",b9ad16b7,fc00f1dc,d7938c98,8c117854), thenfd6c0f3b(#510),da578c5c(Jason Cook, #426),e091689b(Martin Vit, #479).cost.rsandrefresh.rslikewise:d7938c98"Retain measured graph costs and fund scheduler timing refresh" andd2036807"Reduce decode graph overhead and isolate readiness stalls in cost estimates" (which introducedReadinessIntervals) are the two features this PR modifies, both Luke Alonso.helios/src/scheduler/decoded_history.rs:bd7167dc"Share decoded-token history across speculative requests" (Luke Alonso, 2026-10-22) is the origin of the mechanism part 2 replaces as the preferred source.heliopa use/src/python.rs(not opened): latest716df00f(yatesdr, #504),27716185(Luke Alonso).ignition/preparation/execution.py: last touched by27716185/da037284; theGraphSignaturegeometry contract comes from #499/#508 (Luke Alonso, PCCessna).- Net: the PR extends two designs by their original author and reverses one documented invariant of them (
idlediscarding positive credit), while adding a new mechanism (SAM) on top of a subsystem (decoded_history) that has been actively calibrated within the last week by Martin Vit (#515/#521/#522) and yatesdr (#414).
People
- Author: FujitsuPolycom, repository association CONTRIBUTOR, Discord
Dooner. Last 180 days: 5 merged, 10 open. Merged work is Ignition/CLI/docs: #508 (recipe-declared row-sharded attention planning +PreparationManifest), #499 (row-sharded prefill planning, PCIe DMA / RoCE row-shard collectives), #498 (flush PCIe D2H tails), #386 (image input for Qwen3.8 27B). Areas their merged PRs touched: docs (3), ignition (3), ignition/cli (3), ignition/preparation (3), tests/cli (3). This is their first contribution to the helios scheduler proper. - Open same-day siblings: #539 (engram/heliopause export blob reuse), #538 (prefill discovery), #512, #497, #496, #284/#283/#282 (DeepSeek V4.1 row-sharded prefill, flagged by original-el8 as conflicting with main), #387.
- Area owners not yet involved: Luke Alonso (207 commits in
helios/src, 365 indocs, author of the refresh/cost/decoded-history designs), yatesdr (47), Martin Vit (47), Jason Cook. None has commented or reviewed. - Review culture in this area: yatesdr and original-el8 review with "Should fix" lists and demand per-model scope and evidence — in #414 the reviewer required naming untested recipes, scoping single-run claims, and fixing stale docs. #540 names only DeepSeek-V4.1-Flash and leaves stale docs, so it matches the pattern that draws "Should fix" items rather than a quick approval.
Community
Nothing found beyond the absence itself: pr_comments returns no comments, there are no reviews, no reactions, no labels, and no CI checks on 7ca5430c. Notably the case-file/auto-review bot has not posted on #540, whereas #538 (same author, same day) already carries a flare-autobot case-file comment, so even the automated intake report is missing. No maintainer has engaged.
Project fit
Charter points that line up:
- Model-agnostic runtime — the change adds scheduler mechanisms, not per-model branches; no
if model == …appears. (#267,#334.) - Four-part PR description (why / what changed / claimed result / evidence) — present, extensive, with a Discord line.
- Real evidence over a served workload (
#210) — provided: 4× RTX PRO 6000 Blackwell SM120, DeepSeek-V4.1 Flash TP4,temperature=0, C = 1/4/6/8/12/16 tables, plus single-stream repetition and overhead numbers.
Charter points that do not line up:
- "Captured-graph op contracts: Adding a new one—even if it reuses an existing graph kind—requires owner approval before you write it." Part 3 adds a de-facto new op contract (copy-only speculative graphs:
draft_source=2,confidence_width == 0, nospeculative_prefix_limits, four copy input buffers, newGraphSignature.draft_sourcewith validation). The description cites no owner approval and no design doc for the contract. - "Be explicit and pin everything. No magic defaults." New hardcoded constants with no configuration surface:
DEFAULT_MIN_MATCH_LEN 6,WIDE_COPY_PRIOR_RATE 0.88,COPY_STEP_PRIOR_WEIGHT 4.0,WIDE_COPY_MIN_MATCH_LEN 6,copy_len >= base + 3,DEFAULT_BOUNDARY_OVERLAP 512,131_072caps.sam::SamConfigis public but nothing outsidesam.rsconstructs one (scheduler.rs:1852usesPromptOutputSAM::new), so none of it is tunable. - Docs completeness —
docs/scheduling-runtime-design.mdis updated for parts 1 and 4, butdocs/mtp-design.md:22-40still describes copy drafts as a 65,536-token shared ring fed bydecoded_history.rsand states only qwen3.8-flash declares copy inputs;docs/mtp-design.md:515-518lists implementation status asdecoded_history.rsonly;docs/cli-design.md:200-201says--history-drafts"does not change the graphs", contradicted bydraft_source=2graph retention;docs/cli-design.md:742likewise.docs/api.md(not opened) untouched. - Compatibility across the supported matrix — live coverage is DeepSeek-V4.1-Flash TP4 on SM120 only; the description's own Limitations list SM121/GB10, other models, multi-host RoCE, power-limit cost-refresh transitions, and the copy-only wide graph GPU export/replay as unbenchmarked.
Claims and evidence
| Claim | Backing | Where evidence stops |
|---|---|---|
615 passed / 0 failed / 5 ignored (cargo test --locked --manifest-path helios/Cargo.toml (not opened)); 1,625 passed / 44 ignored (--lib --features runtime-core,server --skip template) on 7ca5430c |
Self-reported | No CI checks exist on the head commit; nothing independently reproduced. Counts are branch-local (cf. #538 reporting 1,690 on a tree of the same base). |
cargo check heliopause passed; pytest tests/preparation/test_core_boundary.py (not opened) 4 passed |
Self-reported | No Python test file is modified (pr_files has no tests/ entries). The new validations in execution.py:102-108 and python.rs:225-237 are covered only by pre-existing tests (test_execution.py:299 asserts draft_source == 1 for a default signature; nothing asserts 2 or the rejection paths). |
| 120 randomized brute-force SAM oracle trials | Real test in the diff: exact_oracle_equivalence_randomized_streams_and_repetitions, sam.rs:1401-1469, over several min_match_len and prompt lengths |
Strongest evidence in the bundle; CPU-only. |
| SAM latency 0.80 / 2.72 / 13.05 ms build and 140/145/317 ns per step at 8,192 / 32,768 / 131,072 tokens; 0.37/1.27/4.52 MiB | CPU release microbenchmark; a loop over those sizes exists (sam.rs:1547) but timings are not checked in |
Not reproduced, no artifact; and it is an admission-path cost the description does not connect to serving latency. |
Live: max_b == C on every cell at C = 4/6/8/12/16 (vs B16 at C=4, B32 at C=6..16 before); C=4 9.19 vs 9.55 ms/rd / 617.7 vs 587.6 tok/s (+5.1%); C=6 −7.9%; C=8 −5.2% |
Single machine, single model, single core, temperature=0 |
No repeats, no scatter, no artifacts; the description concedes throughput "reflects the combined runtime, recipe, and kernel stack", i.e. the delta is not attributable to this parent alone. |
--history-drafts + min len 6: 512-token repetitive code-edit prompt 3.078 → 3.650 emitted tokens/round, 408.0 → 460.8 tok/s (+12.9%); +0.25 ms/rd overhead on non-repetitive 256-token single-stream decode |
Same single run | Same caveats; the overhead number is the only admission/scheduler cost quantified. |
Aggregate timing-refresh bound P <= 0.002/0.998·O + D preserved |
Re-asserted in changed tests: refresh_funding_requires_earned_credit_and_accounts_for_repeated_attempts_and_idle (policy_tests.rs) and power_cap_restore_recovers_largest_prefill_chunk_across_idle_requests |
Only for the scenarios those tests cover; the idle-retains-credit change reshapes which histories are reachable. |
Acceptance-learning bound P <= 0.01/0.99·O + D preserved |
Asserted | Only implicitly — the code path is unchanged except for the readiness split and the copy-round exclusion; no new test targets this bound specifically. |
| "existing W=8-only cores … load, prune, pack, and schedule with no Protobuf wire changes and no core re-export required" | Correct that the proto already carried DraftSource {NO_DRAFT, MTP, COPY_DRAFT} on main (helios/proto/runtime_core.proto:842,854), so no wire change |
"Existing cores load" is tested only against an in-process synthetic manifest (helios/src/model/tests.rs), not a real on-disk exported core. |
| Copy-only wide graphs are declared through Ignition | execution.py:32,102-108,315-319 plus python.rs:225-237 |
The export path overwrites draft_source with MTP (binding.rs:196-202), so the declared value is lost on the standard export route; and Limitations concede W=16/W=24 export/replay was not benchmarked. |
Merge-order: standalone on main, prerequisite for the external recipes PR |
Stated | The consuming recipe lives outside this repository; nothing here exercises the feature end-to-end. |
Reach
- Admission latency:
PromptOutputSAM::new(&spec.prompt)runs on the admitting thread for every request when--history-draftsis on (scheduler.rs:1846-1852) — up to ~13 ms CPU per 131k-token prompt by the PR's own microbenchmark.PromptSAMisArc-shared but nothing in the diff builds one from a shared prefix (from_shared_promptis used only in tests,sam.rs:1523-1524). - Memory: per-request
PromptSAM(up to 4.52 MiB at 131k keys) plus a dynamicOutputSAMthat can hold up toDEFAULT_MAX_OUTPUT_TOKENS = 131_072tokens per request (sam.rs:28); scaled bymax_activeconcurrency. - Default change for existing users:
DEFAULT_MIN_MATCH_LEN3 → 6 (sam.rs:22) removes copy proposals for echoed spans of 3–5 tokens for every--history-draftsuser, on existing cores, independent of the new wide-copy feature. - Part 2 affects existing cores immediately:
model/packing.rs:399-405andserver/runtime.rs:2145now feed the copy input buffers from the per-request SAM on ordinary W=8 MTP steps, not just on wide copy graphs. - Operators: no new CLI flag. Wide copy-verify requires a core containing
draft_source=2graphs,--history-drafts, and adaptive (non-fixed) width;--no-mtp-adaptive-verificationusers never get it (rounds.rs:755-762). Grammar-constrained and host-stop requests are excluded viarequest.copy_allowed()(scheduler.rs:373-375); the testwide_copy_verify_selects_w24_on_long_sam_match_and_falls_back_to_mtp_otherwiseasserts a grammar-constrained request stays at W=1.--history-draftswith a non-MTP proposal source still errors (selection.rs:179-181), andhistory_enabledalso acceptsconfig["history_drafts"](selection.rs:182-183), so a core/config declaring history drafts retains wide copy graphs even without the CLI flag. - Metrics/observability:
flare_learned_draft_*and draft-depth counters now exclude copy-only steps (server/runtime.rs:1718-1724). Wire format unchanged; interpretation changes. - Compatibility: no new crates, no dependency bumps,
uv.lockuntouched in this PR; proto already hadDraftSource, so no wire change; absentdraft_sourcedefaults to MTP inpython.rs:231-232. Offload identity already separated states bydraft_source(pre-existing testoffload_identity_separates_selected_state_without_fragmenting_compatible_limits). - Documentation reach:
docs/scheduling-runtime-design.mdupdated;docs/mtp-design.md,docs/cli-design.md(which now contradicts the change) anddocs/api.md(not opened) not updated. - Deployment: the feature is inert until a core contains
draft_source=2graphs, and that core cannot be produced through the standard export path today (Key finding 1); the recipe that would declare them lives inlocal-inference-lab/hyperflare-recipes.
Process
- Open and marked ready for review, opened and last updated the same day (2026-11-26), head
7ca5430c, basemain33ab6df5. - No review by anyone, no labels, no CI checks on the head commit, no bot case file (unlike #538).
- Size against review norms in this area: 25 files and ~4,000 added lines in one PR, of which parts 2–4 are interdependent (wide copy needs the SAM; part 4 and part 1 stand alone). The description's only stated split rationale is backward compatibility for W=8-only cores.
- Cross-repo dependency: the PR declares itself the prerequisite for an external
hyperflare-recipesPR "after bumpingignitioninuv.lock" — the consuming work is outside this repo's review.
Open questions / what could not be found
- Whether
draft_source=2graphs can reach a real exported core at all today, givenbinding.rs:196-202hardcodesMTP. Nothing in the PR or in the touched files resolves this; the author's Limitations only say copy-only wide export/replay was not benchmarked. - Whether owner approval for the new copy-only speculative graph op contract exists (charter requires it). No maintainer comment, issue or design-doc reference was found.
- Whether the admission-time SAM build (~13 ms at 131k tokens, per request, on the admitting thread) is acceptable under multi-tenant load; no admission-latency measurement, only a microbenchmark.
- Whether the
idle-retains-credit change alters which refresh histories are reachable in ways the existing 'power cap' tests do not cover; only the two bound tests above were updated. - How part 2's behaviour change on existing cores (new proposal source in the copy buffers on ordinary W=8 steps) interacts with #521/#522's per-request GPU confidence calibration — no test or benchmark isolates the two.
- No artifacts, logs, or run scripts accompany any live number, so none of the GPU claims can be re-derived from the repository.
- No record of user demand: no issue, discussion or Discord thread was found asking for any of the four changes.