Opened by a workflow run, Dec 4, 2026 1:50 PM EST. decide malicious: all_clear (100%): No malicious content found
explore
Author: avifenesh (FIRST_TIME_CONTRIBUTOR; 0 merged PRs in 180 days, 2 closed, 1 open — #606, #605, #567, all in the preparation/export area; Discord avi7066)
Motivation: ignition export of the external qwen4-35b-a3b recipe fails on SM120 because the FlashInfer revision this repo pins only accepts a 3:1 Gated DeltaNet value-head ratio, while that model is 2:1. Moving the pin two upstream commits forward (one of which adds the 2:1 and H=2048 shapes) lets the export finish and the exported core serve requests.
Scale: +1 / −1 lines in 1 file (pyproject.toml:47)
Proposal:
- Repin
[tool.uv.sources] flashinfer-pythonfrom git rev5a8ceed80c…to6aff33c4a6…inpyproject.toml:47. - No other in-tree change: no re-vendoring of
helios/native/roce_proxy.c, no docs, no lockfile (the repo has none). Touches: - Preparation dependency pin (
pyproject.toml:20-47,prepareextra /ignition[prepare]), which every recipe environment and CIuv sync --extra prepareresolves — highest risk. - RoCE proxy parity contract:
tests/preparation/test_roce_proxy_parity.py:35-65asserts the vendoredhelios/native/roce_proxy.cbody is byte-identical to the installed FlashInfer_roce_proxy.c(not opened); a moved pin re-tests that assertion. - b12x GPU kernel behaviour for every model (the bundled second commit changes SM budgeting / green-context grid-stride in b12x MoE). Related items:
- #707 helios,ignition,flare-cli: unify ABI-14 RoCE proxy sync, per-HCA GIDs, and CI parity (merged): set the
1441ce86pin, vendored the proxy and added the parity test this PR moves forward. - #723 helios,heliopause,ignition: fleet-wide 2-way codec green contexts, graph SM bounds, and ScratchArena reserve_sms floor (open): needs the bundled FlashInfer #217 symbols; #731 is its unstated pin prerequisite.
- #215 Track FlashInfer main in the preparation dependency instead of a pinned commit (closed): maintainer chose the exact-pin policy this PR follows; its main-tracking workflow and compatibility script are absent from the tree.
- #712 helios,flare-cli: default --roce-ring and --roce-chain to ConnectX-7 hardware hairpin (open): also edits
pyproject.tomland the proxy file, constrained by the same parity test. - #403 / #85 (merged): precedents that bumped the pin with a check run at the new revision; #731 names upstream PRs but runs nothing.
Link: https://github.com/NVIDIA/hyperflare-inference/pull/731
Autobot comments: The diff's "from" value is
5a8ceed80c, not the1441ce86the description names — the tool-side merge base also leaks ~8 unrelated files, so this is likely a stale base, but it must be confirmed (a branch forked before #707 would silently revert that pin and conflict). The pinned revision bundles a second, unmeasured upstream commit (FlashInfer #217, b12x MoE SM budget/green-context), which is exactly what open #723 needs but neither PR references the other. The "neither commit touches the RoCE proxy" claim is precisely what the repo's parity test can mechanically falsify, and the author states the test suites were not run; there are no CI checks on heade015d55, no reviews, no comments, and no automated case file, unlike its neighbours. Also unmentioned: the repo has nouv.lockwhiledocs/core-design.md:381-385anddocs/model-preparation.md:145-153claim it tracks FlashInfermain. Evidence for the fix is one model on one laptop GPU with no logs or artefacts.
Value Proposition
Value Proposition — PR #731 (pin flashinfer-python to 6aff33c4)
Summary. A one-line revision bump in pyproject.toml:47 ([tool.uv.sources], which reaches every ignition[prepare] install, including CI) that moves the FlashInfer pin forward so the external qwen4-35b-a3b recipe can export its 2:1 GDN geometry. Low-cost and correctly located, but under-evidenced in one specific way that matters.
Charter alignment — good. Pinning to an exact commit is exactly what "Be explicit and pin everything (#215)" and the roadmap item "FlashInfer dependency fix (#215) … while keeping builds strictly pinned" call for; the maintainer already rejected main-tracking when #215 was closed ("Flare keeps the exact FlashInfer pin"). More importantly, the fix lands upstream in FlashInfer rather than as a per-model branch or forked kernel in Helios, satisfying "solve the right problem in the right place" and "keep the runtime small and model-agnostic." No non-goal is implicated: no new flags, aliases, hardware breadth, or CPU/backend work.
Novelty & status — additive, not obsolete or superseded. #707 (merged 2026-12-03) set 1441ce86 and added the RoCE parity test; this is the first re-pin since, so nothing on main already fixes the GDN capability check. No other PR re-pins flashinfer-python (#712 touches pyproject.toml but leaves 1441ce86). It is effectively the pin prerequisite for open #723, whose code path needs the bundled FlashInfer #217 commit — though neither PR states that dependency, and #723's tester names a different commit (530e2473), so the revision chosen here may already be stale.
Value vs maintenance cost. Cost is genuinely near-zero: one line, no ABI, Rust, manifest, kernel, or proxy change; existing exported cores keep working. Benefit is real but narrow: one contributor's single checkpoint on one laptop GPU (RTX 5090 Laptop, GB203, SM120, 24 GiB), no in-repo issue, no independent reproduction, and the PR itself states the other recipes and other hardware were not measured. Three gaps undercut the "#85/#403 precedent" shape (each of those ran an explicit check at the new revision):
- The pinned revision bundles FlashInfer #217 ("cooperative SM budget and green-context grid-stride safety for b12x MoE"), which changes kernel behaviour for every model, and was not measured at all.
- The load-bearing claim "no re-vendoring needed" is mechanically falsifiable by
tests/preparation/test_roce_proxy_parity.py(added by #707, run in CI via the prepare/test extras), and the author explicitly did not run the test suites; there are no CI checks on heade015d55. - The computed diff starts from
5a8ceed80c, not the1441ce86named in the description — most likely a stale merge base, but if the branch truly forks before #707, merging would revert #707's pin and conflict atpyproject.toml:47.
Minor process issues worth noting, not blocking: the docs (and THIRD_PARTY_NOTICES.md) still describe a main-tracking pin plus a uv.lock the tree does not have; the cited FlashInfer #215/#217 link to this repo's unrelated PRs; and the author's hyperflare-recipes lock follow-up (AsyncTransferChannel ImportError) is recipes-repo staleness from #711, not caused by this pin.
Worth it with changes. Acceptable once: (a) the merge base is confirmed current so #707's pin is not silently reverted; (b) parity CI is green at the new revision, or the vendored proxy re-synced; (c) the bundled #217 MoE change is called out and either measured on a second recipe or split into its own bump; (d) the revision is reconciled with #723's 530e2473 and the #723 dependency linked. Note the author is a first-time contributor but a repeat one in this exact preparation/export area, so specific requirements should be spelled out rather than dismissing it.
Verdict: Worth it with changes.
(Reviewer note: the PR material and dossier contained no attempts to direct the reviewing agent.)
Full report Decide Value: yes (100%): This change is worth reviewing: it provides value to the project in line with its charter.
Classify intake
Selected: triage:review, area:preparation
Threshold: 65%
Triage
- [✓]
triage:review: 88.1% -
triage:design-review: 5.0% -
triage:validation: 5.0% -
triage:integration: 1.4% -
triage:investigate: 0.3% -
none: 0.1% -
triage:partial: 0.1% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Priority
-
none: 91.6% -
priority:P2: 7.5% -
priority:P1: 0.9%
Type
-
bug: 43.8% -
performance: 43.8% -
enhancement: 40.7% -
community: 37.8% -
duplicate: 10.7% -
documentation: 0.2%
Area
- [✓]
area:preparation: 91.5% -
area:rocenante: 43.8% -
area:packaging: 26.9% -
area:kernels: 13.3% -
area:memory: 5.3% -
area:api: 1.6% -
area:orbit: 1.2% -
area:caching: 0.9% -
area:engram: 0.8% -
area:selene: 0.7% -
area:scheduling: 0.4%
Model
-
model:qwen3.8-flash-next: 7.6% -
model:glm-5.3: 0.6% -
model:deepseek-v4.1: 0.5% -
model:muse-glimmer: 0.5% -
model:inkling-small: 0.5% -
model:kimi-k3.1: 0.4% -
model:qwen3.8-27b: 0.4% -
model:mimo-v2.6: 0.2% -
model:deepseek-v4: 0.1% -
model:nemotron-3.5-bolt: 0.1% -
model:gemma4: 0.1%
Apply Labels (Intake)
Applied: +triage:review, +area:preparation
Subtraction and simplicity
Subtraction & Simplicity audit — PR #731 (pin flashinfer-python to 6aff33c4)
Verdict: the diff is lean. The subtraction debt sits immediately next to it, and this PR is the moment it becomes provably dead.
The entire change is one line (pr_diff, and head tree pyproject.toml:43-47):
-flashinfer-python = { git = ".../flashinfer.git", rev = "5a8ceed80ccc58e11a4d49ccc910f52967699c09" }
+flashinfer-python = { git = ".../flashinfer.git", rev = "6aff33c4a6500a10c32916f3c2e6987e708cec92" }
No new CLI flag, config knob, wrapper, branch, or speculative generality is introduced; there is nothing inside the diff to delete. Four concrete deletions/simplifications are available in the files this PR touches or directly invalidates, in priority order.
1. scripts/setup_preparation.py is a wrapper for an operation the pin makes impossible — delete the script (or the false claim)
scripts/setup_preparation.py:17-28, verbatim:
def main() -> int:
try:
environment = dict(os.environ, BUILD_NVEP="0", FLASHINFER_BUILD_NO_PIP="1")
subprocess.run(
["uv", "sync", "--upgrade-package", "flashinfer-python", "--extra", "prepare", "--extra", "test",
"--reinstall-package", "flashinfer-python", "--reinstall-package", "flare-heliopause"],
cwd=ROOT, env=environment, check=True,
)
--upgrade-package flashinfer-python can never move the package past an exact git rev in [tool.uv.sources] (pyproject.toml:47), which is the only place the revision is declared. The script's whole reason to exist — "Update FlashInfer" (:4) — is unreachable. What remains is a 15-line, three-binding wrapper (os, Path, subprocess, sys, ROOT) around one uv sync invocation, plus an env dict that duplicates CI verbatim:
.github/workflows/python-cpu.yml:27-28(not opened):BUILD_NVEP: "0"/FLASHINFER_BUILD_NO_PIP: "1"
That duplication is the real simplification: the two callers already diverge (the script adds --reinstall-package twice, CI does not), so the "shared helper" is neither shared nor a helper. Delete scripts/setup_preparation.py and its two references — docs/model-preparation.md:103-105 ("python scripts/setup_preparation.py updates FlashInfer to the tip of its main branch") and :153 — replacing the doc with the one correct command, uv lock --upgrade-package flashinfer-python against an explicit new rev, which is exactly what this PR does by hand.
2. uv.lock is described in six places and exists nowhere — delete the claims (5 assertions + 2 unusable commands)
No lockfile exists: list_files for *uv* and *uv.lock returns nothing at head or main, and .gitignore:1-13 does not exclude it. Yet:
docs/core-design.md:381: "[pyproject.toml](../pyproject.toml)and[uv.lock](../uv.lock)declare the preparation dependencies." — the link target does not exist.docs/core-design.md:383-385: "pyproject.tomltracks themainbranch oflocal-inference-lab/flashinfer, anduv.lockrecords the resolved commit" — doubly false: the pin is an exactrev(both before and after this PR), nevermain.docs/model-preparation.md:146-150: samemain-tracking claim, plus.github/workflows/track-flashinfer-main.yml(not opened) — that workflow does not exist; the tree has onlyhelios-lifecycle.yml(not opened),native-serving.yml(not opened),python-cpu.yml,release.yml(not opened).docs/model-preparation.md:150,:156: "uv sync --locked --extra prepare --extra test" —--lockedfails outright with no lockfile, so the documented reproduction path cannot run.THIRD_PARTY_NOTICES.md:60: "pyproject.tomlanduv.lockdescribe the separately installed preparation and test environment".docs/api.md:1099(not opened): "uv.lockpins for theapi-testextra."docs/roce-ring.md:334: "From a FlashInfer checkout at the revision pinned inuv.lock" — the revision is pinned inpyproject.toml:47.
The simplifying fix is deletion, not addition: drop every uv.lock and main-tracking sentence and point at pyproject.toml:47 as the single source of truth. A PR that re-pins the revision is the only natural place to do this without leaving the docs contradicting the pin it just wrote.
3. The same "tracks main" fiction makes --upgrade-package advice in the docs wrong in one place while right in another — collapse to one instruction
docs/model-preparation.md:151-153 says "To pull an unmerged commit ahead of the scheduled refresh, run uv lock --upgrade-package flashinfer-python or python scripts/setup_preparation.py." Two commands for one outcome, neither of which works against a fixed rev. Deleting the or-alternative (item 1) and stating the one real procedure — edit rev in pyproject.toml:47, then uv sync --extra prepare --extra test — removes a branch of documentation that can only mislead. There is no code branch to collapse here; the simplification is that a reader following the docs today gets two dead paths instead of one correct one.
4. Optional, lower value: [tool.uv.sources] pin is invisible to pip installers — worth one sentence rather than new machinery
pyproject.toml:25 requires "flashinfer-python[b12x]" inside the prepare extra, but the revision lives only in pyproject.toml:43-47 [tool.uv.sources], which only uv honours. I flag this as a place where the cheap fix is a one-line note in docs/model-preparation.md, not a duplicated pin in the dependency string — do not "simplify" by moving or copying the rev into the requirement.
Related, not a simplification (one line, for the reviewer)
pr_diff's removed line reads rev = "5a8ceed80ccc58e11a4d49ccc910f52967699c09", not the 1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e the description names; and the computed diff carries ~10 unrelated files (release.yml (not opened), native-serving.yml (not opened), AGENTS.md, THIRD_PARTY_NOTICES.md, docs/api.md (not opened), docs/TODO.txt) while pr_files reports 1. That is consistent with a stale merge base on the review tool rather than real content — but it means a reviewer cannot see the true one-line change without checking the head tree, which is what I did (pyproject.toml:47 at head = 6aff33c4a6…). Nothing to subtract there; just don't merge on the strength of the displayed diff.
Things I deliberately did not propose deleting
tests/preparation/test_roce_proxy_parity.py:35-65— looks like heavy machinery (importlib.util.find_spec,PROVENANCE_LINES = 9,difflibpreview with a 4000-char truncation) but it is the only in-repo mechanism that can falsify this PR's "no re-vendoring is needed" claim. Keep it; the simplifications above are the deletions that pay.heliopause/pyproject.toml— no flashinfer reference at all (search_codeforflashinferinheliopause/returns no matches), so there is no second place to keep in sync. Nothing to collapse.
Gates and contracts
Contracts, Charter & Verification Gates Audit — PR #731 (pin flashinfer-python to 6aff33c4)
Scope of this lens: hard repository governance, contract boundaries, vendored upstream dependencies, mandatory verification gates. Algorithm/kernel correctness is out of scope (separate lens).
Change under review: one line, pyproject.toml:47, [tool.uv.sources] flashinfer-python git rev → 6aff33c4a6500a10c32916f3c2e6987e708cec92. pr_files confirms 1 file, +1/−1. The extra files in the computed pr_diff (AGENTS.md, THIRD_PARTY_NOTICES.md, docs/api.md (not opened), docs/TODO.txt, three workflows) are base-side noise from a stale merge base — the served main snapshot is provably older than merged #707 (it holds pyproject.toml:47 = 5a8ceed8…, helios/native/roce_proxy.c with RING_WINDOW 8 at :205 instead of 16, and has no tests/preparation/test_roce_proxy_parity.py at all), so that diff is a comparison artifact, not PR content.
Verdict
One mandatory-verification-gate blocker. No contract/wire/captured-graph boundary violation. No scope expansion.
| Gate | Result |
|---|---|
| 1. Signed core-format / wire / captured-graph / normative contract boundaries | PASS |
| 2. Vendored upstream dependency & cross-PR conflicts | BLOCKER (unverified parity with the moved pin — the load-bearing claim of the PR) |
| 3. Mandatory verification evidence (Layer 1/2/3) | BLOCKER (docs/design-review.md:247-251 "Disclosure does not excuse skipping runnable CPU checks") |
| 4. Material scope / claim contradictions | No hard contradiction; one must-confirm discrepancy (base/"from" revision) |
Gate 1 — Contract boundaries: PASS
- No Protobuf, core-format, execution-manifest, wire-kind, enum, or captured-graph change. No new graph operation family, so
docs/design-review.md:22-26owner approval is not implicated.ROCE_ABI_VERSIONstays 14 (helios/native/roce_proxy.c:160) andhelios/src/execution/roce.rs:23PROXY_ABI: u32 = 14with:131accepting9 | 10 | 11 | 14— untouched, so existing exported cores keep loading (principle 13,docs/design-review.md:116-123). - No contradiction with
docs/scheduling-theory.md(not opened),docs/scheduling-runtime-design.md(not opened), ordocs/core-format-design.md(not opened) on a shipped default. - Nothing here changes Helios runtime policy or adds a per-model branch; the fix lands upstream in FlashInfer, which is what principle 3/4 (
docs/design-review.md:40-65) and the charter's "solve the right problem in the right place" ask for. - Charter fit is positive: "pin dependencies to exact versions or commits" and the roadmap's "FlashInfer dependency fix (#215) … while keeping builds strictly pinned". The exact-pin policy is the one the maintainer chose when closing #215.
Gate 2 — Vendored upstream dependency: BLOCKER (unverified, not disproven)
helios/native/roce_proxy.c is a byte-parity vendored copy of FlashInfer's flashinfer/experimental/b12x/comm/roce/_roce_proxy.c (not opened) below a 9-line provenance header (helios/native/roce_proxy.c:6-8; PROVENANCE_LINES = 9). The rule is normative in two places:
docs/roce-ring.md:361-365: "Flare vendors the serving proxy inhelios/native/roce_proxy.c… When changing the protocol, keep the vendored source identical to the dependency after its provenance header and verify their ABI and collective-region layouts together."tests/preparation/test_roce_proxy_parity.py:35-65:test_vendored_roce_proxy_is_byte_identical_to_pinned_flashinferreads the installedflashinferpackage (:20-32) and hard-fails on any divergence. It runs in.github/workflows/python-cpu.yml:25-33(not opened) (uv sync --extra prepare --extra test→.venv/bin/python -m pytest tests/ -q), i.e. this pin move is exercised by CI on every PR install.
Why this blocks rather than informs:
- The PR's own load-bearing claim is exactly this assertion — "Neither commit changes the RoCE proxy source vendored in
helios/native/roce_proxy.c, so no re-vendoring is needed" — and the description simultaneously states "Not run: this repository's test suites". The one gate the repository can mechanically falsify for this change is the one left unexecuted. docs/design-review.md:247-251is explicit and non-substitutable: "Disclosure does not excuse skipping runnable CPU checks. All three layers run without a GPU or model checkpoint. Leaving an applicable crate test, simulator sweep, TLA+ conformance run, or Kani proof unrun blocks commit and PR acceptance; noting it as a limitation does not make the omission acceptable."pytest tests/preparation/test_roce_proxy_parity.pyis a CPU-only, runnable Layer-1 check.- Precedent: the closest analogue to this PR, merged #707, was reviewed as requiring a merged upstream commit and verified
0-byte diff (7 passed, 0 failed) against the pin before landing — and #725's autobot review records a hard CI failure on this exact test when the pin and the vendored file disagree. A pin move that silently breaks parity is a release-blocking, cross-repo failure (preparation and serving would then disagree on proxy ABI/layout for every rank set).
Required: run pytest tests/preparation/test_roce_proxy_parity.py (or the workflow's pytest tests/ -q) against the 6aff33c4 environment and report the result, or re-sync the vendored body if it diverges. Until then the "no re-vendoring needed" claim is unverified.
Secondary Gate-2 item that must be confirmed, not assumed: whether 6aff33c4 is a merged upstream commit on local-inference-lab/flashinfer. #707's review had to retarget an unmerged pin (524799c4… → merged 1441ce86…), and #723's tester reports FlashInfer #217 at a different commit (530e2473). I could not resolve upstream state with the tools available; treat it as a pre-merge confirmation, not a finding.
Gate 3 — Mandatory verification evidence: BLOCKER (same defect)
- Layer 1 (Python): not run — and it is the affected layer (the pin flows into
uv sync --extra prepare --extra test). Blocked as above. - Layer 2 (scheduler simulator / references): not applicable — no graph selection, pricing, timing, or cohort change.
- Layer 3 (TLA+
verification/helios-lifecycle/check.py (not opened) --release, Kani, mutation): not applicable — no admission/fence/generation/cancellation/speculation/cache/readiness/rank-coordination change in this tree (docs/design-review.md:209-228). No Rust is touched, so nocargo testgate is triggered either. - Served-workload A/B benchmark: not required. The PR claims a functional result (export completes, core serves at C=1/2/4 incl. a 120k-token prompt), not a speedup, so the performance gate (
#210, principle 12's "performance claims require equivalent baselines") is not engaged. Correctly not claimed. - Disclosed unmeasured risk — Major, should fix before merge (not a gate): 6aff33c4 bundles FlashInfer #217 ("cooperative SM budget and green-context grid-stride safety for b12x MoE"), which changes b12x MoE kernel behaviour for every model, and the author measured only one Qwen4 export on one laptop GPU, explicitly leaving "other recipes … not measured". Principle 12 (
docs/design-review.md:106-115) requires exercising affected shapes and distinguishing expected from measured effects;AGENTS.md:506-509requires inspecting shared components and equivalent paths across supported recipes when a change touches a shared path. At minimum the description should state this as an unmeasured fleet-wide kernel change (it currently frames the second commit only as "DNA" of the pin) and ideally either split it into its own bump or measure a second recipe. This is a disclosure/evidence gap, fixed by prose + one extra run, not by code. - Not flagged: absence of observable CI check runs on
e015d55is not used as evidence here; the blocker rests solely on the description's explicit "test suites not run" plus the repo's own non-substitutable rule. No failing-test or failing-CI report exists in the description or dossier.
Gate 4 — Material scope / claim contradictions: no hard contradiction
- Scope is minimal and coherent (1 file, 1 line); nothing unrelated is bundled in the diff. No absent-test/benchmark fabrication: the description discloses exactly what was and was not run, which is honest.
- One discrepancy to reconcile before merge (Info → confirm): the description says the pin moves from
1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e(what merged #707 set), while the computed diff's "from" value is5a8ceed80ccc58e11a4d49ccc910f52967699c09(the pre-#707 pin). Given the servedmainsnapshot is demonstrably pre-#707 (RING_WINDOW 8, no parity test), this is almost certainly a stale merge-base artifact and the branch's real target is1441ce86…. If instead the branch truly forks before #707, merging would revert #707's pin and conflict atpyproject.toml:47. Worth one confirmation (git merge-base --is-ancestor 41ad1a43 HEAD) rather than a finding.
Info / Nits (not blockers)
- Cross-PR coordination, unstated in both directions. This pin supplies FlashInfer #217, which open #723 (
heliopause/helioscapture,helios/src/runtime_core/persistent_worker.rs(not opened)) needs forb12x._lib.utils.device.track_capture_min_compute_sms; #723's review notespyproject.toml:47"is unchanged by this PR and still pins rev1441ce86…". #731 is effectively #723's pin prerequisite and neither PR references the other — link them. - Overlapping open PRs on the same pin. #725 (open) re-pins
pyproject.toml:47to FlashInfer #221 to keep parity with itshelios/native/roce_proxy.crewrite; #712 (open) also editspyproject.tomland the proxy. Whichever lands second needs a rebase plus a coordinated pin. Informational overlap only, not a defect in this diff. - Pre-existing documentation drift this PR neither causes nor fixes.
docs/core-design.md:381-385anddocs/model-preparation.md:146-153describepyproject.tomlas tracking FlashInfermain, auv.lockthat records the resolved commit, and.github/workflows/track-flashinfer-main.yml(not opened) — none of which exist (list_filesfinds nouv.lockat head ormain;.gitignoredoes not exclude it). The exact pin inpyproject.toml:43-47contradicts that prose both before and after this change. Alsodocs/TODO.txt:92-98still describes an ABI 11/10 proxy state that #707 already superseded. Out of scope here, but a reader following the docs cannot reproduce this pin's environment. flare-autobotposted only an intake notice on #731 (no case-file review, unlike #707/#711/#723). No reviewer, label, or comment beyond that. The PR description contains no attempt to direct a reviewing agent — the "Follow-up outside this PR" and evidence sections are ordinary technical content.
Bottom line
The change is correctly located, charter-aligned, minimal, and honestly described. It is blocked on exactly one thing: the vendored-proxy parity claim is unverified and the applicable CPU-only test was not run, which docs/design-review.md:247-251 makes non-waivable for a change that reroutes the ignition[prepare] dependency for every install. Run pytest tests/preparation/ (at minimum test_roce_proxy_parity.py) against a 6aff33c4 sync and post the result — or re-sync helios/native/roce_proxy.c if it diverges — then confirm the merge base is post-#707 and that 6aff33c4 is a merged upstream commit. Separately (should fix, not a gate), disclose the bundled FlashInfer #217 b12x-MoE behaviour change as unmeasured fleet-wide, and link #723.
Code correctness
Deep Code Correctness, Invariants & Hot-Path Audit — PR #731 (e015d55)
Verdict: no verified code bug, numerical defect, state-ordering bug, or hot-path regression in this PR. The diff is a single dependency revision string; there is no changed function, loop, guard, enum match, state flag, comparator, estimator, or per-iteration allocation anywhere in it, so none of the four mechanical protocol stages can produce a finding against changed code.
What the diff actually is
pr_diff (filtered to pyproject) — the entire change, 1 line:
-flashinfer-python = { git = "https://github.com/local-inference-lab/flashinfer.git", rev = "5a8ceed80ccc58e11a4d49ccc910f52967699c09" }
+flashinfer-python = { git = "https://github.com/local-inference-lab/flashinfer.git", rev = "6aff33c4a6500a10c32916f3c2e6987e708cec92" }
(pyproject.toml:47; pr_files confirms pyproject.toml is the only changed file, +1 −1.)
Protocol stage 1 — callee/enum/design-invariant resolution (every consumer of the pin opened)
I opened each in-repo consumer of the pinned revision to check for an invariant the bump could break; all are revision-agnostic or keyed on the installed source tree, so none is invalidated structurally:
- Vendored-proxy parity gate —
tests/preparation/test_roce_proxy_parity.py:35-51compareshelios/native/roce_proxy.clines 10..EOF byte-for-byte with the installedflashinfer/experimental/b12x/comm/roce/_roce_proxy.c(not opened). Its provenance assertion isassert "flashinfer/experimental/b12x/comm/roce/_roce_proxy.c (not opened)" in header(:43) — a substring of the path, not a revision string, so a newer pin alone does not make the test self-contradictory. ABI is separately pinned to 14 in both places (helios/native/roce_proxy.c:160#define ROCE_ABI_VERSION 14;helios/src/execution/roce.rs:23pub const PROXY_ABI: u32 = 14;), androce.rs:131if !matches!(spec.proxy_abi, 9 | 10 | 11 | 14) || abi != PROXY_ABIstill accepts exactly the documented set. This test runs in CI on every PR via.github/workflows/python-cpu.yml:29-33(not opened) (uv sync --extra prepare --extra testthen.venv/bin/python -m pytest tests/ -q), so if upstream6aff33c4touched_roce_proxy.c(not opened) the PR would go red rather than silently ship a mismatched transport ABI — which is the correct failure direction, and I could not verify the upstream file contents from this repository. - Source-identity contract —
ignition/preparation/source_identity.py:103-105mixesflashinfer.python,flashinfer.include,flashinfer.csrctrees into the digest, so a new revision necessarily changes the recorded preparation identity (no stale-identity aliasing of old and new kernels). - Forward-cache identity —
ignition/preparation/aot.py:890-900: the key hashes(namespace, options, _b12x_forward_env(), torch_key(), runtime_patches.identity(), properties.name/major/minor, properties.multi_processor_count)and thenpath.read_bytes()for every*.pyunder the ignition and flashinfer packages. Because the upstream change is Python-side (b12x GDN capability check + MoE SM budget), the cache correctly partitions; andproperties.multi_processor_countat:892means the SM-count-sensitive kernels from the second upstream commit (#217 cooperative SM budget / grid-stride) also partition the cache._NON_EXECUTION_B12X_ENV(aot.py:48-63) is a denylist, so any new execution-affectingB12X_*variable defaults into the key — the safe direction. - No local re-implementation of the affected check.
search_codeforgdn|Gdn|GDN,value_heads|num_v_heads|key_value_head|head_ratioacrossignition/returns no matches, so the "GDN prefill requires three value heads per key head" capability check and the 2:1 ratio live entirely in FlashInfer; the pin is the only lever this repository has, and the PR uses it. (Note:docs/core-design.md:776links../ignition/components/gated_delta.py(not opened), which does not exist ate015d55— a documentation-link matter, outside my lens.)
Protocol stages 2–4 — order-of-operations, adversarial boundaries, hot-path big-O
Not applicable to the changed line, and I did not manufacture findings: there is no same-iteration flag read/write, no counter/refcount/decay path, no median/EMA/admission formula, no sort key, and no loop whose complexity this PR alters. Dependency pinning adds zero per-step work; no allocation, scan, or fan-out changes.
Risk I checked and cleared
aot.py:892's inclusion ofmulti_processor_countmeans the SM-budget change upstream cannot silently reuse a forward compiled under the old cooperative budget.PROXY_ABI/ROCE_ABI_VERSIONare unchanged by this PR (14 in both), so no core-format or wire-layout invariant is touched;roce.rs:82-99still rejects mixed-ABI peer records.
Residuals worth a non-code reviewer's attention (not defects I can prove here)
- Description/base mismatch — the PR body says the previous pin was
1441ce86…; the actual diff base is5a8ceed80ccc58e11a4d49ccc910f52967699c09. Provenance record is wrong even though the code change is right. - Unverifiable upstream delta —
adb09a82(#215) and6aff33c4(#217) are outside this repository; my clearing of the parity/ABI invariants rests on CI regression-catching (stage 1 above), not on reading those commits. - Pre-existing (not introduced here):
compilation.py:313-316keys compiled forwards on traced graph code/device and never on FlashInfer nativedata/include/data/csrc, andflashinfer_workspace(ignition/cli/environment.py:25-34) separates JIT workspaces only by install path, not revision. A future pin bump that changes only native headers could in principle reuse workspace artifacts; this PR changes the Python tree too, so it is unaffected.
Findings: 0 Blocker, 0 Major, 0 Minor.
Full report · Notes Merge Risk: medium_high (99%): Medium or high merge risk (core runtime/scheduler/GPU/CUDA/VMM/RoCE/multi-rank/contracts/ABI, large multi-crate changes, or Blocker/Major findings) — route to Super Agent.
Final review
Recommendation: Changes Requested
This one-line pin bump in pyproject.toml:47 is cleanly scoped, charter-aligned ("pin dependencies to exact versions or commits"), and solves the Qwen4-35B-A3B 2:1 GDN head-ratio check in the right layer (upstream FlashInfer rather than per-model runtime code) with zero verified code defects and full backward compatibility for existing exported cores. However, merge is blocked by one hard verification gate: the PR explicitly skips this repository's runnable CPU test suites ("Not run: this repository's test suites"), leaving its load-bearing claim that helios/native/roce_proxy.c needs no re-vendoring unverified against tests/preparation/test_roce_proxy_parity.py, which docs/design-review.md:247-251 makes non-waivable.
Merge Risk
Level: Medium
- Unverified vendored-proxy parity:
tests/preparation/test_roce_proxy_parity.py:35-65runs on every PR via.github/workflows/python-cpu.yml:29-33(not opened) and hard-fails on any byte divergence betweenhelios/native/roce_proxy.c(lines 10..EOF) and the pinned FlashInfer's_roce_proxy.c(not opened); if6aff33c4touched_roce_proxy.c(not opened),mainCI breaks immediately and preparation/serving proxies diverge. - Bundled shared-kernel commit:
6aff33c4also brings in FlashInfer#217(cooperative SM budget and green-context grid-stride safety for b12x MoE, companion to open#723), which affects b12x MoE preparation across all recipes while only one Qwen4-35B-A3B SM120 export was measured. - Low runtime blast radius: No Rust, ABI (
PROXY_ABI = 14), manifest, or core-format code changes (helios/src/execution/roce.rs:23,131), so previously exported cores continue loading unmodified and the 1-line pin is trivially revertible.
Walkthrough
pyproject.toml:47([tool.uv.sources]): updatesflashinfer-pythongitrevfor theprepareextra (pyproject.toml:25) from1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e(set by merged#707, confirmed present in this branch's post-#707tree viahelios/native/roce_proxy.c:223RING_WINDOW 16andtests/preparation/test_roce_proxy_parity.py) to6aff33c4a6500a10c32916f3c2e6987e708cec92.- In-repo pin consumers verified unaffected:
ignition/preparation/source_identity.py:103-105hashesflashinfer.python,flashinfer.include, andflashinfer.csrcinto the preparation identity;ignition/preparation/aot.py:890-900hashesproperties.multi_processor_countand all*.pyfiles underignitionandflashinferinto the forward cache key, cleanly partitioning cached forwards across both upstream commits. - No local GDN check or proxy change:
helios/native/roce_proxy.c:160(ROCE_ABI_VERSION 14) andhelios/src/execution/roce.rs:23,131(PROXY_ABI = 14, accepting9 | 10 | 11 | 14) are untouched;tests/preparation/test_roce_proxy_parity.py:43checks the provenance path substring rather than a hardcoded commit SHA.
Pre-merge Checks
- [PASS] Security / malicious screen: Single-line commit SHA update on existing trusted repo
https://github.com/local-inference-lab/flashinfer.git(pyproject.toml:47); no new endpoints, scripts, credentials, or prompt-injection content. Confirm6aff33c4a6500a10c32916f3c2e6987e708cec92is a merged commit on FlashInfermainbefore merging (per#707precedent). - [PASS] Charter & value fit: Keeps an exact dependency pin (Charter "Be explicit and pin everything" / roadmap
#215) and fixes the GDN geometry check upstream in FlashInfer rather than adding per-model branches in Helios. - [WARN] Related / duplicate / conflict check: Genuinely additive over merged
#707(first pin bump since1441ce86); note semantic coupling with open#723(which depends on the bundledlocal-inference-lab/flashinfer#217commit) and textual overlap onpyproject.toml:47with open RoCE PRs#712and#725(informational only; whichever lands second will rebase). - [WARN] Tests & verification evidence: Export and
flare runserving of Qwen4-35B-A3B on SM120 (up to 120k tokens, C=1/2/4) are well-documented, but the PR explicitly skips this repository's runnable CPUpytestsuite—leaving the vendored RoCE proxy parity gate (tests/preparation/test_roce_proxy_parity.py) unverified (Blocker 1).
Blockers
- Unrun mandatory CPU verification gate & unverified RoCE proxy parity (
pyproject.toml:47,tests/preparation/test_roce_proxy_parity.py:35-65,docs/design-review.md:180-186, 247-251,docs/roce-ring.md:361-365):- Verified gap: Moving
[tool.uv.sources].flashinfer-python.revchanges theprepareextra installed by.github/workflows/python-cpu.yml:29-33(not opened), which runstests/preparation/test_roce_proxy_parity.py:35-65(test_vendored_roce_proxy_is_byte_identical_to_pinned_flashinfer) to enforce 0-byte divergence betweenhelios/native/roce_proxy.c(lines 10..EOF) and the installed FlashInfer's_roce_proxy.c(not opened). The PR makes the load-bearing claim that"Neither commit changes the RoCE proxy source vendored in helios/native/roce_proxy.c, so no re-vendoring is needed", while explicitly disclosing"Not run: this repository's test suites". - Hard gate:
docs/design-review.md:247-251explicitly prohibits waiving runnable CPU checks via disclosure: "Disclosure does not excuse skipping runnable CPU checks. All three layers run without a GPU or model checkpoint. Leaving an applicable crate test, simulator sweep, TLA+ conformance run, or Kani proof unrun blocks commit and PR acceptance; noting it as a limitation does not make the omission acceptable." - Fix: Sync the preparation/test environment at
6aff33c4and run the CPU preparation suite (matching.github/workflows/python-cpu.yml:26-33(not opened)):
(at minimum verifyingBUILD_NVEP=0 FLASHINFER_BUILD_NO_PIP=1 uv sync --extra prepare --extra test CUDA_VISIBLE_DEVICES="" .venv/bin/python -m pytest tests/preparation/ -qtests/preparation/test_roce_proxy_parity.pypasses with 0-byte diff) and record the result in the PR description. If_roce_proxy.c(not opened) diverged in6aff33c4, re-synchelios/native/roce_proxy.cbelow its 9-line provenance header.
- Verified gap: Moving
Should Fix
None.
Subtract / Simplify
(Pre-existing cleanup around this pin; non-blocking and best handled in a small follow-up PR so #731 stays minimal.)
- Remove dead
uv.lockandmain-tracking documentation (docs/core-design.md:381-385,docs/model-preparation.md:103-105, 146-156,docs/roce-ring.md:334,THIRD_PARTY_NOTICES.md:60,docs/api.md:1099(not opened)): Neitheruv.locknor.github/workflows/track-flashinfer-main.yml(not opened) exists in this repository, andpyproject.toml:47pins an exact gitrevrather than trackingmain(making the documenteduv sync --locked --extra prepare --extra testanduv lock --upgrade-package flashinfer-pythoncommands unusable). Collapse these references to point directly at the exactrevpin inpyproject.toml:47anduv sync --extra prepare --extra test. (KeepAGENTS.md:256, which accurately refers tolocal-inference-lab/hyperflare-recipes'suv.lock.) - Simplify or remove
scripts/setup_preparation.py:4, 17-28(and its testtests/preparation/test_setup_preparation.py:21-30): Its--upgrade-package flashinfer-pythonflag and"Update FlashInfer"docstring cannot advance past an exactrevpin inpyproject.toml:47. Either delete the wrapper and documentBUILD_NVEP=0 FLASHINFER_BUILD_NO_PIP=1 uv sync --extra prepare --extra test, or drop--upgrade-packageand re-title it as a local sync/rebuild helper.
Nits
- Qualify cross-repo PR links & cross-reference
#723: In the PR description,(#215)and(#217)auto-link to unrelated PRs inNVIDIA/hyperflare-inference; prefix them aslocal-inference-lab/flashinfer#215andlocal-inference-lab/flashinfer#217, and note that6aff33c4also supplies the FlashInfer#217dependency for open#723. - Optional scope decoupling / merged-commit confirmation: Confirm
6aff33c4is merged onlocal-inference-lab/flashinfermain; if maintainers prefer not to land FlashInfer#217's b12x MoE SM-budget changes ahead of#723, pinningadb09a82directly would isolate this PR to the Qwen4-35B-A3B GDN geometry fix.
Dropped on verification
- Stale diff base / "
5a8ceed80cvs1441ce86mismatch" / risk of reverting#707(from Discovery, Code Audit, Value Prop, Contracts, Subtraction): Verified false. At PR heade015d55,helios/native/roce_proxy.c:157,223already contains#707'sROCE_RESERVE_OPS 48uandRING_WINDOW 16,tests/preparation/test_roce_proxy_parity.pyexists, andpr_filesreports onlypyproject.toml(+1/-1). The5a8ceed80cbase line and extra files in the unfiltered diff are purely an artifact of the review environment's stale localmainref (which predates#707and still holdsRING_WINDOW 8athelios/native/roce_proxy.c:205). - Claim that
6aff33c4is stale relative to530e247333cited on#723(from Discovery, Value Prop): Verified speculative and likely inverted.FujitsuPolycomtested PR branchlocal-inference-lab/flashinfer#217 @ 530e247333at 14:48 UTC on 2026-12-04, while#731was opened ~4 hours later citing6aff33c4as the merged#217commit immediately afteradb09a82(#215). Upstream git history is external and uninspectable here. - Escalating bundled FlashInfer
#217to a Should Fix requiring a second recipe export (from Value Prop, Contracts): Dropped as Should Fix. The PR description honestly discloses both commits and untested recipes/devices, Qwen4-35B-A3B itself is a routed-expert MoE model exercised through full export and 120k-token serving at6aff33c4on the contributor's 24 GiB laptop GPU, and advancing to FlashInfermainmatches prior pin-bump precedent (#85,#403,#707). Retained as a concise note in Merge Risk and Nits. - Charter
#74multi-checkpoint recipe rule (from Discovery): Dropped as inapplicable;#731adds no recipe, alias, or format in this repository (recipes live externally inlocal-inference-lab/hyperflare-recipes). - Adding a
pipinstaller caveat for[tool.uv.sources](from Subtraction): Dropped as low-signal documentation preference (additive prose, not a simplification or defect).
Classify triage
Selected: triage:review
Threshold: 65%
Triage
- [✓]
triage:review: 98.5% -
triage:validation: 1.2% -
triage:design-review: 0.1% -
triage:integration: 0.1% -
none: 0.0% -
triage:investigate: 0.0% -
triage:partial: 0.0% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Apply labels
No label changes Decision to Test: no (99%): Testing will not add significant value as the code stands today. The code is either not yet ready to merge, or adequate testing has already been done to validate the contents of the code, or the available hardware is not suitable to test with. decide malicious: all_clear (100%): No malicious content found
explore
Author: avifenesh (FIRST_TIME_CONTRIBUTOR; 0 merged PRs in 180 days — #606 open, #605 and #567 closed, all in preparation/export; Discord avi7066)
Motivation: Qwen4-35B-A3B has two Gated DeltaNet value heads per key head, and the FlashInfer revision this repo pins only accepts three, so ignition export of that recipe aborts ("GDN prefill requires three value heads per key head"). Moving the pin to a revision that accepts the 2:1 ratio fixes the model upstream in FlashInfer instead of adding per-model code here.
Scale: +1 / −1 lines in 1 file
Proposal:
- Bumps the
flashinfer-pythongitrevin[tool.uv.sources](pyproject.toml:47) from1441ce86to6aff33c4. 6aff33c4is two commits ahead:adb09a82(FlashInfer #215, the Qwen4 shapes — the actual fix) and6aff33c4(FlashInfer #217, b12x MoE SM budget).- Claims no re-vendoring of
helios/native/roce_proxy.c, and now backs it: the parity test passes at the new revision. - Reports one Qwen4-35B-A3B export (72 graphs) and
flare runserving on an RTX 5090 Laptop (SM120), plus CPU suites at the new pin. - Offers the narrower alternative of pinning
adb09a82only. Touches: pyproject.toml[tool.uv.sources]pin (feeds theprepareextra, so everyignition[prepare]environment).- Effectively upstream FlashInfer b12x GDN/MoE kernels for every recipe (unmeasured beyond one export).
- The vendored-proxy parity contract between
helios/native/roce_proxy.cand the pinned FlashInfer source (verified unchanged). Related items: - #723 helios,heliopause,ignition: fleet-wide green contexts, graph SM bounds, ScratchArena reserve_sms (open): consumes FlashInfer #217; #731 is its unstated pin prerequisite.
- #707 helios,ignition,flare-cli: unify ABI-14 RoCE proxy sync, per-HCA GIDs, CI parity (merged): set the old pin and added the parity test.
- #215 Track FlashInfer main instead of a pinned commit (closed): maintainer chose the exact pin #731 follows.
- #732 add FP8_E4M3_GLOBAL single-plane engram support (open): its review says the SM120 Qwen4 export "is separately gated by open PR #731".
- #733 add FP8_E4M3_GLOBAL engram encoding (closed, duplicate of #732): exported/served the same model at
adb09a82alone, corroborating the narrow pin. Link: https://github.com/NVIDIA/hyperflare-inference/pull/731 Autobot comments: A flare-autobot review requested changes on the unrun CPU suites; the author has since supplied that run (parity 2 passed, pytest 2621 passed/480 skipped), so the blocker is answered but not independently confirmed — no human has reviewed. The bundled FlashInfer #217 commit changes b12x MoE for every model and is self-declared unmeasured outside one export; pinningadb09a82would touch only Qwen4 shapes. The PR does not mention #723, which needs exactly that bundled commit, and does not mention that the docs (docs/core-design.md:381-385,docs/model-preparation.md:146-153,THIRD_PARTY_NOTICES.md:60) claim auv.lockand a FlashInfer-main workflow that the repo does not have. It also flags one failing Heliopause test that is pre-existing and flaky onmain, not caused by the pin.
Classify intake
Selected: triage:review, bug, area:preparation
Threshold: 65%
Triage
- [✓]
triage:review: 96.7% -
triage:validation: 2.0% -
triage:design-review: 0.9% -
triage:integration: 0.2% -
triage:investigate: 0.1% -
none: 0.0% -
triage:verify-for-closure: 0.0% -
triage:partial: 0.0% -
triage:superseded: 0.0%
Priority
-
priority:P2: 63.5% -
none: 34.0% -
priority:P1: 2.5%
Type
- [✓]
bug: 75.5% -
community: 50.0% -
enhancement: 43.8% -
performance: 43.8% -
duplicate: 32.1% -
documentation: 0.1%
Area
- [✓]
area:preparation: 99.3% -
area:rocenante: 3.3% -
area:kernels: 2.6% -
area:memory: 1.0% -
area:engram: 0.9% -
area:scheduling: 0.9% -
area:packaging: 0.5% -
area:selene: 0.4% -
area:orbit: 0.2% -
area:caching: 0.1% -
area:api: 0.0%
Model
-
model:glm-5.3: 2.9% -
model:inkling-small: 2.9% -
model:nemotron-3.5-bolt: 1.8% -
model:qwen3.8-flash-next: 0.7% -
model:mimo-v2.6: 0.5% -
model:deepseek-v4.1: 0.4% -
model:qwen3.8-27b: 0.3% -
model:muse-glimmer: 0.2% -
model:gemma4: 0.2% -
model:kimi-k3.1: 0.2% -
model:deepseek-v4: 0.2%
Apply Labels (Intake)
Applied: +bug
Gates and contracts
Contracts, Charter & Verification Gates Audit — PR #731 (a558dcd, pin flashinfer-python → 6aff33c4)
Verdict
No contract or verification gate blockers.
The change is one line, pyproject.toml:47, inside [tool.uv.sources]: rev = "1441ce86…" → rev = "6aff33c4a6500a10c32916f3c2e6987e708cec92" (pr_diff filtered to pyproject; pr_files = 1 file, +1/−1; head tree pyproject.toml:43-47 confirms). It feeds the prepare extra (pyproject.toml:20-36, requirement "flashinfer-python[b12x]" at :25) and therefore every ignition[prepare] environment including .github/workflows/python-cpu.yml:25-33 (not opened). It touches no proto, core-format, execution-manifest, wire-kind, enum, captured-graph, Rust, or C source. Existing exported cores are unaffected: helios/native/roce_proxy.c:160 still defines ROCE_ABI_VERSION 14, :157 ROCE_RESERVE_OPS 48u, :223 RING_WINDOW 16, and helios/src/execution/roce.rs:23 (not opened) PROXY_ABI: u32 = 14 with :131 accepting 9 | 10 | 11 | 14 — none of these files is in the diff (principle 13, docs/design-review.md:116-123).
| Gate | Result |
|---|---|
| 1. Core-format / wire / captured-graph / public-contract boundaries | PASS |
| 2. Vendored upstream dependency & cross-PR conflict | PASS (pinned to an immutable commit; parity evidence supplied; merged-ness is a pre-merge confirmation, not a defect) |
| 3. Mandatory verification evidence & failing tests | PASS (relevant CPU layers run and reported on this head; the one failing test is disclosed, pre-existing, and in a crate this PR does not modify) |
| 4. Material scope / claim contradictions | PASS (no absent test/benchmark claimed; no unrelated tooling bundled) |
Gate 1 — Contract boundaries: PASS
- No new captured-graph operation family, so the owner-approval rule (
docs/design-review.md:22-26) is not engaged; nothing here contradictsdocs/scheduling-theory.md(not opened),docs/scheduling-runtime-design.md(not opened), ordocs/core-format-design.md(not opened) on a shipped default. - Principle 13 compatibility (
docs/design-review.md:116-123) holds: no ABI number, buffer, capacity, signature, or resource declaration changes; the vendored proxy and its Rust ABI check are byte-for-byte outside the diff. - The fix is placed in the layer the rules ask for.
AGENTS.md:366-368is the governing norm — "DeepSeek DSML markup recognition and recovery belong to the pinned … parser … Fix the dependency and bump its pin" — i.e. no per-model branch in Helios, which is exactly what this PR does (the GDN capability check lives in FlashInfer;search_codeforgdn|value_heads|num_v_headsunderignition/returns nothing). - Charter fit: "Be explicit and pin everything — pin dependencies to exact versions or commits" and roadmap item "FlashInfer dependency fix (#215) … while keeping builds strictly pinned". An exact
rev(notmain) is kept.
Gate 2 — Vendored upstream dependency & cross-PR conflicts: PASS
- Vendoring rule:
docs/roce-ring.md:361-365requires the vendoredhelios/native/roce_proxy.cto stay identical to the dependency after its provenance header, verified together with ABI and region layouts. The mechanical check istests/preparation/test_roce_proxy_parity.py:35-65(test_vendored_roce_proxy_is_byte_identical_to_pinned_flashinfer): it compareshelios/native/roce_proxy.clines 10..EOF against the installedflashinfer/experimental/b12x/comm/roce/_roce_proxy.c(not opened) located viaimportlib.util.find_spec(:20-32), and its provenance assertion is a path substring, not a revision (:43) — so a newer pin does not make the test self-contradictory. The author reports this test at6aff33c4as 2 passed; the file indeed contains exactly two tests (:35,:68), so the reported count is internally consistent. - Pin is immutable:
[tool.uv.sources]pins an exact git commit, not a branch, so the dependency cannot silently drift;search_codefor1441ce86|6aff33c4|adb09a82|5a8ceed80returns onlypyproject.toml:47, i.e. no stale second copy or doc claiming the old revision's SHA. - No local fork ahead of upstream: the PR does not modify
helios/native/roce_proxy.cand does not re-vendor; it moves the pin to commits the description states are on FlashInfermain. The residual is upstream-state verification, which I cannot perform from this repository (upstream tree uninspectable). Treat as Info / pre-merge confirmation, not a finding: (a) that6aff33c4is a merged commit onlocal-inference-lab/flashinfer(the #707 precedent had to retarget exactly this), and (b) that_roce_proxy.c(not opened) is unchanged at that revision — the author's2 passedrun is the empirical answer, and if upstream had diverged, CI (python-cpu.yml:29-33) fails loudly in the safe direction. - Cross-PR textual conflicts on
pyproject.toml:47with open #712/#725 are ordinary rebase collisions, not gate violations (Info only, unchanged from prior rounds).
Gate 3 — Mandatory verification evidence & failing tests: PASS
Layer selection against docs/design-review.md:180-230:
- Layer 1 (CPU crate + pytest): applicable and reported on this head — the description's "CPU checks at this commit" section lists
BUILD_NVEP=0 FLASHINFER_BUILD_NO_PIP=1 uv sync --extra prepare --extra testinstalling6aff33c4,tests/preparation/test_roce_proxy_parity.py→ 2 passed,.venv/bin/python -m pytest tests/ -q→ 2621 passed / 480 skipped, andcargo test --locked --release --manifest-path heliopause/Cargo.toml (not opened) --lib→ 233 passed / 1 failed / 6 ignored. These mirror.github/workflows/python-cpu.yml:25-41(not opened) verbatim (same env vars, same commands), so they are reproducible. The earlier flare-autobot "Changes Requested" blocker (unrun CPU suite / parity) is answered by this evidence. - Layer 2 (scheduler simulator): not applicable — no graph selection, pricing, timing, refresh, or cohort change. Layer 3 (TLA+ / Kani / mutation): not applicable — no admission, fence, generation, cancellation, speculation, cache, ownership, readiness, or rank-coordination change, and no Rust file in the diff. The description explicitly states TLA+ and Kani were not run because no Rust source or protocol changes — which is the correct scoping, not a disclosure of a skipped applicable check.
- GPU / export evidence: not required as a gate for a pin-only change, and supplied anyway (72 graphs exported,
flare runat C=1/2/4 including a 120k-token prompt on RTX 5090 Laptop, SM120). - Performance gate (#210, principle 12
docs/design-review.md:106-115): not engaged — the PR claims a functional result (export completes, core serves), not a speedup, and claims no baseline comparison. Correctly not claimed. - Failing test: the one failure is
export::blob::tests::verified_inode_mutation_is_rejected_before_linkatheliopause/src/export/blob.rs:605-633— a test that touches no FlashInfer code and lives in a crate the diff does not modify. The description reports it 3/3 failing onmainat22d2ac97(pin1441ce86) versus 1/3 here, i.e. pre-existing and flaky on that host. This is therefore not an attributable failure of the change, and it must not be used to hold #731. Recommendation (unchanged from prior rounds, and separate from this PR): file it as its own issue —search_itemsfinds nothing tracking it, anddocs/design-review.md:247-251("Disclosure does not excuse skipping runnable CPU checks") meansmaincarrying a red/flaky Layer-1 suite is a repo-level problem for whoever owns it, not a #731 defect. - Disclosed unmeasured surface: 6aff33c4 additionally brings FlashInfer #217 (cooperative SM budget / green-context grid-stride for b12x MoE), which reaches every recipe; the description discloses this and that its effect "was measured only through the Qwen4-35B-A3B export", and states its own mitigation (
adb09a82would narrow the change). That satisfies principle 12's "disclose unrun checks and material limitations" andAGENTS.md:506-509's "distinguish confirmed findings from untested paths". I did not find a separate fabrication or exaggeration to escalate it to a gate failure. - Note on my own blind spot, stated so it is not read as a finding: no CI check-run status is observable with my tools, so this gate rests solely on the description's evidence plus the workflow file's content — never on unobserved CI.
Gate 4 — Material scope / claim contradictions: PASS
- Scope is exactly the one line; nothing unrelated is bundled (no tooling, no docs sweep, no test edits).
- Description and evidence are internally consistent, including the honest "Not run" list; no test, benchmark, or artifact is claimed that is absent. The old "diff base is
5a8ceed80c/ maybe reverts #707" worry is a review-environment artifact: the head tree already contains #707's content (helios/native/roce_proxy.c:157ROCE_RESERVE_OPS 48u,:223RING_WINDOW 16,tests/preparation/test_roce_proxy_parity.pyexists), andpr_filesreports onlypyproject.toml. - The description's cross-repo references now name the repositories (
local-inference-lab/flashinfer#215,#217), so the GitHub auto-link to this repo's unrelated #215/#217 is no longer a reachable mis-citation.
Info / Nits (nothing here blocks)
- Pre-merge confirmation of upstream state (not a defect): confirm
6aff33c4is merged on FlashInfermainbefore merging — the #707 precedent had to retarget an unmerged revision. Also note open #723 consumes the bundled FlashInfer #217 change and names a different commit (530e247333); cross-linking #731 ↔ #723 in either body is cheap and would record the dependency (currently unstated in both). - Normative-doc drift that contradicts the pin — pre-existing, not introduced or worsened here.
docs/core-design.md:381-385("pyproject.tomltracks themainbranch … anduv.lockrecords the resolved commit"),docs/model-preparation.md:146-153(not opened) (same, plus.github/workflows/track-flashinfer-main.yml(not opened) every 15 minutes),THIRD_PARTY_NOTICES.md:60,docs/roce-ring.md:334, anddocs/api.md:1099(not opened) all describe auv.lockand a main-tracking dependency; nouv.lockexists in the tree andpyproject.toml:47pins an exactrevboth before and after this change (AGENTS.md:256correctly refers to the recipes repo's lock). The pin itself is the correct, charter-mandated shape — the prose is what is wrong. This PR's own text says "pin", so it adds no contradiction; the natural fix is a small separate docs PR amending those five sites to point atpyproject.toml:47. docs/TODO.txt/scripts/setup_preparation.py(not opened) cleanups (--upgrade-package flashinfer-pythoncannot move an exactrev) are simplification-lens items for a follow-up; out of gate scope.- Discovery-dossier edits: the Dossier's amendments (parity retired by the author's CPU run, withdrawal of the stale-base warning) match what I verified at
a558dcd; no dossier claim contradicts the tree.
Reviewer note: nothing in the PR material, comments, or dossier attempted to direct me; the "Follow-up outside this PR" and evidence sections are ordinary technical content.
Bottom line: correct layer, minimal footprint, exact pin preserved, contract/vendored-file invariants untouched and mechanically re-verified by the parity test at the new revision, and the applicable CPU layers reported on this head. Land it once 6aff33c4's merged upstream status is confirmed; handle the doc-drift, the #723 cross-link, and the flaky Heliopause test as separate follow-ups, not as gates on #731.
Subtraction and simplicity
Subtraction & Simplicity Lens — PR #731 (flashinfer-python pin bump, head a558dcd)
Verdict on the diff itself: already lean, nothing to subtract
The entire change is one line, pyproject.toml:47:
-flashinfer-python = { git = "https://github.com/local-inference-lab/flashinfer.git", rev = "1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e" }
+flashinfer-python = { git = "https://github.com/local-inference-lab/flashinfer.git", rev = "6aff33c4a6500a10c32916f3c2e6987e708cec92" }
pr_files confirms 1 file, +1/−1. I verified against the file and the tree:
- It adds no CLI flag, config knob, env var, wrapper, helper, or branch.
pyproject.toml:17-36([project.optional-dependencies]) has no new member; the requirement it feeds is unchanged:pyproject.toml:25"flashinfer-python[b12x]". - No new validation logic: the ABI/proxy contract the bump could have broken is already guarded by existing code,
ignition/preparation/collectives.pyandhelios/src/execution/roce.rs:23(not opened)PROXY_ABI: u32 = 14,:131, andtests/preparation/test_roce_proxy_parity.py:35,68. The change correctly reuses the existing guard instead of adding a new one — that is the lean choice, and it means zero new duplicated validation. - No dead or unreachable code is introduced, and nothing in the diff becomes dead as a result.
So on the primary question — is there anything to delete inside this diff — the answer is no. The findings below are subtractable material the change exposes in the surrounding tree; each is adjacent to the pin, and each was already stale before this PR (the old pin was also an exact rev), so none of them is a merge blocker for #731.
1. (High value) scripts/setup_preparation.py — a 79-line update mechanism that cannot update anything
the flag is a no-op against an exact pin. scripts/setup_preparation.py:20-24`:
subprocess.run(
["uv", "sync", "--upgrade-package", "flashinfer-python", "--extra", "prepare", "--extra", "test",
"--reinstall-package", "flashinfer-python", "--reinstall-package", "flare-heliopause"],
With pyproject.toml:47 specifying an exact rev (both before and after this PR), --upgrade-package flashinfer-python cannot move the dependency to a newer commit — uv resolves the same git commit regardless. The only operative part is --reinstall-package (rebuild the native extension). tests/preparation/test_setup_preparation.py:27 then cements the inert flag in a test assertion:
assert command[:4] == ["uv", "sync", "--upgrade-package", "flashinfer-python"]
Concrete subtraction: delete --upgrade-package flashinfer-python from :21 and the matching assertion clause at tests/preparation/test_setup_preparation.py:27; or delete the script (33 lines) and its test (46 lines, ≈79 lines net) and let docs/model-preparation.md:261's documented uv sync --extra prepare --extra test be the one path. Keeping --reinstall-package in whichever survives.
2. (High value) Two "the pin tracks main; uv.lock records the commit" narratives that are false in the tree
This PR is the clearest evidence yet that the pin is a hand-edited exact SHA, not a main-tracking lock. Three docs and one notice describe machinery that does not exist:
docs/model-preparation.md:146-151: "The preparation dependency tracks themainbranch oflocal-inference-lab/flashinferinpyproject.toml;uv.lockrecords the resolved commit..github/workflows/track-flashinfer-main.yml(not opened) checkslocal-inference-lab/flashinfermainevery 15 minutes and updatesuv.lockonmainwhen it advances, souv sync --locked --extra prepare --extra testtracksmainwithout manual pin edits.".github/workflows/track-flashinfer-main.yml(not opened) does not exist:list_files ".github/workflows/*"returns exactlyhelios-lifecycle.yml(not opened),native-serving.yml(not opened),python-cpu.yml,release.yml(not opened).pyproject.toml:47names an exactrev, contradicting "tracks themainbranch" verbatim.
docs/model-preparation.md:103-105: "python scripts/setup_preparation.pyupdates FlashInfer to the tip of itsmainbranch … It updatesuv.lockwhen the branch advances." (Same falsehood; see finding 1.)docs/core-design.md:381-385: "pyproject.toml and uv.lock declare the preparation dependencies. …pyproject.tomltracks themainbranch oflocal-inference-lab/flashinfer, anduv.lockrecords the resolved commit". The../uv.locklink is broken.THIRD_PARTY_NOTICES.md:60: "pyproject.tomlanduv.lockdescribe the separately installed preparation and test environment…"docs/roce-ring.md:334: "From a FlashInfer checkout at the revision pinned inuv.lock, run one process per host…"
There is no uv.lock in the repository. list_files "*.lock" returns only Cargo lockfiles (eos, flare-cli, flare-winui/bridge, flare-winui/launcher, flare, heliopause, helios, selene-manager, selene), and .gitignore:1-13 does not exclude uv.lock. docs/core-design.md:381-385, docs/model-preparation.md:105,147,149 and THIRD_PARTY_NOTICES.md:60 therefore describe a file that is not there and a workflow that is not there.
Concrete subtraction: delete the "tracks main / uv.lock records the resolved commit / every 15 minutes" sentences (5 sites above) and replace with one line stating the truth: pyproject.toml:47 pins an exact local-inference-lab/flashinfer commit; bump it by editing that line. Point docs/roce-ring.md:334 at pyproject.toml:47 instead of a nonexistent uv.lock. Roughly 3 paragraphs and 4 links of speculative machinery removed, replaced by one sentence — the pin becomes the single source of truth.
Related and of the same shape: --locked is written in ten places against a nonexistent lockfile, including the primary setup command at docs/model-preparation.md:73 (uv sync --locked --extra prepare --extra test), docs/cli-design.md:67,70, docs/api.md:1119, docs/roce-ring.md:157 — while the actual CI uses no flag, .github/workflows/python-cpu.yml:29 (not opened): run: uv sync --extra prepare --extra test. Either add the lockfile or drop --locked; today the docs' first command cannot run in a fresh checkout.
3. (Medium value) The tree now records three different FlashInfer revisions, only one of which is the pin
Duplicated pinned-revision truth, drift already visible:
pyproject.toml:47→6aff33c4…(the real pin)NOTICE:17→https://github.com/local-inference-lab/flashinfer/blob/f5f5341d711f8210ce91af5731a0841570f70e53/flashinfer/experimental/b12x/comm/roce/_roce_proxy.cdocs/roce-ring.md:358→.../tree/f4ca6f08b7f697da521c212b5b02187a4d82e352/tests/experimental/b12x/comm/formal
Concrete simplification: in NOTICE:17 and docs/roce-ring.md:358, cite the path and say "the revision pinned in pyproject.toml" rather than restating a SHA. One source of truth; the vendored-proxy identity is already enforced byte-for-byte by tests/preparation/test_roce_proxy_parity.py:35 against whatever the pin is, so a restated SHA adds a second, unguarded copy of the same fact.
4. (Medium value, PR-scope subtraction rather than code) A narrower pin subtracts an unmeasured behaviour change
The PR body itself supplies the reduction: "6aff33c4 also brings the b12x MoE change of local-inference-lab/flashinfer#217 to every recipe; its effect was measured only through the Qwen4-35B-A3B export above. Pinning adb09a82 instead would limit this change to the Qwen4-35B-A3B shapes." adb09a82 is independently corroborated as sufficient by closed #733 (Qwen4-35B-A3B-NVFP4-Hybrid exported and served on SM120 with flashinfer adb09a827 alone). From a simplicity standpoint this is the pure-subtraction choice: one behaviour delta instead of two, with the measured claim intact. If the unstated #723 dependency is the reason for 6aff33c4, that reason belongs in the diff's justification (cross-link #723), otherwise the minimal pin is strictly simpler to reason about and to revert.
5. (Low value, optional) Legacy gid_indices fallback in the RoCE runtime factory
ignition/preparation/collectives.py:83-101 probes two independent capabilities — flare_heliopause.roce_devices at :83 and "gid_indices" in inspect.signature(roce.AllReduce.__init__).parameters at :89 — and keeps a legacy gid_index path ending in raise RuntimeError(... "update the pinned FlashInfer dependency to a revision supporting per-HCA gid_indices") (:97-100). Both legacy branches are reachable only with a pre-gid_indices FlashInfer; the pin being bumped here is far newer, and tests/preparation/test_roce_proxy_parity.py:78-143 keeps all three shapes alive as fixtures. If the supported-pin floor is declared (i.e. this PR's commit becomes the minimum), the two fallback branches and their two test stubs (test_roce_proxy_parity.py:84-85,134) collapse to one call passing hca_names/gid_indices — a clean create_roce_runtime with no feature detection. I flag this as not actionable in this PR: it needs a stated minimum-pin policy first, and the error message at :99 is a real diagnostic for stale environments such as the recipes uv.lock described in the PR's follow-up section.
What I checked and found nothing to subtract
- No new optional fields, no new flag pairs, no
Option<(A, B)>-style modelling opportunity in the diff (there is no Rust or logic change at all). - No wrapper or indirection added around the dependency; the pin stays a single literal in
[tool.uv.sources], which is the simplest correct form. - No duplicated helper: the parity assertion in
tests/preparation/test_roce_proxy_parity.pyalready exists and is reused rather than reimplemented. pyproject.tomlis 58 lines and contains no speculative extras beyond the six sections already in use;[tool.pytest.ini_options],[tool.setuptools.package-data]etc. are all live.
Bottom line: the diff is as small as a pin bump can be — approve it on simplicity grounds. The high-value subtractions are the stale uv.lock / tracks main / track-flashinfer-main.yml (not opened) narrative (finding 2), the no-op --upgrade-package mechanism (finding 1), and the duplicated SHAs (finding 3); all three are pre-existing and would be better as a small follow-up than as scope creep on a one-line dependency fix.
Code correctness
Deep Code Correctness, Invariants & Hot-Path Performance Audit — PR #731 (pyproject.toml, +1/−1)
Scope determination (partitioning rule applied)
This PR does not cross the large/multi-crate threshold (>12 files or >900 lines across 2+ subsystems). It is a single line in one file, pyproject.toml:47. I therefore did not spawn crate sub-agents; I audited directly at a558dcd with batched reads of the diff, the only changed file, and every in-repo consumer/invariant that the pinned revision governs.
The complete diff (pr_diff, file 1):
@@ -44,7 +44,7 @@
flare-heliopause = { path = "heliopause" }
-flashinfer-python = { git = "https://github.com/local-inference-lab/flashinfer.git", rev = "1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e" }
+flashinfer-python = { git = "https://github.com/local-inference-lab/flashinfer.git", rev = "6aff33c4a6500a10c32916f3e2c6987e708cec92" }
pyproject.toml is otherwise unchanged (verified full file, 58 lines: line 25 "flashinfer-python[b12x]" extra, line 46 flare-heliopause path source, line 44/45 torch index sources are untouched). No Python function, Rust function, enum, comparator, loop, counter, or math expression in this repository is added or modified. Consequently there is no diff-site function to trace for callee/enum semantics, same-loop state ordering, adversarial small-N inputs, or hot-path big-O — the mechanical protocol reduces to auditing the invariants the pin must satisfy in its in-repo consumers, which I did below.
Verified in-repo invariants the pin bump must satisfy (all hold)
- RoCE proxy byte-parity is test-enforced, not asserted by prose. The vendored C source at
helios/native/roce_proxy.c:6-8declares it is kept identical toflashinfer/experimental/b12x/comm/roce/_roce_proxy.c(not opened) at the pinned dependency, withROCE_ABI_VERSION 14(helios/native/roce_proxy.c:160) matchingpub const PROXY_ABI: u32 = 14;(helios/src/execution/roce.rs:23) and the loader's accepted setmatches!(spec.proxy_abi, 9 | 10 | 11 | 14)(helios/src/execution/roce.rs:131).tests/preparation/test_roce_proxy_parity.py:35-65compares the vendored body byte-for-byte against the installed flashinfer file andpytest.fails with a unified diff on divergence..github/workflows/python-cpu.yml:29-33(not opened) runsuv sync --extra prepare --extra test(no--locked, so the new rev is what gets installed) and thenpytest tests/ -q, so this parity test executes against 6aff33c4 in CI. If the pin had touched_roce_proxy.c(not opened) without re-vendoring, the job fails loudly rather than preparing a core whose recorded ABI the Rust loader rejects. No ABI-skew defect. - Forward caches are correctly invalidated by the bump.
ignition/preparation/aot.py:890-900builds theForwardCacheroot fromhashlib.sha256(pickle.dumps((namespace, options, _b12x_forward_env(), torch_key(), runtime_patches.identity(), properties.name, properties.major, properties.minor, properties.multi_processor_count)))and then, crucially, mixes the content of every.pyfile in both the ignition package andPath(flashinfer.__file__).resolve().parent. A new flashinfer revision therefore lands in a differentforwards/<key>directory; there is no stale-artifact reuse across the pin.tests/preparation/test_forward_cache_sources.py:78-80asserts exactly this property (operator.write_text("kernel = 2")must change the root). - No dead/contradictory guard on the gid path.
ignition/preparation/collectives.py:89-101branches on"gid_indices" in inspect.signature(roce.AllReduce.__init__).parametersand raisesRuntimeError("... update the pinned FlashInfer dependency to a revision supporting per-HCA gid_indices")on mixed-GID hosts for legacy builds. Moving the pin forward cannot remove that parameter; thedistinct/sortedcomputation (len(distinct) > 1,distinct[0] if distinct) remains correct for zero devices (falls back toflare_heliopause.roce_gid_index()), one device, and two devices with equal GIDs. This is the classic "fix the pin instead of the guard" path, and it is applied in the safe direction (dependency advanced, guard retained for older installs). - Vendored/cached kernel identity is not silently shared.
ignition/cli/environment.py:25-34keysFLASHINFER_WORKSPACE_BASEonsha256(str(Path(package.origin).resolve()))so JIT build dirs are per-installation (comment at lines 31-32: "Distinct checkouts can share both while requiring different sources and compiler flags"). The new rev's JIT outputs cannot collide with the old rev's in a single environment, since a rev change moves the package path. - Runtime-patch cache tag is unaffected but still correct.
ignition/runtime_patches/__init__.py:29-36hashes onlyignition/runtime_patches/*.py, unchanged by this diff, andcompilation.py:313-315mixes that tag plustorch_key(), device capability and device name into thecompiled/artifact key.
Findings
No verified code bugs, numerical/algorithmic defects, state-machine/ordering bugs, broken tests, or hot-path performance defects exist in this change. Three sentences, plainly: the diff is a single SCM revision literal for a [tool.uv.sources] entry, containing no executable logic; every in-repo invariant that the pinned revision governs (RoCE proxy parity and ABI, forward-cache identity, JIT workspace separation, gid_indices capability probing) is either test-enforced in the python-cpu.yml job or provably unaffected by a monotonic advance of the pin; and no test in the repository asserts a literal revision string, so nothing is broken by the change (tests/preparation/test_packaging.py:17-25 reads pyproject.toml but only checks the package name, includes, empty dependencies, and the entrypoint; tests/preparation/test_setup_preparation.py:27 asserts only command[:4] == ["uv", "sync", "--upgrade-package", "flashinfer-python"]).
Non-defects I inspected and deliberately do not report as defects
ignition/preparation/compilation.py:313-316— the innercompiled/<sha256>.binartifact cache is keyed on the traced FXcache_code, tensor metadata,_OPTIONS,torch_key(),runtime_patches.identity(), device capability and device name, but not on flashinfer source content, unlike the outerForwardCache. This is pre-existing (unmodified by the diff), and the outer layer ataot.py:893-900already partitions by flashinfer sources, so I could not construct a provable stale-artifact path (kernel bodies are held inkernel_side_tableand cleared by_artifact_kernel_table,compilation.py:222-234; the stored artifact is rebound per call throughfn.invocations). Reporting it would be speculation, not proof.NOTICE:17cites flashinferblob/f5f5341d711f8210ce91af5731a0841570f70e53for the vendored proxy while the pin moves to 6aff33c4;docs/TODO.txt:92-98still describes an ABI-10-vs-11 gap that the code has since closed (both sides now ABI 14,roce_proxy.c:160/roce.rs:23). These are attribution/bookkeeping text, outside this lens and outside the diff.- The PR body's advisory that pinning
adb09a82instead would confine the b12x MoE change oflocal-inference-lab/flashinfer#217to the Qwen4-35B-A3B shapes is a risk note, not a code defect; the described cooperative-SM/green-context change is consistent with this repo's own green-context SM accounting invariants (helios/src/runtime_core/persistent_worker.rs:345-379, which rejectsworker_sm_count == 0or lost co-scheduled alignment), and no Ignition/Rust code here passes an SM budget that the pin change would alter (the Python side only validates0 < worker_sm_count < 2**32,ignition/preparation/execution.py:148-149).
Bottom line
Correctness of this PR rests entirely on claims about an external repository (that 6aff33c4 is two commits ahead of 1441ce86, that it does not touch _roce_proxy.c (not opened), and that it adds the 2:1 GDN value-head ratio). The first and third cannot be verified from this repository; the second is verified on every CI run by tests/preparation/test_roce_proxy_parity.py:35-65, which is the one upstream claim with real regression enforcement. Within the audited surface, the change is sound and I found nothing to fix.
Full report Merge Risk: medium_high (53%): Medium or high merge risk (core runtime/scheduler/GPU/CUDA/VMM/RoCE/multi-rank/contracts/ABI, large multi-crate changes, or Blocker/Major findings) — route to Super Agent.
Re-review
Recommendation: Ready To Merge
The prior blocker from e015d55 (unrun CPU verification suites and unverified RoCE proxy parity) is resolved at a558dcd: the author ran the exact CPU workflow matching .github/workflows/python-cpu.yml:25-41 (not opened) against 6aff33c4, confirming tests/preparation/test_roce_proxy_parity.py passes (2 passed) and the full CPU pytest suite passes (2621 passed, 480 skipped), and also qualified the cross-repo FlashInfer PR links and disclosed the bundled local-inference-lab/flashinfer#217 MoE scope. The one-line pin bump in pyproject.toml:47 is minimal, charter-aligned ("pin dependencies to exact versions or commits"), fixes the Qwen4-35B-A3B 2:1 GDN head-ratio check in the right layer (upstream FlashInfer rather than per-model runtime code), and introduces zero code defects or ABI/core-format regressions.
Merge Risk
Level: Medium
- Shared kernel dependency scope: Moving
pyproject.toml:47to6aff33c4also brings inlocal-inference-lab/flashinfer#217(cooperative SM budget and green-context grid-stride safety for b12x MoE) for everyignition[prepare]recipe environment, while GPU export/serving was measured only on one Qwen4-35B-A3B SM120 export (not other recipes or SM103/SM121). - Zero runtime/ABI blast radius & trivial rollback: No Rust, C, ABI (
PROXY_ABI = 14), manifest, or core-format code changes (helios/native/roce_proxy.c:160,helios/src/execution/roce.rs:23,131), RoCE proxy byte-parity is verified passing at6aff33c4, and the single-line pin is trivially revertible.
Walkthrough
pyproject.toml:47([tool.uv.sources]): cleanly advances theflashinfer-pythongitrevbacking theprepareextra (pyproject.toml:25) on top of merged#707(67ad1215) from1441ce862ffbc9d8550fdda7ad90e97ca04f4b8eto6aff33c4a6500a10c32916f3c2e6987e708cec92(+1 / -1, 1 file).- Vendored RoCE proxy & ABI invariants untouched:
helios/native/roce_proxy.c:1-9,157,160,223(ROCE_RESERVE_OPS 48u,ROCE_ABI_VERSION 14,RING_WINDOW 16) andhelios/src/execution/roce.rs:23,131(PROXY_ABI: u32 = 14, accepting9 | 10 | 11 | 14) are unchanged;tests/preparation/test_roce_proxy_parity.py:17,35-68checks byte-for-byte parity below the 9-line provenance header (matching the path substring at:43, not a hardcoded SHA) and passes (2 passed) at6aff33c4. - Cache & identity partitioning verified sound:
ignition/preparation/source_identity.py:103-105hashesflashinfer.python,flashinfer.include, andflashinfer.csrc;ignition/preparation/aot.py:890-900hashesproperties.multi_processor_countand every*.pyfile underignitionandflashinfer; andignition/cli/environment.py:25-34isolatesFLASHINFER_WORKSPACE_BASEper resolved install path—so neither export identities nor cached forwards/JIT artifacts alias across the pin bump. - Reported Heliopause test failure confirmed unrelated:
export::blob::tests::verified_inode_mutation_is_rejected_before_link(heliopause/src/export/blob.rs:605-633) does not touch FlashInfer and fails 3/3 times onmain(22d2ac97) vs. 1/3 ata558dcd, confirming it is a pre-existing host flake rather than a regression from this pin.
Pre-merge Checks
- [PASS] Security / malicious screen: Single-line commit SHA update on existing trusted upstream
https://github.com/local-inference-lab/flashinfer.git(pyproject.toml:47); no new scripts, endpoints, credentials, or prompt-injection content. - [PASS] Charter & value fit: Preserves an exact dependency pin (Charter "Be explicit and pin everything" / roadmap
#215) and fixes Qwen4-35B-A3B 2:1 GDN geometry upstream in FlashInfer rather than adding per-model branches in Helios. - [PASS] Related / duplicate / conflict check: Genuinely additive over merged
#707and unblocks downstream Qwen4-35B-A3B work (#732); note informational coupling with open#723(consumes bundledlocal-inference-lab/flashinfer#217) and ordinary textual rebase overlap onpyproject.toml:47with open#712/#725. - [PASS] Tests & verification evidence: Applicable CPU checks matching
.github/workflows/python-cpu.yml:25-41(not opened) were run ata558dcd(test_roce_proxy_parity.py: 2 passed;pytest tests/ -q: 2621 passed, 480 skipped), alongside SM120 Qwen4-35B-A3B export (72 graphs) andflare runserving up to 120k tokens at C=1/2/4; the lone Heliopause failure (heliopause/src/export/blob.rs:605-633) is reproduced as pre-existing onmain.
Blockers
None.
Should Fix
None.
Subtract / Simplify
(All items below are pre-existing debt outside this 1-line diff; best handled in a small follow-up PR so #731 stays minimal.)
- Remove stale
uv.lockandmain-tracking documentation (docs/core-design.md:381-385,docs/model-preparation.md:103-105, 146-156,docs/roce-ring.md:334,THIRD_PARTY_NOTICES.md:60): This repository carries neitheruv.locknor.github/workflows/track-flashinfer-main.yml(not opened), andpyproject.toml:47pins an exactrevrather than trackingmain(making documenteduv sync --lockedanduv lock --upgrade-package flashinfer-pythoncommands unusable). Collapse these references to point directly atpyproject.toml:47anduv sync --extra prepare --extra test. - Simplify or remove
scripts/setup_preparation.py:4, 17-28: Its--upgrade-package flashinfer-pythonflag and"Update FlashInfer"docstring are a no-op against an exactrevpin inpyproject.toml:47. Either drop--upgrade-package(and its test assertion) so it accurately documents a local sync/reinstall helper, or remove the wrapper in favor of theuv synccommand used by.github/workflows/python-cpu.yml:26-29(not opened). - Deduplicate historical FlashInfer SHAs in
NOTICE:17anddocs/roce-ring.md:358: Reference the revision pinned inpyproject.toml:47where current-pin provenance is intended, rather than carrying separate unguarded SHAs alongside the test-enforced pin.
Nits
- Maintainer pin-scope choice &
#723cross-link: Confirm6aff33c4a6500a10c32916f3c2e6987e708cec92is merged onlocal-inference-lab/flashinfermainbefore merging (per#707precedent). If maintainers want to landlocal-inference-lab/flashinfer#217together with#731, cross-linking open#723records its consumer; otherwise, pinningadb09a82(independently corroborated by closed#733) limits this change strictly to the Qwen4-35B-A3B GDN shapes. - Track pre-existing Heliopause flake separately: File a standalone issue for
export::blob::tests::verified_inode_mutation_is_rejected_before_link(heliopause/src/export/blob.rs:605-633) rather than leavingmain's Layer-1 failure untracked.
Dropped on verification
- Waiting for observable CI status / holding merge on self-reported CPU runs (from Discovery): Dropped as a blocker. Unobservable CI status is never a valid review blocker; the author executed the exact
.github/workflows/python-cpu.yml:25-41(not opened) commands ata558dcdwith internally consistent test counts (2 passedmatching the 2 tests intests/preparation/test_roce_proxy_parity.py:35,68). - Stale diff base / "
5a8ceed80cvs1441ce86" / risk of reverting#707(from Round 1): Verified resolved/withdrawn;pr_diffandsearch_historyonpyproject.tomlconfirma558dcdasits cleanly on top of#707(67ad1215) and changes only1441ce86...→6aff33c4.... - Holding
#731foruv.lockdoc corrections orscripts/setup_preparation.pycleanup (from Discovery / Subtraction): Dropped as non-blocking scope creep; all cited drift predates#731and is preserved under## Subtract / Simplifyfor follow-up. - Holding
#731forexport::blob::tests::verified_inode_mutation_is_rejected_before_link(heliopause/src/export/blob.rs:605-633): Dropped as unrelated; the test does not touch FlashInfer and fails 3/3 onmain(22d2ac97). - Pre-existing inner compiled-artifact cache key (
ignition/preparation/compilation.py:313-316(not opened)) & legacygid_indicesfallback (ignition/preparation/collectives.py:83-101(not opened)): Dropped as pre-existing/out of scope (outerForwardCacheataot.py:893-900already partitions by FlashInfer*.pysources, and thegid_indicescheck provides an explicit diagnostic for stale environments).
Classify triage
Selected: triage:review
Threshold: 65%
Triage
- [✓]
triage:review: 97.9% -
none: 1.1% -
triage:validation: 0.6% -
triage:design-review: 0.2% -
triage:integration: 0.2% -
triage:investigate: 0.0% -
triage:verify-for-closure: 0.0% -
triage:partial: 0.0% -
triage:superseded: 0.0%
Apply labels
No label changes Decision to Test: yes (59%): Testing will add considerable value with the code. It is ready to merge and the tests will validate and improve confidence on hardware we have available for testing.
Pre Test Report
Hardware test plan — PR #731 (flashinfer-python pin → 6aff33c4)
1. What is actually being tested
The whole diff is one line, pyproject.toml:47 (pr_files: 1 file, +1/−1):
-flashinfer-python = { git = ".../local-inference-lab/flashinfer.git", rev = "1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e" }
+flashinfer-python = { git = ".../local-inference-lab/flashinfer.git", rev = "6aff33c4a6500a10c32916f3c2e6987e708cec92" }
It feeds the prepare extra (pyproject.toml:25 "flashinfer-python[b12x]"), so it changes the compiled b12x kernels inside every ignition[prepare] environment and in CI (.github/workflows/python-cpu.yml:29-33 (not opened)). The new revision is two upstream commits ahead: adb09a82 (FlashInfer #215 — GDN 2:1 value-head ratio + H=2048 hyper-connection/MTP shapes) and 6aff33c4 (FlashInfer #217 — cooperative SM budget / green-context grid-stride safety for b12x MoE).
Critical framing for the test engineer: there is no speedup to measure. The PR claims a functional result (export completes, core serves; 72 graphs; C=1/2/4; 120k-token prompt). The only quantitative question it leaves open is the one it explicitly declines to answer — whether bundled #217 regresses b12x MoE latency: "6aff33c4 also brings the b12x MoE change … to every recipe; its effect was measured only through the Qwen4-35B-A3B export." So the measurement is a non-inferiority guard, not a speedup hunt. Anyone asked to "measure the claimed speedup" should be told the claim does not exist.
2. What the available hardware can and cannot validate
| Test | cn5 (4× RTX PRO 6000 Blackwell = SM120, amd64) | cn7 (1× GB10 = SM121, arm64, busy: run 17) |
|---|---|---|
Decisive test: ignition export qwen4-35b-a3b fails at old pin / succeeds at new pin |
Impossible — no Qwen4-35B-A3B checkpoint on either machine, and the qwen4-35b-a3b recipe lives in the external repo local-inference-lab/hyperflare-recipes (AGENTS.md:253-266, docs/model-preparation.md:316-336) |
Impossible (same, plus arch mismatch with the reporter's SM120 result) |
GDN regression on the adb09a82 path (qwen3.8-flash = the only GDN recipe in-tree, docs/core-design.md:356) |
Feasible at TP2 (66.82 GiB GPU-bound without MTP, docs/core-design.md:682-692); checkpoint not staged, 95.12 GiB download, disk-bound | Not staged; GB10 shared-memory model makes TP1 of 66.8 GiB infeasible |
| b12x MoE exposure (what #217 actually touches) | Best target: local-inference-lab/GLM-5.3-Flash-NVFP4 and nvidia/GLM-5.3-Flash-NVFP4 are staged; GLM-5.3-Flash is 512 routed experts/layer (docs/core-design.md:376) and qualified at TP4 (docs/model-preparation.md:171-172) — exactly your 4 GPUs |
Has GLM + Gemma-4-26B-A4B + Nemotron Bolt, but arm64/GB10 needs a from-source flashinfer build that has never been exercised by CI (.github/workflows/python-cpu.yml:14 (not opened) is ubuntu-24.04 x86-64) |
| RoCE proxy parity, ABI, cache partitioning | CPU-only or already deterministic — no GPU needed (see Tier 0) | Same |
Honest bottom line: the one thing the PR is for cannot be validated on this fleet. Do not spend GPU time trying. Spend it on (a) proving the new pin is not broken, and (b) bounding the #217 MoE risk the PR declines to measure — both of which your hardware does support and neither of which has been done yet.
3. Preconditions (all before the first GPU-minute)
git fetch origin pull/731/head && git checkout a558dcda # PR head; pyproject.toml:47 already = 6aff33c4
# 0a. Confirm the pinned commit is merged upstream, not a branch tip (#707 precedent had to retarget):
git ls-remote https://github.com/local-inference-lab/flashinfer.git | grep -i 6aff33c4 # record output; no GPU
- One venv, never two.
torch==2.14.1+cu132+ a from-source flashinfer build is large, and both machines give a job only 16 GiB scratch. Flip the pin in place anduv sync --extra prepare --extra test --reinstall-package flashinfer-python --reinstall-package flare-heliopausebetween arms. Do not create a second virtualenv. - One cache directory per arm.
B12X_COMPILE_CACHE_DIRiskernel_cache/b12xwith no pin component (ignition/cli/environment.py:48) and "b12x's compile-cache keys do not hash kernel source" (scripts/b12x_gemm_stage_race.py:23-24). Sharing a kernel cache across arms can silently reuse the other arm's binaries and manufacture a false "no difference". Use a distinct[paths] kernel_cache(andcore_cache) per arm — valid sections/keys inignition/cli/config.py:22-33. - Verify the installed revision, don't assume it.
uv syncis silent about which git SHA landed:
Record.venv/bin/python -c "import importlib.metadata as m; print(m.distribution('flashinfer-python')._path)" # then read direct_url.json (not opened) .venv/bin/python -c "import flashinfer; print(flashinfer.__file__)"direct_url.json(not opened)'svcs_info.commit_idin the results table for every run. A test that reports "new pin" without this line is worthless. - Disk preflight.
df -hon the largest writable volume. Both job types advertise only 16 GiB scratch while the Qwen3.8 checkpoint is 95.12 GiB stored / 66.82 GiB GPU-bound (docs/core-design.md:682-692) and a packed core is comparable. Point[paths] hub_cache,core_cache,kernel_cacheat that volume before any export. If < ~150 GiB free, skip Tier 2b entirely. - Recipes: env A = PR-head checkout; env B =
local-inference-lab/hyperflare-recipesatd248db6(as the author used) with ignition installed from the PR-head checkout. That repo'suv.lockpins ignitionc513e46/flashinfer5a8ceedand its freshuv syncfails withImportError: cannot import name 'AsyncTransferChannel'(PR body, follow-up), so bypass the lock. cargo build --release --manifest-path flare-cli/Cargo.toml(not opened) (docs/model-preparation.md:70-75). A dev signing key is created automatically when[publishing]is absent (docs/model-preparation.md:51-54).
4. Tier 0 — CPU only, zero GPU time (this is the highest value per minute; do it first)
The author did run these and reports test_roce_proxy_parity.py 2 passed and pytest tests/ -q 2621 passed / 480 skipped, but nobody has reproduced them and CI status is unobservable. Reproducing is free and is the only gate the repo makes non-waivable (docs/design-review.md:247-251).
export BUILD_NVEP=0 FLASHINFER_BUILD_NO_PIP=1
uv sync --extra prepare --extra test # exactly .github/workflows/python-cpu.yml:25-29 (not opened) — note: NO --locked, repo has no uv.lock
CUDA_VISIBLE_DEVICES="" .venv/bin/python -m pytest tests/preparation/test_roce_proxy_parity.py -q # expect 2 passed
CUDA_VISIBLE_DEVICES="" .venv/bin/python -m pytest tests/ -q # expect ~2621 passed / 480 skipped
Optional but cheap and directly on-topic (the pin also changes where forwards get cached):
CUDA_VISIBLE_DEVICES="" .venv/bin/python -m pytest \
tests/preparation/test_roce_proxy_parity.py tests/preparation/test_source_identity.py (not opened) \
tests/preparation/test_forward_cache_sources.py tests/preparation/test_packaging.py (not opened) tests/cli -q
Pass: 2 passed in the parity test (0-byte divergence between helios/native/roce_proxy.c (not opened) lines 10..EOF and installed flashinfer/experimental/b12x/comm/roce/_roce_proxy.c (not opened), tests/preparation/test_roce_proxy_parity.py:35-65), full suite ≥ the author's counts with no new failures. The one known failure (export::blob::tests::verified_inode_mutation_is_rejected_before_link, reproduces 3/3 on main) is out of scope — do not chase it.
If the parity test fails: stop. That is an automatic PR reject, not a hardware finding: re-sync helios/native/roce_proxy.c (not opened) below its 9-line provenance header or the pin must not land (docs/roce-ring.md:361-365). Do not spend GPU time on a pin that fails this.
5. Tier 1 — GPU smoke at the new pin, no model, no export (~10 min, 1 GPU on cn5)
Proves the revamped b12x binary actually loads and runs kernels on SM120 before committing to a multi-hour export.
export CUDA_VISIBLE_DEVICES=0 FLARE_RUN_CUDA_TESTS=1 # gate per AGENTS.md:302
.venv/bin/python -m pytest \
tests/preparation/test_runtime_core.py tests/test_compilation.py (not opened) \
tests/components/test_sampling_flashinfer.py tests/preparation/test_scratch_cuda.py -q
# Helios's own cooperative-grid clamp path (the mechanism #217's "cooperative SM budget" is adjacent to):
.venv/bin/python -m pytest tests/preparation/test_runtime_core.py::test_cooperative_core_clamps_to_device_capacity -q
The second command is the interesting one: it exports an oversized cooperative grid via helios/tests/cooperative_core_fixture.py and then runs the ignored Helios test oversized_cooperative_grids_replay_at_device_capacity (tests/preparation/test_runtime_core.py:383-395). It exercises Helios's clamp_cooperative_grid against a real device capacity (helios/src/runtime_core/mod.rs:137 (not opened), :1362-1399). It does not touch FlashInfer — say so in the report; it is a "the surrounding mechanism still works" check, not evidence about #217.
Pass: no load/link errors, no CUDA errors, no new failures vs. the same run at the old pin. This is the cheapest way to catch a broken rev on SM120.
6. Tier 2 — the real GPU work: A/B on GLM-5.3-Flash TP4, cn5, all 4 GPUs
Why GLM-5.3-Flash: it is the only model on the fleet that is (a) staged, (b) a 512-expert routed-MoE model — i.e. the exact kernel family #217 modifies, (c) qualified at TP4 in-repo (tests/fixtures/codec_geometry/glm53-tp4-mtp5.*, docs/model-preparation.md:171-172), and (d) sized to your 4×96 GiB. Qwen3.8-Flash is the alternative, but it is a 95 GiB download you do not have staged; prefer GLM.
Design: twin-arm A/B in one job, identical settings, separate caches. Do not compare across days, and do not compare against numbers from other runs.
# ---------- Arm A (new pin) ----------
cat > /scratch/arm-a.toml (not opened) <<'EOF'
[paths]
hub_cache = "<volume>/a/hub"
kernel_cache = "<volume>/a/kernels"
core_cache = "<volume>/a/cores"
EOF
git checkout a558dcda && uv sync --extra prepare --extra test --reinstall-package flashinfer-python
.venv/bin/python -c "import json,importlib.metadata as m,pathlib; print(json.load(open(pathlib.Path(m.distribution('flashinfer-python')._path)/'direct_url.json (not opened)'))['vcs_info']['commit_id'])"
# record the core entry path printed by export
.venv/bin/python -m ignition export glm-5.3-flash --config /scratch/arm-a.toml (not opened) \
--gpus 0,1,2,3 --max-concurrency 4 --prefill-chunk-size 2048 --autotune-effort off --compile-workers 32
# (write down: export wall time, graph-catalog counts, per-rank VRAM inventory, host RAM peak,
# and — the load-bearing artifact — "Preparation manifest source_identity" for the core)
.venv/bin/python -m ignition bench glm-5.3-flash --config /scratch/arm-a.toml (not opened) --gpus 0,1,2,3 \
--mtp-draft-tokens 7 --verify-width 8 --batches 1,4 --contexts 512,8192 --seeds 0,1,2 \
--warmup 5 --repetitions 20 --output /scratch/bench-a.json (not opened)
# serve the exported core and take one HTTP measurement pass
./flare-cli/target/release/flare run <CORE_A> --gpus 0,1,2,3 --port 8001 &
curl -fsS http://127.0.0.1:8001/health
python3 scripts/benchmark_prefill.py --url http://127.0.0.1:8001 --tokens 32768
# 3 fixed seeded chat completions at C=1,2,4 with return_token_ids; save bodies + /metrics before/after
curl -fsS http://127.0.0.1:8001/metrics > /scratch/metrics-a-before.txt ; ... ; > /scratch/metrics-a-after.txt
# ---------- Arm B (baseline pin, same job, same GPUs) ----------
# same steps with rev 1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e, /scratch/arm-b.toml (not opened), /scratch/bench-b.json (not opened),
# --port 8002. Use --reuse-weights on Arm B's export: it hardlinks the cached weight payloads
# (docs/model-preparation.md:33-37), so you pay for a second set of cubins+graphs, not a second weight copy.
# ---------- Arm A' (drift control) ----------
# repeat Arm A's bench. If A vs A' differ by more than the threshold below, the host is noisy — widen
# --repetitions/--seeds and say so; do not report an A-vs-B delta you cannot resolve.
Metrics that matter (cheap, already implemented):
- Decode round rate.
Δflare_speculative_rounds_total / Δflare_speculative_gpu_nanoseconds_total × 1e9(docs/performance-work.md:48-52), read fromGET /metrics(helios/src/server.rs:602(not opened)). Per batch/width label. ignition benchper-case median + p25–p75 + equal-weight mean (ignition/cli/bench.py:131-146), with--outputkeeping every raw sample. This is complete prepared speculative graph rounds with no export and no HTTP — the cleanest isolation of a kernel-level delta.- Prefill tok/s from
scripts/benchmark_prefill.py(one uncached 32k prompt, 1 output token; it asserts uncached + 1 token and prints tok/s,scripts/benchmark_prefill.py:41-55). - Correctness, same arm vs same arm: identical seeded request bodies at the same pin must be byte-identical; across pins use argmax-token equality on the greedy pass and a numerical tolerance otherwise. Do not require cross-pin byte equality — the repo explicitly allows atomic/variable-order reductions and derives tolerances from measured repeatability (
docs/core-design.md:406-408); demanding bit-identity across a kernel change manufactures a false failure. The A-vs-A' pair measures that repeatability for you. - Memory headroom. Per-rank VRAM inventory printed by export (docs/model-preparation.md:369-385) and the serving load display's total KV capacity. A silent KV-capacity reduction is a regression the PR never checked.
- Resource cost: export wall time and peak host RAM.
Pass/fail:
- PASS — export completes on both arms; graph-catalog counts are identical (record them; a differing count means the pin changed a shape decision, which contradicts the PR's "shapes they already used" claim); seeded outputs match per arm and are token-equal across arms on the greedy pass; all four latency metrics for Arm A are within 2% of Arm B after the A-vs-A' drift check (2% is the repo's own publication bar,
docs/prefix-cache-offload.md:1761); no CUDA errors; run completes without job-scratch OOM. - FAIL (blocks merge) — any arm-A export/prep failure; any crash or CUDA error; a KV-capacity or VRAM regression outside noise; a latency delta that survives the drift control. File the delta as a #217 finding and recommend pinning
adb09a82instead, which isolates this PR to the Qwen4 GDN shapes (the PR itself offers this escape hatch, and closed #733 corroborates thatadb09a82alone is sufficient for the Qwen4-35B-A3B export). That is a one-character-class change to the same line and needs no code review round. - Budget: expect ~4–6 GPU-hours total on cn5 (two exports + three bench runs + two short serving passes). Export is the dominant cost; tune with
--autotune-effort offas the author did, and skip--lock-gpu-clocks(it needssudo -n nvidia-smi, docs/model-preparation.md:193-202) — instead keep both arms on the same unlocked footing and lean on the A-vs-A' control.
Optional Tier 2b (only if 150+ GiB disk is free and you want the GDN path exercised): repeat Tier 2 for qwen3.8-flash at TP2 (2 of the 4 GPUs), which is the only in-tree GDN recipe and so the only model that touches adb09a82's GDN code at all. Note in the report that Qwen3.8 has 16 key/48 value heads = 3:1 (docs/mtp-design.md:85 (not opened)), so it passes the capability check at both pins — this is a regression test of the code the commit rewrites, not a reproduction of the 2:1 fix. ~3–4 extra GPU-hours. Skip if time-boxed.
7. Tier 3 — SM121 / GB10 on cn7: run only if it is free and cheap (optional, low value)
Queue after run 17 finishes; do not preempt it.
export BUILD_NVEP=0 FLASHINFER_BUILD_NO_PIP=1
uv sync --extra prepare --extra test # from-source flashinfer build on arm64 — never CI-tested
.venv/bin/python -c "import flashinfer, torch; print(flashinfer.__file__, torch.cuda.get_device_capability())"
export CUDA_VISIBLE_DEVICES=0 FLARE_RUN_CUDA_TESTS=1
.venv/bin/python -m pytest tests/preparation/test_runtime_core.py tests/test_compilation.py (not opened) -q
If the arm64 build fails or burns >30 min, abandon it and report that SM121 was not covered — that is a truthful outcome and costs nothing. Do not attempt a GB10 export of GLM (shared DRAM, 60 GiB job RAM, one rank) — an OOM there tells you nothing about this pin, because no SM120-vs-SM121 comparison can be made with one GB10 and no SM120 baseline for GB10.
8. What NOT to do (each of these wastes GPU time or produces a wrong conclusion)
- Don't try to reproduce the Qwen4-35B-A3B export. No checkpoint on either machine; the recipe is external. Report it as "unvalidatable on this fleet", not as "passed".
- Don't run the full 480 GPU-gated tests. Most need model-specific services via
FLARE_*_TEST_URLenv vars (tests/server/test_*.py) or export fixtures irrelevant to a pin; Tier 1's four files are the payoff subset. - Don't use
ignition debug-servefor any timing. Explicitly "unsuitable for actual serving or apples-to-apples performance comparisons" (docs/performance-work.md:9-13); use an exported core withflare run. - Don't share
kernel_cache/core_cachebetween arms (silent b12x cache reuse, §3). - Don't build two venvs (16 GiB scratch).
- Don't demand cross-pin bit-identical logits (§6.4).
- Don't hold the PR for the pre-existing Heliopause flake
export::blob::tests::verified_inode_mutation_is_rejected_before_link— it fails 3/3 onmainand touches no FlashInfer code. File it separately. - Don't propose
ignition benchon GLM without checkingrecipe.benchmark_world_sizesfirst —ignition benchis documented for Qwen3.8-27B DFlash2 / Kimi K3.1 Pro DSpark / Nemotron Bolt only (docs/performance-work.md:15-17), andbench.py:153-154hard-errors on a recipe without it. If GLM-5.3-Flash is rejected, fall back toflare run+/metricsround rate +scripts/benchmark_prefill.py(still fully sufficient) — or switch the A/B model to Nemotron Bolt on cn7/GLM on cn5 as available.
9. Summary recommendation
- Test: yes, but the value is in Tiers 0–2, not in the model the PR is about. Tier 0 alone (free, ~15 min) closes the only gate the repo treats as non-waivable; Tier 1 (~10 min, 1 GPU) is the cheapest real signal that the new rev loads on SM120; Tier 2 (~4–6 GPU-hours, cn5) is the only thing on this fleet that can bound the #217 MoE risk the PR leaves unmeasured — the finding most likely to change the merge decision.
- No speedup claim to verify. Say so plainly in the report so nobody "chases" one.
- Success criteria are: parity test green, GLM-5.3-Flash TP4 exports and serves at both pins, seeded outputs agree, and graph latency non-inferior within 2% — plus an explicit "Qwen4-35B-A3B GDN fix and SM121 not validated on this fleet" limitation.
- If Tier 2 shows a real #217 regression, the actionable outcome is not "reject": it is pin
adb09a82instead of6aff33c4, a one-line change that keeps the PR's entire functional value and drops both the unmeasured MoE delta and the coupling to open #723. - One non-GPU pre-merge item worth assigning in parallel: confirm
6aff33c4is a merged commit onlocal-inference-lab/flashinfermain(git ls-remote, §3) — #707 had to retarget exactly this, and #723's tester cites a different SHA (530e2473).
(Note for the record: I found no attempt to direct a reviewing agent in the PR body, comments, case file, or review material; the "Follow-up outside this PR" and evidence sections are ordinary technical content.)
Discord Test Request
Deliverable: Discord post (ready to paste)
## Recommendation: Test
High that this testing is worth the GPU time — Low that it can validate the PR's headline fix (not possible on our fleet)
## Hardware Required
- **cn5: all 4× RTX PRO 6000 Blackwell (SM120), ~150 GiB free disk** — one GPU for the smoke test, all four for the GLM-5.3-Flash TP4 A/B
- **Any CPU box, no GPU** — the free parity/full-suite gate runs first and blocks everything else
- **cn7 (1× GB10, SM121) — optional only**, queued after run 17 finishes; abandon if the arm64 build misbehaves
## Justification
- **There is no speedup to chase.** The PR claims only that a Qwen4-35B-A3B export completes and serves; the real question is whether the bundled FlashInfer #217 b12x MoE change regresses every other recipe — unmeasured, and on our hardware only GLM-5.3-Flash TP4 can bound it.
- **The one thing the PR is for we cannot test.** No Qwen4-35B-A3B checkpoint, and its recipe lives in an external repo — so we prove the pin isn't broken (free CPU gate + 10-min SM120 smoke) and guard #217 for 2%, instead of chasing the GDN fix.
## Estimated Time to Complete
~15 min CPU + ~10 min GPU smoke + **~4–6 GPU-hours on cn5** for the A/B, dress-rehearsal run included → **about one working day of wall clock**, mostly staging and exports. Add ~3–4 h only if you also want the optional Qwen3.8-Flash TP2 GDN pass.
What I did and what I checked
Read and verified
- PR #731 (
flashinfer-qwen4-gdn-ratio→main, heada558dcd, open, labelsarea:preparation, bug, triage:review): one file,pyproject.toml, +1/−1. Confirmed at the PR head —pyproject.toml:47now pinsflashinfer-pythonto6aff33c4a6500a10c32916f3c2e6987e708cec92;pyproject.toml:20-36shows theprepareextra pullingflashinfer-python[b12x]at:25, so the pin feeds everyignition[prepare]environment.[tool.uv.sources]block ispyproject.toml:43-47. PR body confirms the new rev is two commits ahead (adb09a82= FlashInfer #215, Qwen4 2:1 GDN + H=2048 shapes;6aff33c4= FlashInfer #217, cooperative SM budget / grid-stride safety for b12x MoE) and explicitly declines to measure #217's effect beyond the single Qwen4-35B-A3B export — this is why the post says "no speedup to chase" rather than inviting a benchmark hunt. - Both Autobot reviews on the PR: the first (at
e015d55) raised the non-waivable RoCE proxy parity gate as a blocker; the second (ata558dcd) cleared it to Ready To Merge after the author ran the CPU workflow (test_roce_proxy_parity.py(not opened): 2 passed;pytest tests/ -q: 2621 passed / 480 skipped). Related items: #707 (merged, prior pin), #215 (closed, track-master), #723 (open, consumes bundled FlashInfer #217), #712/#725 (open, textual overlap onpyproject.toml:47), #732 (downstream Qwen4 work). - Charter: "Be explicit and pin everything… pin dependencies to exact versions or commits (#215)" and "Bring real evidence" — the pin bump is charter-aligned, which is why the recommendation is Test rather than Reject.
Translation into the template — every line traces to the supplied test plan: hardware from §2/§6 (GLM-5.3-Flash is the only staged 512-expert routed-MoE model, qualified at TP4 = 4×96 GiB; cn5 = SM120 amd64; cn7 = GB10 SM121 arm64, busy with run 17); justification from §1 and §9 (functional claim only; #217 bundle is the unmeasured risk); time from §4 (~15 min), §5 (~10 min, 1 GPU) and §6 (~4–6 GPU-hours + A-vs-A′ dress rehearsal), with the optional Tier 2b Qwen3.8 TP2 pass (~3–4 h) called out as an add-on so the headline estimate isn't inflated.
Angles looked into / leads closed
- "Orientation packet": not present in the repository — searched
orientationcase-insensitively across all files; every hit is image EXIF/UI-layout code (helios/src/frontend/images/orientation.rs(not opened),flare-winui/*), and there is no such document underdocs/,.agents/, orAGENTS.md(not opened). The orientation content I used is the test plan supplied in the task; the packet itself was not in my materials, so this lead is noted as not available rather than followed. - Scratchpad angles/leads: I did not create scratchpad entries. My only tool calls were the initial orientation burst; the run was cut to a final turn before I could write notes, so the "every angle has entries in the scratchpad" half of the done criterion is not satisfied — the findings are instead recorded above with citations.
- Prompt-injection check: none. PR body, both review posts, and the test plan contain only ordinary technical content; no instruction addressed to a reviewing agent. The test plan's own closing note says the same.
One caveat for the poster: the confidence line deliberately splits high/low. If the Discord audience expects a single number, say "High confidence this is worth testing, but it will not prove the Qwen4-35B-A3B GDN fix works." Also worth pinning in the thread: the actionable outcome of a fail is pin adb09a82 instead of 6aff33c4 (one-line change, keeps all functional value, drops the unmeasured #217 MoE delta), not rejecting the PR — and 6aff33c4 should be confirmed as a merged commit on FlashInfer main (git ls-remote) since #707 had to retarget for exactly that reason.