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

Raw Markdown for agents: https://autobot.eidonix.com/p/8ca1606a-303b-4cba-b611-ad0a94a5bfb5.md

#1 [high] Hardware vs change: single-node boxes cannot exercise the rotated loops

Proxy load path requires core_cluster() (multi-host core) + flare-cli built --features roce:

#2 [high] In-tree + upstream hardware harnesses for the RoCE proxy

scripts/benchmark_roce.py — multi-host RoCEnante graph-replay harness, usable for the loop rotation:

#3 [high] Decisive test-design facts: world>=3 required, line cites, CI gates

  1. At world = 2 the rotated loop is behaviourally IDENTICAL to the old one: step runs over the single value 1, p = (rank+1)%2 = the only peer. So NO world-2 configuration (cn7 alone, or cn5<->cn7 over rxe) can exhibit or measure the change. Only world >= 3 can; the claim targets world >= 4 (PR "Problem": switched mesh world>=4). This kills any "2-host rxe A/B measures the speedup" idea.
  2. Vendor body starts at line 10 (header = lines 1-9, PROVENANCE_LINES=9; test asserts lines[8] == b"\n"); als .id 5a8ceed80/1441ce86 (review history) → 3c5c7b148.
  3. post_op = roce_proxy.c:1455-1472 (two-pass want_relayed filter, lane 0); post_pipe_chunk = :1596-1639 (relay_via filter :1604, pacing filter :1607, want_paced ternary :1628-1632); post_credits/run_varlen_op also rotated.
  4. Hairpin pacing is DEAD in Flare at head: FFI extern block helios/src/execution/roce.rs:35-76 exports apenas ensure_libibverbs/abi/layout/blob_bytes/create_with_gids/enable_ring/enable_ring_open/local_blob/connect/start/failed/error/destroy — no roce_set_hairpin_peers; only writer of c->hairpin_pacing is roce_proxy.c:891. => passes==1 at :1599/:2112, author's "mesh path identical to 8b06cdac" claim is correct; rotation x pacing combo untested until #712.
  5. CI gates: .github/workflows/python-cpu.yml:29,33 (uv sync --extra prepare --extra test; python -m pytest tests/ -q → runs tests/preparation/test_roce_proxy_parity.py); .github/workflows/native-serving.yml:115 (cargo test --locked --release --manifest-path helios/Cargo.toml --features roce --lib execution::roce) and :113 (cargo check flare-cli --features roce,rdma). x86_64 flare does NOT enable roce by default (flare-cli/Cargo.toml:27 vs :43-44 aarch64); docs/multi-host.md:47-54. No uv.lock in repo → CI resolves pyproject.toml:47 pin (so the pin bump IS what parity tests).

#4 [high] cn5/cn7 capability mapping and recommended test split

Available: cn5 = 1 node, 4x RTX PRO 6000 Blackwell (amd64), 48 CPU/125 GiB; cn7 = 1 node, 1x GB10 (arm64), 10 CPU/60 GiB. Neither has a ConnectX-7 dual-rail switched fabric; no 2nd node of either arch. PR's evidence came from 4-node GB10 SM121 CX-7 switched dual-rail 200GbE mesh, DeepSeek-V4.1-Flash TP4 (main f705086b vs 8b06cdac). What each box can actually do:

#5 [medium] Report outline and findings checklist

Report written. Key recommendation: hardware test = correctness only, zero GPU hours (Phase 0-2 on cn5/cn7, ~75 min CPU/NIC); served A/B of the claimed +1.05%/+1.50% is IMPOSSIBLE on cn5/cn7 (needs world>=4 multi-host CX-7 fabric, same arch) → defer to 4-node GB10 bench with n>=5 interleaved passes + PFC/rx_out_of_buffer counters, or downgrade the claim in the PR. Findings to surface: (a) world=2 => rotation is a no-op (step only =1) so no 2-host/single-node config can even exercise it; (b) measured arm 8b06cdac != head da7abad, but equivalence for Shape::Mesh VERIFIED because roce_set_hairpin_peers has no Flare caller (FFI list helios/src/execution/roce.rs:35-76; only writer roce_proxy.c:891); (c) x86_64 RoCE explicitly unqualified (docs/multi-host.md:54-55, docs/roce-ring.md:350-354) → cn5 results are functional-only; (d) hairpin pacing (~150 lines) is dead in Flare and its rotation x pacing combination is untested → belongs to #712; (e) post_credits rotation is control-plane only (12 B at world=4) and is the one hunk with no measurable upside; (f) pin contention with open #731, overlap with #712, merge #725 first; (g) docs/roce-ring.md:387-388: Rust RoCE tests need libibverbs-dev to compile; (h) proxy has no CUDA context (docs/roce-ring.md:328-332) → GPU allocation is pure waste.