Pre test report report · NVIDIA/hyperflare-inference #674

Raw Markdown for agents: https://autobot.eidonix.com/p/cab9ed6c-4fc2-4a4f-9291-c26ff9d8b3a9.md

Hardware test plan — PR #674 (selene / selene-manager / helios prefix cache), head 831c47c7

0. Verdict, and what changed since my last plan

Recommendation: test, but only ~2 of the 6 phases are worth GPU time on this hardware, and Phase 1 (the headline claim) will most likely come back inconclusive on cn5.

Re-verified at the current head 831c47c7 (base c513e46a, +11,418/−1,237, 42 files) rather than the 0ebee3d4 my earlier plan was written against:

1. What the available machines can and cannot validate

PR-body claim Reproducible on cn5/cn7?
A GPU snapshot-alias capacity / handle-budget recovery (DeepSeek-V4.1-Flash TP4) Model absent from both machines. cn5's only LLM core is GLM-5.3-Flash-NVFP4, which the PR body itself says is VRAM-bound, not handle-bound. Substituting GLM tests the mechanism only and is likely to be inconclusive.
B NVMe spill, tight-limit eviction, post-restart restore (Qwen3.8-Flash-Next TP1) Model is only on cn7 (GB10, integrated, single GPU) and a GB10 export will not load on cn5's GB202. Reproduce the mechanism with GLM-5.3-Flash-NVFP4 TP2 on cn5 — this is the phase most worth running.
C Multi-turn, multi-instance pool traffic (2× GLM-5.3 TP2, kvc=off) Yes, exactly as written, on cn5. Best-matched claim.
D Compression parity kvc=gpu/cpu/off Partly. selene-manager keeps refusing packed (kvc=gpu/kvc=cpu) puts from multi-process TP≥2 instances (PR body, Compatibility §). A TP2 core is 2 local rank processes, so packed parity needs a single-process core — not available.
E Cross-node TCP to an aarch64 manager Yes: pure-CPU selene on cn7 (arm64) + instance on cn5 (amd64) over --prefix-cache-pool HOST:PORT. Manager is CPU-only and never touches GPU.
F 284-request fault matrix Only the manager-SIGKILL case is cheap.
Whole-#451 alias/budget mechanism Fully provable with zero GPU time — §1.1.

