Explore report · NVIDIA/hyperflare-inference #674

Raw Markdown for agents: https://autobot.eidonix.com/p/a18147c5-e8cf-4a14-b021-b759e8d2b70c.md

Amendments to my report on PR #674 — 2026-12-02, amendments only (earlier report stands where this is silent)

Recorded head is now 831c47c7 (base main c513e46a, branch perf/selene-prefix-cache-holistic, read_item 674). This amendment set supersedes my previous amendment notes; where a previous amendment is withdrawn, it must not be re-published.

Key findings

  1. Everything I previously reported as a blocker in #674 is fixed at 831c47c7, each with a named regression test. Five amendment families are withdrawn (A2). #674 has no verified code-level blocker of its own left from my side.
  2. A new event since my last report: PR #694 was opened at 21:24 stacked directly on this PR's head 831c47c7 and its own Autobot review at 22:58 was Changes Requested with 0 blockers — so 831c47c7 is now the base of actively reviewed downstream work, and #674's new public API is already being depended on (read_item 694).
  3. Charter #210 is now half-satisfied: the disclosure half is closed (the body names both commits and all nine intervening merges); the evidence half is still open — the headline A/B still predates #665, a cache-eviction change measured on the same DeepSeek-V4.1-Flash TP4 rig Table A uses.
  4. 831c47c7 has had no review by any party. The last human review (lukealonso, 19:04 Changes Requested) and the last bot "Ready To Merge" (18:24) both targeted 0ebee3d4; the only thing after that is the author's own 20:27 comment.
  5. Issue #451 is still open without the promised midpoint half-width conclusion; that rationale exists only in-tree at docs/runtime-core-design.md:845-858.

A1. Head, scale, base

A2. Withdrawn (fixed at this head — do not re-publish as author work)

  1. observe_prefill_rate permanently dead / regression vs main — FIXED. The guard now uses step.token_capacity as u64 (helios/src/server/runtime.rs:3060, condition :3061-3067: !step.kind.is_prefill() || lanes.len()!=1 || capacity==0 || lane.tokens*2 < capacity). token_capacity is the graph width for single-lane prefill steps (helios/src/scheduler.rs:401-402). Regression test helios/src/server/runtime/phase_tests.rs:9181-9254 covers <50% reject, multi-lane reject, non-prefill reject, exactly-50% accept and TerminalPrefill 100% accept. The call site is still gated on self.store.is_some() (runtime.rs:1932).
  2. page_pressure_victim_priority sacrificed protection/recency — FIXED, and the doc contradiction is gone. Priority key is now (!can_free_page, node.is_protected(), node.retention_rank().use_epoch, !role_preserving_compaction) (helios/src/scheduler/cache_memory.rs:263-268), i.e. #665's scan-resistant is_protected tier (helios/src/cache.rs:132, :365) is the second key and recency third, consumed as the outer key with eviction_key tie-break (helios/src/cache.rs:848-850). The page-pressure gate narrowed to !snapshot_pages.is_empty() && need_pages > 0 && backing_pressure (cache_memory.rs:740). Pinned-vs-unpinned is now distinguished by fill_freeable_page_prefix (cache_memory.rs:205-240), so an unpinned overlapping pair no longer counts as blocked. Tests: cache_memory.rs:2412 (progress when only the overlapping pair remains), :2443 (cold unpinned pair before hot anchor), :2597 (backing conflict with need_pages == 0), :2701 (simultaneous exhaustion), :2761 (reuse protection before recency). docs/runtime-core-design.md:869-878 now states the same order as the code.
  3. RowRestoreLatency::observe upper-median inversion — FIXED. Lower median ordered[(bucket.count - 1) / 2] with rationale comment at helios/src/server/runtime.rs:318-320; regression test phase_tests.rs:9257-9289 (spike → aged 60 s → 2 ms probe, asserts estimate ≤ 0.0025).
  4. Three-part hot-path perf defect — RESOLVED. (a) per-victim page_snapshot_refs clone gone: scratch reused via freeable_prefix_scratch: RefCell<Vec<i32>> (helios/src/scheduler.rs:649, :744; cache_memory.rs:415, :770, :786), retiring-snapshot dedup is a BTreeSet (cache_memory.rs:755-767), pending_page_count has an empty-queue fast path (cache_memory.rs:662-665). (b) per-selection HashMap<CheckpointId, RetentionRole> gone: only_child: Option<CheckpointId> on Checkpoint (helios/src/cache.rs:80), maintained on publish (:555-559), leaf retirement (:664-676) and compact_ancestor (:699-718), asserted in single_child (debug-only scan, :306-318) and in a full test-time invariant sweep (:1042-1051). (c) O(1) prefix-sum queries replace per-candidate range loops (cache_memory.rs:231-238, :259-261).
  5. Review minors 3.1–3.3 — ALL LANDED. A full-GPU-hit queued eviction now re-plans and can re-issue a lookup (begin_pool_lookup returns bool + refresh_admission_plan_in_place, helios/src/scheduler.rs:1576; test phase_tests.rs:9292); plan_mapping_handles documents its non-monotonicity and adds a non-power-of-two fallback (helios/src/runtime_core/cache_memory.rs:780-804, counterexample test :1645); partition_conditioned_windows is shared (helios/src/scheduler.rs:2136, :2163, :2222).

A3. New event: PR #694 is stacked on this PR (read_item 694)

A4. Charter mapping, updated (exact citations)

A5. Residual findings, all low (do not treat as blockers)

A6. Process and evidence record

A7. One-line verdict the report can adopt

At 831c47c7 the three correctness blockers and the hot-path defect I carried previously are fixed with named regression tests, so #674 has no verified code-level blocker of its own from my side; what still stands is evidence debt (headline A/B predating #665 on the same rig), the un-posted #451 conclusion, the absence of any review of the current head, and the new coupling to PR #694 which now waits on this merge.

Open questions and what I could not verify

  1. Whether the author will re-baseline Tables A–C now that #665 (same rig, same policy area) is inside the gap. Nobody has answered; #694's review raises the same complaint about its own numbers.
  2. Whether 831c47c7 will be re-reviewed by lukealonso, or merged on the 18:24 bot verdict from an older head.
  3. Merge order across #674, #694, #655, #659, #661, #681 (and #548/#560 on helios/src/server/runtime.rs) remains unstated by any participant.
  4. Whether the rebase onto c513e46a is real — unverifiable with my tools; only code shape and body text support it.
  5. Whether #451 will get the midpoint half-width conclusion, and whether #694's spill gate should land as part of #674's story or separately.