Explore report · NVIDIA/hyperflare-inference #742

Raw Markdown for agents: https://autobot.eidonix.com/p/5fb61db8-9f67-44aa-ae02-ef9ec9b44e3e.md

Amendments to the PR #742 case file — head 02990da → 66d6af3 (+ base drift)

These are amendments only. The prior report (head 02990da, 9 files +115/−10, base f46a9922) stands except where an item below voids or revises it. Every citation re-verified against the current head this run.

Key findings (the amendments)

  1. New head, new size, first real discussion. 66d6af33 was pushed 2026-12-05 09:19, making the branch 2 commits, +94/−21 in the same 9 files (was +115/−10). The PR now has 3 discussion entries: a case-file notice 08:55, a flare-autobot review Changes Requested 09:11 (0 blockers / 1 should-fix / 3 subtract / 4 nits), and the author's reply 09:19 which closes the should-fix. Labels: area:memory, area:preparation, area:selene, performance, triage:review. Still no maintainer comment and no CI results on the head.
  2. VOID — old finding 5 (the memory.rs vs model.rs Option asymmetry). The value is now computed once and threaded: pub max_sequence_pages: std::num::NonZeroU64 on PlannedHostBudgets (helios/src/runtime_core/memory.rs:32-36, filled at :1593-1597), passed as Some(planned.max_sequence_pages) (model.rs:1047-1053) into a new prepare_offload parameter (model.rs:1125) and straight into PrepareInputs (model.rs:1167-1173). The second server_config["max_sequence_tokens"] lookup is gone. Residual nit: the parameter is still Option<_>, and the two prepare_offload tests pass None (model.rs:1562, :1574); no production path supplies None.
  3. VOID — Some(0) / context == 0 (also autobot's only should-fix). context is filtered > 0 (memory.rs:993-996) and the bound is NonZeroU64::new(context.div_ceil(contract.cache.page_tokens as u64)) (memory.rs:998-1000), so Some(0) is unrepresentable and selene's limit > 0 guard is redundant. The divisor is still unchecked locally at :999, but PreparedContract::validate rejects page_tokens == 0 (helios/src/model/contract.rs:536) at both entry points (helios/src/server/config.rs:214, helios/src/server/runtime.rs:956), and capacities() re-checks (memory.rs:697) — defence in depth, so a nit, not a should-fix.
  4. CHANGED — the double clamp is gone, so the whole charge is now capped at one point. capture.then_some(minimum_pages) (memory.rs:1136) replaces the old .min(max_sequence_pages). The single clamp is chain_pages = inputs.max_sequence_pages.map_or(pages, |limit| pages.min(limit.get())) (selene/src/offload.rs:165-167), which now feeds both the slab sizing and the admission test if chain > budget { return Err("host budget cannot hold a full pool capture") } (offload.rs:171-177), including the first-pass device/tier_host charge (memory.rs:1126-1138). capture_growth (memory.rs:1490) and planned_offload_host (memory.rs:1554-1560) clamps are unchanged.
  5. STRENGTHENED — the "GPU pages unchanged" claim now has an equality assertion. pool_capture_growth_caps_at_max_sequence_pages_without_throttling_gpu_pages asserts pages == uncapped_pages (memory.rs:2463) as well as pages > max_sequence_pages (:2464). Still one synthetic core; nothing asserts planned_offload_host or an integrated path.
  6. PARTIALLY ADDRESSED — the intake floor. Still uncapped in code: chain.max(intake_slots(layout, inputs.max_active) as u64).min(budget) (offload.rs:178-180, intake_slots offload.rs:226-229), but now stated in prose in the doc (docs/prefix-cache-offload.md:1593-1597) and in the PR body ("remains intentionally uncapped so multi-request transfer bursts are not throttled"). The impact table still has no intake-dominated row, so a wide max_active deployment can still size the slab above one sequence chain — disclosed, not quantified.
  7. NEW — base drift; the PR body's base label is stale. Head is f46a9922 + 66d6af33, but main fast-forwarded to 012219a1 (#713, Joshua Cartu, merged 2026-12-04 23:47). #713 added LinuxMemInfo/append_integrated_meminfo and wired it into the Plan cache summary — the same summary this PR's doc/log discussion touches, ≈+161 lines above #742's hunks. PlannedHostBudgets is unchanged on main (:32-36) and capture_growth is still at :667, so the rebase is mechanical but non-trivial; the body's "Executed on … base f46a99220a" and its six-crate counts now describe a pre-#713 tree. This supersedes the prior report's "single commit on f46a9922, mechanical rebase expected".
  8. STANDS — evidence provenance, direction of change, charter fit, #160 caveat, first-time-contributor status. The RSS figures are still a v0.6.0 (f705086) build, not an A/B on the head; hardware CUDA, tests/server/test_prefix_cache_offload.py (not opened), qualify/host_cache.py (not opened), integrated, multi-host/RoCE, Windows, Kani and TLA+ remain unrun and disclosed. The push closed code findings, not the evidence gap; re-review auto-runs ~90 min after 09:19.

Detail

Scale, state and discussion (amendment 1)

Void items (amendments 2–3) — why they are gone

Changed mechanism (amendments 4–5)

What still stands (amendment 8)

Revised: #737 overlap (was finding 7 in the prior report)

Verified at pr/737 head 46e6a3b: #737 does not touch headroom_inner (selene/src/offload.rs:150-200 identical) and does not change host_pool_budget's semantics (it only adds host_pool_budget_from / _and_total_with_reserve / _with_reserve). It does change async_transfer_host_ram(host_future, apply_reserve) (helios memory.rs:41-44 in #737) and hence async_transfer_host_total, an input to host_growth (memory.rs:1483-1492) — the free-host bound this buffer is charged against. So merge order can still move the buffer's bound even though the edited functions differ. Textual conflict is small: PlannedHostBudgets fields (memory.rs:32-36) plus ~14-line offsets (headroom call 1126 vs 1140; capture_growth callback 1490 vs 1505; struct literal 1593 vs 1607). Rating stays Low, but it is not zero, and the author's "adjacent field line only" phrasing is right only about the textual conflict.

New: doc nit (amendment 12 / low)

docs/prefix-cache-offload.md:1605-1606 still says a capture with no resident ancestor "copies the full GPU chain", two sentences below the new ceiling min(GPU page capacity, ceil(max_sequence_tokens / page_tokens)) (:1595-1597) — reads as unbounded KV. Behaviour is safe (an over-long chain would drop as StoreOutcome::Oversize). The retained GLM-5.3-Flash TP4 example (:1598-1599, 11.0 GiB / 1,664 slots intake-dominated, 7.1 GiB full-chain floor) is carried verbatim from #455 and not recomputed under the cap — it incidentally illustrates the intake floor dominating.

Autobot-comment note for downstream readers

The 09:11 autobot review's merge-risk section is labelled "up to 02990da" and quotes +115/−10, i.e. it reviews the pre-66d6af3 tree; its "0 blockers / 1 should-fix" therefore does not describe the current head, where the should-fix is closed. The review did confirm charter and security screens passed and correctly flagged #737.

Open questions / not found