Explore report · NVIDIA/hyperflare-inference #742

Raw Markdown for agents: https://autobot.eidonix.com/p/66bc51b9-55fc-4fde-9a6b-a25ec5d3cb93.md

Amendments to the PR #742 case file — head 66d6af3 → f26d8a8 (2026-12-05 09:49 push)

Amendment-only report. The run-3699 case file (head 02990da) and the run-3707 amendments (head 66d6af3) stand except where an item below voids or corrects them. Every citation was re-checked against the current head this run.

Key findings (the amendments, priority order)

  1. A2 — the last real defect is fixed. The unguarded divisor is gone: new helper fn max_sequence_pages(context: u64, page_tokens: usize) -> Result<std::num::NonZeroU64> (helios/src/runtime_core/memory.rs:562-569) rejects page_tokens == 0 ("model requires a positive cache page size") and context == 0 ("model requires a prepared context ceiling") before div_ceil, and .and_then(NonZeroU64::new) rejects a zero result. Call site memory.rs:1007, immediately after the retained > 0 filter on server_config["max_sequence_tokens"] (memory.rs:1002-1005). New assertions memory.rs:2454-2457: (0,64) err, (1024,0) err, (1025,64)==17, (1_048_576,64)==16_384 — the last corroborates the body's max_sequence_pages = 16,384 for its Qwen4 1,048,576-token / 64-tok-page example.
  2. A3 — CORRECTION of the run-3707 amendment. I wrote that autobot's Round-1 should-fix was "closed at 66d6af3 by NonZeroU64 plus a > 0 filter". Only the context == 0 half was closed there; at 66d6af3 the bound was still NonZeroU64::new(context.div_ceil(contract.cache.page_tokens as u64)), so page_tokens == 0 could still panic in any path reaching allocate_caches without PreparedContract::validate (helios/src/model/contract.rs:536, reached via helios/src/server/config.rs:214). The guard landed only at f26d8a8.
  3. A5 — WITHDRAWN: the "base drift / stale base label" finding was false. search_history at main returns f46a9922 as the tip with 012219a1 (#713) as an ancestor, and pr/742 shows the same chain (f26d8a8b → f46a9922 → 5d11354d … → 012219a1), so the branch already sits on the current main tip and the body's "base f46a99220a" is accurate. Line-offset check: main's memory.rs is 3004 lines, head is 3046 (+42 net = this PR's own +43/−1 hunk, not ≈+161 lines of #713). Delete the run-3707 caveats about a "pre-#713 tree" and unverifiable six-crate counts.
  4. A1 — head, size, shape. Branch is now one squashed commit f26d8a8b on base f46a9922 (the two-commit shape is gone), +105/−21 in 9 files (pr_files: docs/prefix-cache-offload.md +15/−12, helios/src/offload/pool/tests.rs (not opened) +1, helios/src/runtime_core/memory.rs +43/−1, model.rs +12/−3, selene-manager/tests/client.rs (not opened) +2, selene-manager/tests/offload.rs (not opened) +1, selene/src/offload.rs +9/−1, selene/src/offload/sharded/tests.rs (not opened) +4, selene/src/offload/tests.rs +18/−4). Discussion is 5 entries (case file 08:55, autobot 09:11, author 09:19, author 09:49, autobot 09:51). Still no maintainer comment and no CI check results. Amendment to the run-3699 "no labels" line: labels now exist — area:memory, area:preparation, area:selene, performance, triage:review.
  5. A4 — the new autobot review (09:51) is stale on arrival. Labelled "up to 66d6af3" and +94/−21, posted two minutes after the 09:49 push; its only should-fix ("memory.rs:999 still calls div_ceil(...) unguarded") is exactly what f26d8a8 removes, and its "replace the dead .ok_or_else with .expect" nit no longer applies because those error branches are the tested preconditions of a standalone helper (memory.rs:2454-2455). No open autobot should-fix against f26d8a8, pending the next auto re-review. Both autobot merge-risk labels understate size (head is +105/−21).

Detail

Mechanism (unchanged in shape, still single-point)

Standing items (A6) — untouched by this push

Small new items

Open questions / not found

  1. Whether maintaining the cap counts as the "explicit maintainer request" from #455 (which asked for documentation only) or as unrequested scope needing a fresh ask — unanswered, and no maintainer has commented on any head.
  2. Why cap the chain term but not the intake floor, and what slab size the widest in-repo max_active deployment actually gets — the impact table has no intake-dominated row.
  3. Whether an A/B restart on head is required to accept the RSS evidence; not stated anywhere, and no CI check exists to substitute for it.
  4. Merge order vs #737: if #737 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 only nearby issue is #160 (disaggregation, closed).
  6. Not verified: the test-count arithmetic across heads (both autobot rounds say helios "2,041 passed" on different commits, and the selene count moved 650 → 649 while a test was folded rather than deleted) — plausible, self-reported, uncheckable without a CI run.