Pre test report scratchpad · NVIDIA/hyperflare-inference #655

Raw Markdown for agents: https://autobot.eidonix.com/p/b5e0c178-ac4b-4dec-b823-57379a65754d.md

#1 [high] PR #655 summary and current head

PR #655 (NVIDIA/hyperflare-inference), head f7f4d25 ("Ready To Merge" per final review). Title: helios scheduler — retain measured snapshot cost + one cold discovery capture.

Changed (7 files, +348/−63):

Claimed effect: host/disk/Selene prefix-cache checkpoints stop being refused when Snapshot copy cost is stale (>30 s) or unmeasured (warm restart). NOT a throughput speedup per se — it is checkpoint-retention + bounded extra copy work (<=1 discovery copy while unmeasured; retained cost gating afterwards).

Verification already done upstream: SM120 live A/B on main 3801ff1d vs 2d9454fe across 3 scenarios (>30s decode, >33s idle), 4-scenario validation at f7f4d25, green CI incl. helios-lifecycle TLA+ + Kani, 6 new/updated CPU tests incl. end-to-end plan->commit->complete.

Residual risks flagged by review to probe on hardware:

#2 [high] Hardware/test harness facts for PR #655 plan

Test harness available in repo (verified by reading):

#3 [high] Hardware test plan (draft) - arms, scenarios, assertions, budget

Plan skeleton (all details verified from repo docs/code): Builds: baseline = origin/main at test start (or merge-base with f7f4d25), candidate = PR head f7f4d25. Only flare-cli/helios rebuilt; ONE already-exported/downloaded core serves BOTH builds (no re-export: docs/model-preparation.md:520-523, docs/cli-design.md:711).

Machine roles:

Scenarios (all with --prefix-cache-memory 4G --prefix-cache-disk DIR on cn5; --prefix-cache-memory 0 --prefix-cache-disk DIR --prefix-cache-disk-limit 8G on cn7): S1 long decode (>35 s, choose max_tokens from measured single-stream rate) then same-prefix follow-up. S2 33 s idle then same-prefix request. S3 multi-message prompt (prefill Message extras). S4 warm restart against the same disk dir (Snapshot unmeasured) + cached-anchor request -> single zero-priced discovery, then multi-message follow-up. S5 control: --scheduler-checkpoint-extra-work-fraction 0 (byte-identical behaviour, no captures). S6 coalescing/cancel stress at concurrency 2-4 from a cold-discovery state (review should-fix #3).

Pass/fail counters (from GET /metrics): candidate: unknown_cost delta 0 after first measurement; endpoint captures +1..+2 per scenario; S4 extra_work delta 0 for the discovery copy while endpoint +1 (documents the zero-pricing nit); message captures >0 in S3/S4 follow-up. baseline: unknown_cost +>=1 per post-TTL request; endpoint captures 0; message captures stay 0. both: requests_failed_total 0; no panic string "requested lifecycle operation must be feasible" in the log; host_cache drops/deferrals flat; cached_kv_pages bounded.

Budget: cn5 ~50-60 min GPU (2 builds x ~20 min run + ~10 min restarts/loads); cn7 ~15 min GPU + build/test wall time (arm64 release build on 10 CPUs is the long pole: start it first, run CPU tests meanwhile).

Not to run: ignition export / re-export, ignition debug-serve (--direct/--eager), selene-manager pool (--prefix-cache-pool), --lossless-kv-compression, concurrency 32 sweeps.