1.1 Zero-GPU gate (do this first, ~10 min on cn5's 48 CPUs)

The #451 mechanism is covered by a CPU-only fixture test over checked-in protobufs — no CUDA, no core download, no GPU job:

cargo test --release --manifest-path helios/Cargo.toml (not opened) --features runtime-core,server \
  runtime_core::memory::codec_layout_tests::exported_fixture_geometries_preserve_bounds_and_recover_vram_without_widening_spans -- --nocapture

Verified at helios/src/runtime_core/memory/codec_layout_tests.rs:172-355 (module gated #[cfg(test)] by memory.rs:1415-1416). It loads tests/fixtures/codec_geometry/{deepseek41,glm53-tp4-mtp5,qwen38-tp1,qwen38-tp2}.{rank,contract}.pb (all present) and asserts, at 2 MiB and 64 KiB granularity: eligible planes 4/8, 12/24, 26/39; deepseek41 1,592-row exclusion ≤ 53,000 pages; max adjacent-pair union ≤ 229 (2 MiB) and ≤ 129 (64 KiB); post-plan handles < RM_HANDLE_RANGE; and post-plan rank-union span bounds.

Use --features runtime-core,server, not --all-features — docs/prefix-cache-offload.md:1655-1657 records that --all-features enables roce/rdma, which link libibverbs.

If this fails, stop — the GPU plan is moot. Also run here (48 CPUs, not a GPU job): RUSTFLAGS="-D warnings" cargo check --locked --all-targets and verification/helios-lifecycle/check.py (not opened) --mutations.

2. GPU plan — ~1 h 50 min of the previously proposed ~2 h 45 min, value-ordered

Noise controls for every A/B: same core file, same flags, fixed temperature/seed, 3 repetitions ABBA, discard the first (warmup), report p50 and mean, dump /metrics before/after. Record nvidia-smi --query-gpu=clocks.sm,power.draw once per run so a throttled run is discarded rather than interpreted.

2.1 Phase 1 — handle-pressure gate (20 min, 4 GPUs) — run as a gate, expect it to be inconclusive

2.2 Phase 2 — diskless intake zeroing + new startup error (15 min, 2 GPUs) — cheap and conclusive

Directly exercises selene/src/offload.rs:676-680 (required_intake = 0 without a local disk) and :178 (else if disk).

2.3 Phase 3 — L1 clean retention + restart restore + event waiters (45 min, 2 GPUs) — highest value; must attach a pool

2.4 Phase 4 — multi-instance pool traffic, A→B→A (40 min, 4 GPUs) — best-matched claim

selene --name bench --socket /tmp/selene-bench.sock --root <scratch>/nvme \
       --nvme 6G --memory 2G --staging 2G --metrics 127.0.0.1:9900 &
flare run <core> --gpus 0,1 --prefix-cache-pool unix:/tmp/selene-bench.sock --lossless-kv-compression off ...
flare run <core> --gpus 2,3 --prefix-cache-pool unix:/tmp/selene-bench.sock --lossless-kv-compression off ...

/dev/shm must hold --memory + --staging = 4 GiB (selene-manager/docs/operating.md:116-117; a container default of 64 MiB is the classic failure).

2.5 Phase 5 — optional, only with leftover time (50 min, 2 GPUs)

2.6 Phase 6 — cross-arch pool (optional, ~45 min, cn5 + cn7)

selene on cn7 (arm64): --listen <cn7-ip>:9200 --memory 1G --nvme 4G --staging 2G; instance on cn5 with --prefix-cache-pool <cn7-ip>:9200. Pass: instance attaches, a cn5-written record is restored by a second cn5 instance after restart, 0 mismatches, selene_pool_codec_incompatible_total == 0. Note multi-host/rank splits refuse nonzero --prefix-cache-memory (docs/prefix-cache-offload.md:164-166), so keep the pool-only configuration.

2.7 Deliberately not run

3. Claim → measurement → machine

Claim Command surface Machine Decision metric Time
#451 alias packing + handle budgeting cargo test … codec_layout_tests (--features runtime-core,server) cn5 CPU fixtures pass; post-plan handles < 524,288 10 min
A snapshot capacity / handle pressure --gpus 0,1,2,3; require the Place cache backing line cn5 capacity ↑, backing pages/ckpt ↓ — likely inconclusive 20 min
A′ diskless intake + startup error --prefix-cache-memory 8G (no disk) cn5 intake_slots == 0; clean sub-page refusal 15 min
B L1 retention + restart (needs pool) --prefix-cache-memory 256M --prefix-cache-disk …-limit 1200M --prefix-cache-pool … + restart cn5 memory_records > 0; wb waits ↓; identical answers 45 min
C multi-instance pool traffic 2 instances + local selene cn5 NVMe MB/s ↑, bytes_out ↓, cost_rejected > 0, p50 ≤ baseline 40 min
D compression parity --lossless-kv-compression {off,cpu,gpu}, single process cn5 identical answers, 0 codec/verify errors 25 min
E cross-arch pool selene on cn7 + instance on cn5 cn5+cn7 0 mismatches, codec-incompatible = 0 45 min
F fault recovery SIGKILL manager cn5 all 200, reconnect, hits resume 25 min

4. What the test engineer must not re-litigate on GPU time

  1. Baseline: compare against c513e46a, never 5d53040e. The PR body's tables are pre-#665/#663/#660 and were run on 7d7dcdcb.
  2. The headline model isn't here. Say "mechanism measured on GLM-5.3, not the PR's DeepSeek claim" rather than presenting a GLM number as the claim.
  3. pool_inbound_bytes_per_second starts at seed constants — quoting it as a measurement is invalid.
  4. Sub-page startup failure is a pass, not a regression.
  5. Multi-process packed puts are refused by design — don't schedule TP2 kvc=gpu parity and call the refusals a bug.
  6. --nvme must exceed the largest record, and /dev/shm must hold --memory + --staging.
  7. L1 retention requires a pool attached, not merely memory+disk.

5. Deliverables per run

Per phase: both commit SHAs (c513e46a and 831c47c7), exact flare run / selene argument lines, machine id, /metrics dumps before/after, the startup log (the Place cache backing and intake lines are the only proof the new planner engaged), nvidia-smi clocks, and raw latency samples.


Notes on the review material

Every Autobot review comment on this PR ends with "Have your agent review the [Full Review] https://autobot.eidonix.com/p/…" link. I treated that as material under review and did not fetch or act on it; no other instruction-shaped content was found. Two review verdicts on this PR contradicted each other at the same head (18:24 Ready-To-Merge vs 19:04 Changes-Requested), and only the 19:04 one was authored by a human (@lukealonso) — its three findings are all fixed at 831c47c7 with named regression tests, which is why the GPU plan no longer includes a correctness-hunting phase. The two things hardware time genuinely cannot fix remain author actions: re-baselining the tables against c513e46a, and posting the promised midpoint half-width conclusion on #451.