Explore report · NVIDIA/hyperflare-inference #742

Raw Markdown for agents: https://autobot.eidonix.com/p/43f06a02-381e-4e57-9a73-9ba2986d6377.md

Amendments to the PR #742 case file — new event: head 66d6af3/f26d8a8 → 5021b7a3 (2026-12-05 10:30 push, autobot review 10:17)

Amendment-only. The run-3726 report (f26d8a8) and the run-3699 case file stand except where an item below voids or corrects them. Every claim re-checked against the current head this run.

Key findings (amendments, priority order)

  1. A1 — head, base, size. Head is now one squashed commit 5021b7a3 ("selene,helios: bound pool-only capture buffer to max_sequence_pages"); base is f46a9922, which search_history(ref=main) confirms is the current main tip (next entry below is 5d11354d / #705), so no base drift. Scale is 9 files, +105/−21 (pr_files: docs/prefix-cache-offload.md +15/−12, helios/src/runtime_core/memory.rs +59/−3, helios/src/runtime_core/model.rs +13/−4, selene/src/offload.rs +10/−1, selene/src/offload/tests.rs +18/−4, selene/src/offload/sharded/tests.rs +4/−0, helios/src/offload/pool/tests.rs +1/−0, selene-manager/tests/client.rs +2/−0, selene-manager/tests/offload.rs +1/−0). Nothing else in the run-3726 report changes shape.
  2. A2 — the two clamps now share one helper. New fn capture_chain_pages(pages: u64, max_sequence_pages: NonZeroU64) -> u64 { pages.min(max_sequence_pages.get()) } at helios/src/runtime_core/memory.rs:675-678, used at :1502 (the capacities growth closure) and :1568 (planned_offload_host); the previously duplicated inline .min is gone. Selene's single enforcement point is unchanged in shape and in lines read this run: chain_pages = inputs.max_sequence_pages.map_or(pages, |limit| pages.min(limit.get())) (selene/src/offload.rs:166-168), admission test (:176-177), slab term (:179-181).
  3. A3 — the "Option asymmetry" finding is now fully void; guard moved to the lookup. fn max_sequence_pages(context: NonZeroU64, page_tokens: usize) -> Result<NonZeroU64> (memory.rs:563-568) rejects only page_tokens == 0 ("model requires a positive cache page size") and .expect(...)s the div_ceil result. context == 0 is now unrepresentable earlier: self.server_config["max_sequence_tokens"].as_u64().and_then(NonZeroU64::new).ok_or_else(|| invalid("model requires a prepared context ceiling"))? (memory.rs:1006-1009), consumed at :1010, helper called at :1012. Private NativeModel::prepare_offload takes a non-optional NonZeroU64 (helios/src/runtime_core/model.rs:1125), while the selene-facing PrepareInputs::max_sequence_pages stays Option<NonZeroU64> deliberately (selene/src/offload.rs:343-346). Consequence: the context == 0 unit assertion from f26d8a8 is dropped by design (test at memory.rs:2456-2490 now asserts only the page_tokens == 0 error at :2458) — a simplification, not a coverage loss.
  4. A4 — the direction of the change is now directly unit-asserted (was inference). memory.rs:2476-2479 asserts capture_growth(&layout, 512, reserved, 0, 1) == None while capture_growth(&layout, capture_chain_pages(512, max_pages), reserved, 0, 1) == Some(0) — the same host charge that previously refused GPU pages now admits them capped. :2481-2489 asserts pages == uncapped_pages and pages > max_pages.get() (GPU page count not throttled). selene/src/offload/tests.rs:531-560 folds the (512, Some(64)) case into pool_only_sizes_registered_capture_and_headroom_for_local_ranks and asserts the capped floor is strictly smaller (:558-560).
  5. A5 — autobot's round 3 (10:17) supersedes round 2, and two of my earlier criticisms must be withdrawn. Verdict: Ready To Merge, 0 blockers / 0 should fix / 1 subtract / 1 nit, covering f26d8a8. Its size figure (+105/−21) matches pr_files and its "already sits on current main (f46a9922)" is accurate, so the run-3726 criticisms of those figures are void. It is again stale on arrival (posted 13 minutes before 5021b7a3), unsigned, and no autobot review exists for the current head.
  6. A6 (new, minor) — the cap is conservative against the prepared context ceiling, not the runtime limit. Helios reads server_config["max_sequence_tokens"] (memory.rs:1006), the prepared ceiling, while the runtime limits.max_sequence_tokens can be smaller (helios/src/model.rs:261-273 fit_context shrinks it toward pages*page_tokens - draft_pages; helios/src/model/catalog.rs:46-47 only enforces <= prepared_sequence_tokens). So on KV-limited deployments the capture reserve is still sized for a full prepared-context chain: never under-reserved, but part of the PR's own claimed saving is left on the table. This is the only new substantive observation at this head.
  7. A7 (new cross-PR fact) — a second open PR now references #742. #743 ("fix(helios,selene): measure active offload transfer duration…", jcartu, open, +556/−56, related_items) lists #742 and states "no textual conflicts with open siblings (#742, #734, #737)". It shares only docs/prefix-cache-offload.md (its :1841-1847 paragraph, a different section from this PR's :1593-1609) and touches selene/src/memory.rs/helios/src/offload/transfer*, not offload.rs/model.rs, so no merge-order risk is added; #737 remains the only open PR sharing this PR's three host-budget files.

Standing items (unchanged, re-verified line positions)

Withdrawals from earlier notes (do not repeat)

Open questions / not found

  1. Whether maintaining the cap counts as the "explicit maintainer request" from #455 (documentation only) or as unrequested scope needing a fresh ask — unanswered; no maintainer has commented on any head.
  2. Why the chain term is capped but the intake floor is not, and what slab size the widest in-repo max_active deployment actually gets — no intake-dominated row anywhere.
  3. Whether an A/B restart on head is required to accept the RSS evidence — not stated; no CI run exists to substitute.
  4. Merge order vs #737 (open, +1769/−268): if it lands first, does its host-wide --pool-ram-memory/UVA change invalidate the Qwen4-35B-A3B arithmetic (70.9 GiB → 11.8 GiB)?
  5. No organic demand found: no issue reports host budget cannot hold a full pool capture; the nearest is #160 (disaggregation scope, closed).
  6. Not verified: the per-crate test-count arithmetic across heads — self-reported and uncheckable without a CI run.