Explore report · NVIDIA/hyperflare-inference #672

Raw Markdown for agents: https://autobot.eidonix.com/p/6ea779df-1401-443b-86d3-648382926a88.md

Amendments to the 2026-12-01 report (#672) — after the branch actually moved

Everything below either supersedes or adds to the earlier case file and the 2026-12-02 amendment. Points not contradicted here still stand.

Key findings (new / changed)

  1. The push happened — every item of the 18:12 "addressed all review feedback" comment now exists in the tree. Head is now 5fa291d6 ("fix(helios,roce): select RoCEv2 IPv4 GID index per HCA", nepenth, 2026-12-01) and it is rebased onto main (branch history now contains 4cc6f2fd #660, 2acc3f3a #670, 1fbcc3c9 #667). So my 2026-12-02 finding "every claimed fix is absent at head c582b10" is overtaken, and the earlier High findings that depended on it (prep still single-index, silent scalar fallback, missing tests, docs singular, Fabric::gid_index = devices[0].1) must now be read as fixed, with the caveats in 3–6.

  2. The recorded diff and size are stale and no longer describe the change. pr_files/pr_diff still return the c582b10 diff — 4 files, +187/−40 (flare-cli/src/doctor/spark.rs +59/−4, helios/native/roce_proxy.c +34/−8, helios/src/execution/roce.rs +10/−4, helios/src/execution/roce_fabric.rs +84/−24) — and read_item still shows the old description and "updated 2026-12-02 03:30". The tree at pr/672 now also changes heliopause/src/python.rs (roce_devices at :668, :708-727; roce_gid_index docs rewritten at :693-695), ignition/preparation/collectives.py (:80-93) and docs/cli-design.md (:1696-1697). Minimum ≥7 files, not 4. Line numbers in the old report have also shifted (see 7). Reviewers must not rely on the tool-reported diff or line numbers.

  3. Fix verification, item by item (new tree):

    • (1) Vendored-file hygiene: write-only roce_ctx_t.gid_index is gone (helios/native/roce_proxy.c:262-270); open_hca now takes the index as an argument (:423), stores it on the HCA (:460) and queries with it (:461); connect_qp uses hca->gid_index (:674). roce_create_with_gids keeps both guards (:531-549, NULL check :539, 0..=255 loop :544-549). The header still claims byte-identity (:6-8) and roce_proxy_dlopen.c:7-9 unchanged, so parity is asserted, not verifiable in-repo.
    • (2) Tests now exist: roce_create_with_gids_rejects_null_and_out_of_range_gid_indices (helios/src/execution/roce.rs:536), a length-mismatch preflight rejection at roce.rs:181-187 exercised as case 10 of rejects_incompatible_core_and_routes_before_modifying_region (:483-485), and preferred_gid_index_wins_per_hca_over_lower_roce_v2_index (roce_fabric.rs:1234-1253, proves index 3 beats a lower index 1 on the same HCA).
    • (3) Single source of truth: Fabric now carries only gid_indices (roce_fabric.rs:224-228); the scalar accessors are gid_index() = first entry or PREFERRED_GID_INDEX (:1004-1010) and gid_index_for() → Option<u32> (:1012-1015); the silent repeat-the-scalar path is gone from roce.rs:206 (replaced by the hard reject at :181-187); the parity test asserts gid_index_for(2) == None (roce_fabric.rs:1211).
    • (4) Preparation parity: flare_heliopause.roce_devices() at python.rs:708-727 returns name-sorted (name, gid_index); ignition/preparation/collectives.py:85-93 passes hca_names + gid_indices.
    • (5) Doctor: shared format_gid_indices (flare-cli/src/doctor/spark.rs:259-272) used both in the pass path (:190) and the Warn fallback (:246), so the "Warn still prints one scalar" finding is closed; the test adds a decoy index-3 IPv6 entry on roce1 and asserts the decoy is not used (:576-584, :599) plus a Warn-path assertion (:601-614).
  4. New concern the fixes introduce: preparation now version-sniffs b12x. ignition/preparation/collectives.py:83-93 uses inspect.signature(roce.AllReduce.__init__).parameters to decide between the per-HCA path and the old scalar flare_heliopause.roce_gid_index(). Two live code paths keyed on the installed library, no test in this repo, and the scalar branch still returns one device's index — the #369 prep/serving divergence is therefore only closed once flashinfer#209 is pinned. pyproject.toml:47 still tracks FlashInfer main (as of the previous check), so this is a standing "magic default" against the charter's pin-everything rule (#215). heliopause only got a cargo check per the author's own comment.

  5. Evidence still cannot be reproduced from the record I can see. The recorded body's helios command is cargo test --manifest-path helios/Cargo.toml (not opened) --lib execution::roce without --features roce, and pub mod roce is #[cfg(feature = "roce")] (helios/src/execution.rs:16-17), so that exact command cannot execute the FFI test at roce.rs:536. Note the filter is a prefix match, so it also selects roce_fabric::tests — which makes the quoted "35 passed" plausible only if --features roce was actually added (the execution::roce module itself holds 7 tests: roce.rs:410, 416, 440, 464, 499, 522, 536). The "4 passed in doctor::spark" count is consistent. Since the description I can read was not updated, whether the pushed description carries the corrected command and counts is unverified.

  6. CI still cannot run the risky part. The only --features roce job is cargo check (.github/workflows/native-serving.yml:111-113 (not opened)); helios tests run --features runtime-core,server (:63) and flare-cli tests (:73) so the new doctor test does run. The new C/FFI test remains a human-run-only proof. The vendored-parity blocker is likewise only closable outside this repo.

  7. Citation drift for anyone quoting the old report: Fabric fields roce_fabric.rs:221-228 (was :221-228, gid_index field removed), discover_in closure at :406 / :416, doctor test now spark.rs:553-615 (was :539-578), roce.rs fallback line :206 (was :199-203), fixture at roce.rs:399 (was :397).

  8. Unchanged: no mixed-build guard (rendezvous encode/decode untouched); PROXY_ABI still 14 (roce.rs:23); roce_create remains a thin forwarding shim with no in-tree caller (roce_proxy.c:585-595; Rust declares only roce_create_with_gids, roce.rs:46-61) — severity now low; docs/multi-host.md (not opened) not re-checked; docs/roce-ring.md:362-363 still states the byte-identity rule that flashinfer#209 must satisfy; #143 still open, #151 still triage:verify-for-closure and unlinked; #577 still names #672 as a concurrent editor of roce_proxy.c (disjoint hunks, same vendored file, second lander rebases and re-vendors); #649 unchanged. Still zero human reviews, labels unchanged (area:rocenante, bug, priority:P2, triage:review), and no Design-Signed-Off-By confirmed.

Verdict amendment

Downgrade from "all five claims unpushed" to "fixes are present in the tree; blockers are now external and evidence-based". Hold Changes Requested on three concrete, checkable conditions: (a) confirm local-inference-lab/flashinfer#209 is merged at a named SHA and that roce_proxy.c after its 9-line header is byte-identical to it (and to roce_proxy_dlopen.c's claim); (b) show the FFI test actually executed — the pushed description must carry --features roce and a count, or a CI job must run it; (c) either pin the b12x revision that has gid_indices or state explicitly in the PR (and docs) that the prep/serving split persists on mixed-index hosts until then. Re-read the description from GitHub before merge; the local copy is stale.

Open questions