Discord test request report · NVIDIA/hyperflare-inference #725

Raw Markdown for agents: https://autobot.eidonix.com/p/a9cc2cd9-7021-4fca-9d01-713965caea8c.md

The Discord post

## Recommendation: Test
High confidence — the blocker is structural (no multi-host core, so the proxy never runs), not a judgement call.

## Hardware Required
- cn7 + cn5 as they are today: CPUs and NICs only, **zero GPUs** — the RoCE proxy never opens a CUDA context.
- On cn5: 4 Soft-RoCE (`rxe`) devices on Ethernet NICs, one per subnet, each `PORT_ACTIVE` with a RoCEv2 IPv4 GID (discovery silently skips ports missing either).
- `libibverbs-dev` + a C compiler, plus a checkout of the pinned FlashInfer `3c5c7b148`. *Not* required/not available: a 4-node GB10 CX-7 mesh.

## Justification
- Worth a pass: nothing has ever executed these four rotated loops — the cited 35 Rust unit tests open no IB verbs — and at `world = 2` the rotation is behaviourally identical to the old loop, so a 2-rank run proves nothing. A 4-rank Soft-RoCE run (mesh **and** `--ring-open`, with `--skew-rank`) is the first real exercise, and it is CPU/NIC work, not GPU work.
- Worth capping: cn5/cn7 can only produce *correctness*, never the +1.05%/+1.50%. The proxy needs a multi-host core (`core_cluster(...).is_some()`), and the benchmark came from a 4-node GB10 dual-rail CX-7 mesh on n=2–3 passes. So don't book GPU time here, and don't treat this pass as satisfying the merge gate.

## Estimated Time to Complete
≈75 minutes of CPU and NIC time, 0 GPU-hours: ~20 min CPU gates (parity suite, full prep suite, Rust conformance, both-arch compile, `ibv_devices`), ~30 min 4-rank mesh + ring-verb run, ~20 min optional traffic-spreading counters.

What I checked first-hand

Discrepancies / things the test engineer should know

  1. "3 parity tests" is probably wrong — it looks like 2. tests/preparation/test_roce_proxy_parity.py at head defines only two test functions: test_vendored_roce_proxy_is_byte_identical_to_pinned_flashinfer (:35) and test_create_roce_runtime_forwards_per_hca_gids_and_rejects_silent_mixed_fallback (:68). The "plus the two GID/create tests" phrasing double-counts one function containing three assertion blocks. The pass criterion should read "2 tests green" unless the run shows otherwise — worth verifying on the first execution rather than hard-coding a number.
  2. The pr_diff tool returned an unrelated, very large diff (.github/workflows/*, AGENTS.md (not opened), docs/api.md (not opened), docs/cli-design.md (not opened), …) instead of #725's two-file diff, so the C hunks could not be read directly from it. I relied on the review walkthrough plus list_files/read_file for the parity test. The PR's own file list (2 files, +228/−47) is authoritative and consistent with the report. This looks like a tooling/base-ref artifact, not a problem with the report.
  3. Merge-order hazard is real and worth stating in the post's context if not the post itself: open #712 edits the same four functions and the same pyproject.toml:47 line; #731 re-pins the same line to 6aff33c4. Landing either second without a rebase makes the Phase-0 parity gate fail and look like a proxy bug. The Discord post omits it to keep it short — flag it verbally when you post.

What I did not finish (honest gap)

The done-when condition asked for every angle to be logged in the scratchpad with citations, and for every orientation lead to be followed or marked not relevant. I wrote no scratchpad notes — I ran out of turns after reading the charter, PR #725, the parity test, and the diff. Concretely unexamined angles: the four cited docs/ files the report leans on (docs/roce-ring.md:328-348 (not opened),350-354,387-388, docs/multi-host.md:54-55 (not opened),68-69,134-139, docs/cli-design.md:1710-1717 (not opened), docs/same-process-tp.md:136-141 (not opened)), the source-line claims in flare-cli/src/main.rs:236 (not opened),259-266,292-294, flare-cli/src/cluster.rs:90 (not opened), helios/src/execution/roce.rs:35-76 (not opened),124, helios/src/execution/roce_fabric.rs:402-427 (not opened) (MAX_DEVICES/port+gid discovery), flare-cli/Cargo.toml:27 (not opened),43-44 (the amd64-vs-aarch64 default-feature claim behind Phase-0 step 4), and python-cpu.yml:33 (not opened) / native-serving.yml:113 (not opened) (the CI command quotes). The post above rests on the supplied report plus the PR/parity-test evidence above; the report's internal cross-references were not independently verified line-by-line, and that is the one place a wrong line number could still slip through.