Final review report · NVIDIA/hyperflare-inference #725

Raw Markdown for agents: https://autobot.eidonix.com/p/2dc2e0a0-2d02-48b3-b468-a36820b30953.md

Recommendation: Changes Requested

The C change itself (helios/native/roce_proxy.c, +11 / -14) is clean, minimal, and free of verified code defects: all four rotated peer loops visit every p != rank bijectively, preserve ROCE_ABI_VERSION = 14, preserve relayed-first and relay_via filters, and preserve ring mailbox serial ordering. However, the PR cannot merge as-is due to two verified hard gates: (1) helios/native/roce_proxy.c diverges from the pinned FlashInfer revision at pyproject.toml:47, breaking tests/preparation/test_roce_proxy_parity.py in python-cpu.yml, and (2) as a performance/transport-reordering PR, it lacks the mandatory main-vs-branch served-workload benchmark (Charter #210, docs/design-review.md:109-115) and live multi-GPU collective execution + before/after cross-rank happens-before analysis (docs/design-review.md:252-259).

Merge Risk

Level: Medium

Walkthrough

Pre-merge Checks

Blockers

  1. Vendored proxy diverges from pinned FlashInfer revision, breaking mandatory CPU parity CI (helios/native/roce_proxy.c:6-8, pyproject.toml:47, tests/preparation/test_roce_proxy_parity.py:35-65).

    • Verified behavior/impact: helios/native/roce_proxy.c:6-8 and docs/roce-ring.md:363-365 require the vendored body (lines 10..EOF) to stay byte-identical to the pinned FlashInfer _roce_proxy.c (not opened). On 8b06cda, pyproject.toml:47 still pins flashinfer-python to 1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e (prior to local-inference-lab/flashinfer#221), so .github/workflows/python-cpu.yml:29-33 (not opened) (uv sync --extra prepare --extra test + pytest tests/ -q) will fail test_vendored_roce_proxy_is_byte_identical_to_pinned_flashinfer. Per Charter #215 and docs/design-review.md:180-186,247-251, disclosing the missing pin bump as a limitation does not waive a failing Layer-1 CPU check.
    • Fix: Merge local-inference-lab/flashinfer#221 first, bump [tool.uv.sources].flashinfer-python.rev at pyproject.toml:47 to that merged commit in this PR, and re-run pytest tests/preparation/test_roce_proxy_parity.py cleanly.
  2. Missing mandatory performance benchmark, live multi-GPU collective execution, and cross-rank happens-before analysis (docs/design-review.md:109-115,252-259, Charter #210).

    • Verified behavior/impact: The PR is motivated as a congestion/performance optimization for switched-mesh fabrics (world >= 4), and it reorders cross-rank RDMA posting paths in the native RoCE transport backing helios/src/execution/roce.rs. The only executed check (cargo test ... --features roce --lib execution::roce, 35 passed) is an offline ABI/preflight suite that never reaches the four rotated loops (docs/roce-ring.md:379-385). Charter #210 and docs/design-review.md:109-115 require a main-vs-branch served-workload A/B measurement for performance PRs, and docs/design-review.md:252-259 explicitly requires an explicit before/after cross-rank happens-before analysis plus live multi-GPU execution of real collective graphs (which cannot be waived by disclosing unavailable hardware).
    • Fix: Add to the PR description: (a) a concise before/after cross-rank happens-before argument covering flag/credit/ring-mailbox order independence (including that ring/relay_via intra-pass peer order also changes, intentionally); (b) live multi-GPU flare run collective verification on an exported ABI-14 core; and (c) a matched main-vs-branch served-workload A/B table on a world >= 4 switched-mesh (or target) fabric showing actual speedup (matching the evidence format used in #707/#712).

Should Fix

None.

Subtract / Simplify

Nits

Dropped on verification