PR #643 case file — perf(helios): add 2-step RoCE ring proxy opcodes for 4-rank switchless rings
https://github.com/NVIDIA/hyperflare-inference/pull/643 · open, ready for review, head 9c3ea69d, base main (branch point 0a8c20f4), single commit, 1 file, +311/−26 (helios/native/roce_proxy.c). Opened and last updated 2026-11-30 17:35. Labels: none. Reviews: none. PR CI on head: passed (see Process — it does not compile the changed C).
Key findings
- The diff does materially more than the description declares. Besides the ring2 opcodes it carries a verbatim copy of PR #576's CPU-capacity pinning and proxy thread naming (
pin_high_capacity_cpus(),pthread_setname_np(..., "flare-roce"), roce_proxy.c:1702-1767, :1772-1773), addsIBV_SEND_INLINEto the existing one-shot data and relay mailbox WRs and raisesmax_inline_datafrom 16 to 256 for every QP (roce_proxy.c:497-514, :915, :924, :932, :1188, :1493), reorderspost_opto post relayed peers before direct peers (roce_proxy.c:1225-1252), and rewrites the ring idle loop so relays are serviced on every spin rather than every 64th (roce_proxy.c:1794-1814). Only "per-HCA max_inline tracking", the two opcodes and the relayed-origin filter are declared. These touch all ring/relay traffic, not just the new kinds. - It departs from the repo's vendored-parity invariant without naming an upstream source. roce_proxy.c:6-8 ("Keep the source below identical"), roce_proxy_dlopen.c:7-9 ("byte-for-byte identical to FlashInfer"), docs/roce-ring.md:361-364 and NOTICE:16-19 all state the file must match the pinned FlashInfer dependency; the last two changes to this file (#251, #279, #589) were re-vendors aligned to an upstream FlashInfer revision. #643 adds new wire opcodes in-tree and names no upstream proxy PR — only flashinfer#192, described as a kernel PR. This is the exact ground reviewers used to request changes on siblings #576 and #577. The same author created the rule in #589 (ba3afb13, 2026-11-28).
- The bandwidth of the change is not backed by the repo's required evidence. The only performance figure is an absolute "31.8–33.0 µs/call for
RoceRing2AllReduceLaunchacross 88 calls/round" in an nsys trace — no baseline against main, no delta, no served-workload throughput. Charter "Bring real evidence": "Performance PRs need benchmarks showing an actual speedup overmainon a served workload (#210)"; docs/design-review.md:106-115 asks for equivalent baselines and actual Helios service measurements. - The cited test runs never compile the edited C. The description lists
cargo test --locked --releaseon helios with--features runtime-core,server; roce_proxy.c is only compiled under therocefeature (helios/build.rs:67-77; helios/Cargo.toml:27). No PR-triggered CI job compiles or runs it either (native-serving.yml:nativeis x86_64/Windows withoutroceand without libibverbs;rdmaonlycargo checks flare-cli with--features roce,rdma). "CI passed" therefore means the C was not built. - Two open PRs collide with it. #576 (open) owns the pinning hunk #643 copies; #577 (open) rewrites the same
reserve()/ROCE_SEND_DEPTHbudget, the same_Static_assertregion and the same drain/idle path that #643 refactors. #633 (original-el8's attempt at the same pinning hunk) was already closed as a duplicate of #576, so the pinning logic would exist in a third PR. - New wire protocol with no negotiation or fallback. Kinds 5/6 are new meanings in the shared ctrl slot;
ROCE_ABI_VERSIONstays 14 androce_blob_tis unchanged, so old cores still load, but a mixed cluster where a peer proxy lacks kinds 5/6 hits "unknown op kind 5" (roce_proxy.c:1860-1862) and the proxy fails at replay with no fallback to oneshot (roce_proxy.c:1336-1341, :1864-1867). - Zero engagement so far — no comments, reviews, reactions, labels or Autobot case file, in contrast to two CHANGES_REQUESTED rounds on each of #576/#577 in the same file.
- The demand for these opcodes does not originate in this repo. There is no in-repo issue asking for ring2. The motivating problem (relay hops for 2-hop peers) is long-standing and visible in-repo (#34 open since 2026-10-23; #324/#325 relay-ordering work; #577 relay forwarding), but the kernel half (flashinfer#192) and the recipe-selection half (a recipes PR cited without a number) live outside this repository and cannot be verified here.
The change
Single file, helios/native/roce_proxy.c, +311/−26 (pr_files). Plain terms: the b12x one-shot allreduce writes to all peers from each rank; on a 4-rank closed ring the one peer it has no direct cable to is reached by a CPU mailbox relay. This PR teaches the proxy two new doorbell "kinds" so that, for a 4-rank closed ring only, the local kernel can instead run a 2-step algorithm in which each rank writes only to its two 1-hop neighbours.
Declared and present:
KIND_RING2_STEP1 5u/KIND_RING2_STEP2 6u(roce_proxy.c:173-174), dispatched inproxy_main(:1841-1844) topost_ring2_step()(:1335-1370).post_ring2_steprejects unless world==4 and the ring is enabled and closed (:1336-1341), requires a positive multiple of 32 bytes within the slot (:1342-1348), splits the payload into halves whose low/high neighbour assignment flips by(rank parity XOR step)(:1350-1354), and posts each half withpost_direct_striped_batched(:1258-1330), which stripes across rails on lane 0, writes one flag per rail, and signals 1 inRING2_SIGNAL_STRIDE = 16ops per (HCA, peer) QP (accounting inhca->ring2_unsignaled[p], :1325).RING2_SIGNAL_STRIDE 16/RING2_MAX_OUTSTANDING 6with two_Static_asserts (:175-187) budgeting 222 WRs plus (ROCE_SEND_DEPTH/6)*3 = 255 relay WRs plus ACKs inside the 512-deep queue.reserve()split intoreserve_limit()(:831-856) so ring2 uses its own outstanding cap of 6 while all other traffic keepsROCE_SEND_DEPTH/6.ring_next()split intoring_next_from(c, from, target)+ring_next(:332-346);ring_relays_origin[]computed at connect (:732-751) and honoured inring_service(:1039-1042).drain_allsplit intodrain_cqs+drain_all(:1207-1223).
Present but undeclared — see "Anything the description does not say":
It is a pure data mover: it does no reduction (the summing is in the external b12x kernel), so "all-reduce" in the kind names names the algorithm the kernel drives. Step1 and step2 are independent ops from the proxy's point of view (ops_posted += 1, :1368); the kernel's flag waits are the only sequencing between them.
Anything the description does not say
- CPU pinning and thread naming —
pin_high_capacity_cpus()(roce_proxy.c:1702-1767: reads /sys/.../cpu_capacity, keeps CPUs within 90% of max capacity, midpoint fallback, requires ≥2 selected and < count) pluspthread_setname_np(pthread_self(), "flare-roce")(:1772-1773). This is exactly PR #576's roce_proxy.c hunk, which #576 says is vendored from merged local-inference-lab/flashinfer#156 (335459b2), and which original-el8 also submitted as #633 (closed as duplicate of #576, 2026-11-30 12:19). #643 cites no upstream PR for it. IBV_SEND_INLINEon existing paths — relay mailbox payload and descriptor WRs (:915, :924, :932), relay mark (:1009), one-shot flag (:1168) and one-shot data WR (:1188), pipelined flag (:1493).attr.cap.max_inline_dataraised 16 → 256 with a 16 fallback and a fatal minimum of 8, for every QP (:497-514). The description mentions only "per-HCAmax_inlinetracking", not that inline is newly applied to the pre-existing one-shot and relay traffic of all transports.post_opordering change — ring transports now post in two passes, relayed (multi-hop) peers first, direct peers second (:1238-1252), on the grounds that the critical-path hop starts earliest. This changes the existing one-shot path on every ring deployment, ring2 or not; non-ring transports keep one pass.- Idle-loop restructure — on any ring transport,
ring_serviceruns every idle spin unless a ring2 op was last, in which case every 16th;drain_cqsevery 16th; non-ring keepsdrain_allevery 64th (:1794-1814). The previous behaviour wasdrain_allevery 64 spins for rings too. This overlaps #577's "drain relays eagerly" goal and is a behaviour change for every ring user. - 32-byte alignment requirement — ring2 demands a multiple of 32 bytes (:1342) whereas the one-shot path accepts multiples of 16 (:1227); ignition/preparation/collectives.py only enforces 16-byte packing for RoCE capacities, so some message sizes usable today cannot use ring2.
- Less eager completion polling on ring2 —
post_ring2_stepdoes not calldrain_allat the end (contrastpost_op→drain_all(c), :1253-1254); it relies on the idle loop and onreserve_limit's drain. - No documentation update — docs/roce-ring.md still describes the proxy's protocol surface and ABI-14 behaviours without kinds 5/6 (:100-114 layout, :161-167, :414-428 implementation table). docs/TODO.txt:80-86 likewise untouched.
Anything the description says that the change does not do
Nothing material found: every declared item is present in the diff. Two nuances: "compatibility … existing cores load and serve unchanged" is structurally true (blob and ABI untouched) but says nothing about mixed-version proxies (below); and "batched completion signaling … statically verified against ROCE_SEND_DEPTH with queue slack for relay ops and ring ACKs" is asserted at compile time, not measured.
The why
The problem is real and traceable in-repo: the ring transport reaches non-neighbour ranks only through a CPU-driven mailbox relay. roce_proxy.c:196-198 describes the design ("Only the two cable-neighbor QPs connect. Non-neighbor writes cross CPU-driven, bounded RDMA mailboxes"); ring_relayed/ring_service implement it (:348-360, :1039-1120); docs/roce-ring.md:116-142 documents the hop-by-hop protocol and :134-137 warns a relay ack does not mean the destination GPU consumed the data. At world=4 every rank has exactly one 2-hop peer, i.e. one third of a one-shot allreduce's writes take a relay hop.
How long and how widely wanted:
- #34 (open, Saolence, 2026-10-23) "RoCE ring: distant ranks have no fabric path — forward 2-hop transfers via flow label 16383 instead of the CPU relay" asks for NIC hardware forwarding; still open, no merged change addresses it. #643 reduces the traffic that would use that path (small messages on closed 4-rank rings) rather than implementing #34.
- #324 (closed issue) / #325 (merged, 999c6159, 2026-11-18) fixed a relay flag-ordering hazard — evidence the relay path has been a recurring source of work.
- #577 (open) targets relay forwarding latency directly.
- ignition/preparation/collectives.py:52-58 records that oneshot is deliberately used for reductions up to
max_tokensrows because it "is fastest for decode rows" — i.e. the deliberately chosen small-message path is precisely what #643 proposes to replace, an assumption the description asserts but does not quantify. - No in-repo issue or PR requests kinds 5/6 specifically (search for ring2 / two-step ring / allreduce latency turned up only #643). Demand originates outside: local-inference-lab/flashinfer#192 (b12x ring2 kernel) and a local-inference-lab/hyperflare-recipes "collective selection PR" cited without a number (see Related work, Project fit).
Related work
- #576 (open, fordbmorris, FIRST_TIME_CONTRIBUTOR) "Pin Helios execution and RoCE proxy threads to high-capacity CPUs on asymmetric Linux topologies" (+230/−1 across eos, helios/src, helios/native/roce_proxy.c). Its roce_proxy.c hunk is the same
pin_high_capacity_cpus()+ "flare-roce" hunk #643 carries. #576 has an outstanding Autobot blocker onselene::shared::codec::cpu_pool()narrowing and two CHANGES_REQUESTED rounds from original-el8. Overlap: whoever merges second rebases; if #576 later re-vendors from flashinfer 335459b2, #643's copy could be overwritten, and #643 does not carry #576's Rust-side calls, so its C helper would only pin the proxy thread, not model threads. - #633 (closed, original-el8) was an independent +71/−0 attempt at exactly the pinning hunk, closed 2026-11-30 as a duplicate of #576. The pinning logic therefore has three carriers.
- #577 (open, fordbmorris) "roce_proxy: raise ring mailbox window to 16 and drain relays eagerly in pipelined ops" (+35/−12 in roce_proxy.c, helios/src/execution/roce.rs, docs/roce-ring.md):
RING_WINDOW8→16, appendsring_window/ring_bytestoroce_blob_t(1168→1176 bytes, ABI stays 14) with a connect-time check, tightensreserve()toROCE_SEND_DEPTH/8, drains insiderun_pipe_op; requires flashinfer#157 first. Concrete conflict: #643 refactorsreserve()(:831-856) and keeps/6, and its_Static_assertis written in terms of the/6relay budget (:184-187); #643 also moves drain into the idle loop, overlapping #577's eager-drain aim, and does not touch docs/roce-ring.md sizing. - #589 (merged, ba3afb13, 2026-11-28, same author) added roce_proxy_dlopen.c so the vendored C could stay byte-identical while loading libibverbs lazily — the constraint #643's new opcodes sit against. #279 (merged, a5b3b2b0, ABI 14) and #251 (merged, e774a468, ABI 11) are the prior re-vendors that establish the "upstream FlashInfer PR first, then vendor" pattern.
- #325 (merged, 999c6159, Iein Valdez) previous edit to the same
ring_service/relay ordering code; #643 does not revert it (it keeps flag-after-payload ordering and adds inline flags on the same chain). - #34 (open) related in motivation, different in mechanism (hardware forwarding vs avoiding 2-hop traffic). #324 (closed) the relay-flag issue fixed by #325. #215 (closed) FlashInfer pinning history; relevant because preparation consumes flashinfer branch
main(pyproject.toml:47), not a commit pin — so whether preparation's kernels publish kinds 5/6 depends on a branch head. #506 (merged) DGX Spark CX7 preflight: same hardware, no overlap. - #644 and #645 (open, same author, same day) touch helios/src scheduling, not helios/native — no code overlap; they compete for reviewer time only.
- Outside this repo and unverifiable here: local-inference-lab/flashinfer#192 (kernel that publishes kinds 5/6) and the hyperflare-recipes collective-selection PR (unnumbered). Nothing in this repo records either; the two halves must land together and only one side is in this repo's review process.
Recent activity
Recent commits to helios/native before this PR: ba3afb13 2026-11-28 (Luke Alonso, #589, dlopen shim + byte-identity rule) · dc0d40e0 2026-11-19 (Luke Alonso, RoCE/TP lifecycle hardening) · 999c6159 2026-11-18 (Iein Valdez, #325 relay flag ordering) · a5b3b2b0 2026-11-13 (jetnet, #279 ABI 14) · e774a468 2026-11-10 (Jason Cook, #251 ABI 11) · 3c80cb6d 2026-10-23 (FujitsuPolycom, #40 chain serving) · a36480c7 2026-10-16 (Jason Cook, introduced the neighbour-ring transport this PR extends).
#643 builds on all of the ring transport, ABI-14 lanes/credits, #325's relay ordering and #589's dlopen wiring. It reverses nothing. Base-branch drift is nil for this file (0 commits on main since 0a8c20f touched it), but #576 (rebased to ba2796c0) and #577 (to a7327bc4) are both open against the same file and both still blocked, so merge order among the three is the live risk.
People
- Author: lukealonso, COLLABORATOR, named in the charter as a priority contributor and as the project owner whose approval new captured-graph op families require (AGENTS.md:376-381). 26 merged PRs in 180 days, 2 other open (#644, #645), 0 closed; merged work concentrated in helios/src (20), docs (16), ignition/preparation (8), flare-cli/src (6). In helios/native specifically: dc0d40e0, ba3afb13 (#589) and this commit. Notably the author wrote the vendored-parity rule in #589 that #643 does not mention.
- Who usually works here: Jason Cook (4 commits in 180 days: ring transport, ABI syncs), Luke Alonso (3), jasonc (2). External contributors to the file: original-el8 (#251), jetnet (#279), Iein Valdez (#325), FujitsuPolycom (#40), fordbmorris (#576, #577).
- Who has engaged on #643 so far: nobody — no reviewers, no comments, no Autobot case file (contrast #576/#577, each with two CHANGES_REQUESTED rounds from original-el8 plus Autobot reviews).
- Likely reviewers on this file: original-el8 (has twice requested changes in this area and authored the closed duplicate #633) and fordbmorris (author of both competing PRs).
Community
Zero comments, zero reviews, zero reactions, no labels, no bots (pr_comments: none; read_item #643: Discussion (0)). The description does carry the mandated four-part structure and a Discord handle ("Discord: lukealonso"), matching docs/design-review.md:150-169 and AGENTS.md:144-150. Interest is currently zero; the sibling PRs in the same file drew sustained review.
Project fit
Lines up:
- Right layer and model-agnostic: entirely inside the RDMA transport proxy, no per-model branches (charter "Keep the runtime small and model-agnostic"; design-review.md:62-65 "Use FlashInfer/b12x and NVIDIA directly").
- Core compatibility preserved:
roce_blob_tuntouched,ROCE_ABI_VERSIONstays 14 (roce_proxy.c:141), helios/src/execution/roce.rs:131 still accepts cores recording ABI 9/10/11/14 (design-review.md principle 13). - Target hardware in scope: DGX Spark / SM121 are charter-named targets.
- Live multi-GPU execution of real collective graphs was reportedly done, which is what design-review.md:252-259 mandates for transport changes.
Does not line up:
- Vendored parity (roce_proxy.c:6-8, roce_proxy_dlopen.c:7-9, docs/roce-ring.md:361-364, NOTICE:16-19) — the change edits the vendored source and names no upstream proxy PR.
- Evidence standard — charter "Bring real evidence … (#210)" and design-review.md:106-115; the PR gives an absolute µs/call with no main baseline and no served-workload measurement.
- Test hierarchy — design-review.md:180-194 asks for
--features rocecoverage for server-transport changes; the cited runs omit it, so the edited C is never compiled by the cited evidence. - Undeclared scope expansion — design-review.md principle 15 "Reject scope expansion"; the pinning hunk is unrelated to ring2 and duplicates #576.
- Documentation not updated — docs/roce-ring.md is the operator-facing protocol description and is silent on kinds 5/6.
- Roadmap: nothing on the roadmap mentions ring2 opcodes; the nearest item is "FlashInfer dependency fix (#215) — … keeping builds strictly pinned", which both the un-pinned
branch = "main"dependency (pyproject.toml:47) and the non-re-vendored proxy touch.
- Non-goal check: it is not one of the charter's non-goals; cross-node serving is an explicit Goal. No maintainer sign-off question arises from the non-goal list.
Claims and evidence
| Claim | Backing found | Assessment |
|---|---|---|
RoceRing2AllReduceLaunch averages 31.8–33.0 µs/call over 88 calls/round, 4× DGX Spark TP4 DeepSeek-V4.1-Flash with flashinfer#192 |
Absolute figure only, in a node-level nsys trace | No baseline against main's oneshot path, no delta, no served-workload numbers; charter #210/design-review.md:106-115 (not opened) ask for a measured speedup over main on a served workload |
cargo test --locked --release passed on helios (--features runtime-core,server), flare, flare-cli |
Not reproducible as stated for this file: roce_proxy.c compiles only under roce (helios/build.rs:67-77; helios/Cargo.toml:27); helios/src/execution/roce.rs tests need --features roce |
The cited runs do not compile the changed C — the same gap original-el8 flagged as a blocker on #576/#577 |
| Verified end-to-end on 4× DGX Spark, ring2 cores (gb10-tp4-202611301141, …1553, 57 graphs each) and the non-ring2 core (…1503) | Kind of evidence design-review.md:252-259 requires | No tok/s, latency or error counts, whereas #576/#577 both report tok/s and CX7 port error counts |
| Existing opcodes 0..4 and wire structures unchanged; existing cores load and serve unchanged | Structurally supported: kinds 0-4 untouched (:168-174), blob untouched, ABI stays 14, roce.rs:131 accepts 9/10/11/14 | True for existing cores; silent on mixed-version proxies, which fail hard (below) |
| Declared limitations: non-4-rank rings and non-SM121 NICs not benchmarked | Consistent with code (:1336 rejects world != 4) | Honest; but the code fails rather than degrades for those cases, which the description does not spell out |
| CI on head: passed (orientation packet) | native-serving.yml: native is x86_64/Windows without roce/libibverbs; rdma only cargo checks flare-cli --features roce,rdma |
The changed C is not built by PR CI; only release.yml:37-80 (tag/release triggered, arm64 docker with libibverbs-dev) would build it |
No test, no doc, no Rust change accompanies the change, and no vendored-parity check script exists in the repo (enforcement is prose in NOTICE:16-19, roce_proxy.c:6-8, roce_proxy_dlopen.c:7-9, docs/roce-ring.md:361-364). .githooks/commit-msg requires a Design-Signed-Off-By: …; design-review=<digest> trailer; whether the branch commit carries a current digest is not visible from the PR page (a stale digest has blocked reviews in this area before).
Reach
- Who is affected: only 4-rank switchless closed RoCE rings (
--roce-ring, world==4) on DGX Spark/GB10-class hosts whose exported core publishes kinds 5/6. Mesh (ring==NULL),--roce-chain(explicitly rejected, roce_proxy.c:1336-1341) and world!=4 are unaffected by the opcodes. - Undeclared effects on everybody else on a ring: the inline-WR changes and 16→256
max_inline_data(:497-514, :915, :924, :932, :1188, :1493) apply to all transports and all op kinds; the two-pass relayed-firstpost_opordering changes every ring deployment's one-shot path (:1238-1252); the idle loop now services relays every spin on every ring transport (:1794-1814). All of these are behaviour changes to existing, non-ring2 traffic. - Configuration and defaults: no new flag, config key or env var; selection is baked into the exported core's kernels. Consistent with design-review.md principle 10 (no env-var switches), but it means the behaviour is invisible to operators and cannot be turned off per deployment without re-exporting.
- Compatibility: old cores keep loading (roce.rs:131; ABI 14 at roce_proxy.c:141). But a mixed build (a peer proxy without kinds 5/6) makes the receiving proxy hit "unknown op kind 5" (:1860-1862) and set
failed(:1864-1867) — the whole transport dies at replay, with no fallback to oneshot. #577 handles this class of drift with a blob field checked at connect; #643 adds a new wire protocol with no equivalent guard. - Failure modes: ring2 on a chain or world!=4 poisons the proxy rather than degrading; the WR budget is compile-time asserted, not measured; 16-byte-but-not-32-byte-aligned payloads are rejected (:1342 vs :1227).
- Dependencies/deployment: serving half is self-contained C compiled into aarch64 Linux builds by default (flare-cli/Cargo.toml:43-44) and under
roceelsewhere; preparation half needs a b12x emitting kinds 5/6, taken from flashinfer branchmain(pyproject.toml:47), so prep/serve lockstep is by branch head, not by pin. - Documentation impact: none applied — docs/roce-ring.md (protocol model :355-370, ABI-14 description :161-167, implementation table :414-428) and docs/TODO.txt:80-86 remain silent on kinds 5/6.
Process
Open, not draft, labelled "ready for review"; single commit on branch sm121-roce-ring2-proxy; opened and last updated in the same minute on 2026-11-30, i.e. effectively hours old at intake. No labels, no assignees, no reviewers, no reviews, no reactions, no Autobot case file.
CI: head-commit CI passed, but the only PR-triggered workflows do not compile the changed C (native-serving.yml native job, lines 13-99, x86_64/Windows, no libibverbs, helios tests --features runtime-core,server; rdma job, lines 101-113, installs libibverbs-dev but only cargo checks flare-cli with --features roce,rdma). The aarch64 build of roce_proxy.c is exercised only by release.yml:37-80 on tags/releases. No -Wall/-Werror in helios/build.rs's cc::Build.
Merge-order risk: #576 (same C hunk) and #577 (same reserve()/budget/drain) are both open, both still blocked, and #577 additionally waits on external flashinfer#157. Any order requires rebasing the vendored file, and a later #576 re-vendor from flashinfer 335459b2 could revert #643's pinning copy.
Open questions / could not be found
- Which upstream FlashInfer revision or PR contains
KIND_RING2_STEP1/2,post_direct_striped_batched,RING2_SIGNAL_STRIDE, the inline changes andpin_high_capacity_cpus()? No citation given; local-inference-lab/flashinfer is not searchable from here. Without it the vendored-parity rule (roce_proxy.c:6-8, docs/roce-ring.md:361-364, NOTICE:16-19) cannot be satisfied or checked. - The baseline: what does the same op cost on main's oneshot path on the same 4× DGX Spark? The PR gives 31.8–33.0 µs/call but no comparator, so the "perf" in the title is unquantified.
- Number and content of the hyperflare-recipes collective-selection PR (cited without a number) and whether flashinfer#192 is merged — both decide whether the opcodes are ever exercised.
- Whether the branch commit carries a current
Design-Signed-Off-Bydesign-review digest (not visible from the PR page). - Whether kinds 5/6 are exposed through any capability/negotiation check the proxy could use on a mixed cluster — none was found in roce_proxy.c; if the FlashInfer side adds one, it is not in this diff.
- Not relevant after checking: #232, #271, #324 (superseded by #325), #506 (shared hardware only).
Leads from the orientation packet
Followed: #577 (substantive conflict), #576 (duplicated hunk), #633 (third copy of the same hunk, closed as duplicate), #34 (motivation, different mechanism), #325 (predecessor edit in the same code, not reverted), #589 (parity rule + dlopen wiring the PR depends on), #251/#279 (the "upstream first, then vendor" pattern), #215 (background for the un-pinned flashinfer source), "CI passed" (qualified: does not compile the C). Not relevant: #506, #232, #271, #324, and same-author #644/#645 (no code overlap).