Case file: PR #731 — build: pin flashinfer-python to 6aff33c4 for Qwen4-35B-A3B GDN geometry
https://github.com/NVIDIA/hyperflare-inference/pull/731 — open, "ready for review", head e015d55, base main, branch flashinfer-qwen4-gdn-ratio, opened and last updated 2026-12-04, 1 file +1/−1, no labels, no reviews, no comments, no CI checks.
Key findings (what a reader cannot learn from the description)
- The one-line diff's "from" value does not match the description, and the computed diff carries ~10 files instead of 1.
pr_diffshowspyproject.toml:47changingrev = "5a8ceed80ccc58e11a4d49ccc910f52967699c09"→rev = "6aff33c4a6500a10c32916f3c2e6987e708cec92", while the description says it replaces1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e.1441ce86is what merged #707 set (per #707's own account, "repinnedpyproject.toml:47to1441ce862…");5a8ceed80cis the older pin referenced by #684 ("flashinfer#208 is merged on main (5a8ceed80ccc…)") and quoted frompyproject.toml:47in #668's autobot review. The same computed diff also contains.github/workflows/{helios-lifecycle,native-serving,release}.yml,AGENTS.md,THIRD_PARTY_NOTICES.md(not opened),docs/TODO.txt,docs/api.md(not opened) — main-side content from merged #730 (Windows packaging), #707 and #711.pr_filesand the orientation packet both say 1 file. Reading: the tool's merge base is stale, so this is most likely an artifact of the comparison, not of the PR. But it must be confirmed, because if the branch really forks before #707, merging it would revert #707's pin and conflict onpyproject.toml:47. (Tool caveat: themainsnapshot served here holds5a8ceed…atpyproject.toml:47, notests/preparation/test_roce_proxy_parity.py, and a pre-#707 proxy withRING_WINDOW 8;search_historyfails on every ref withCould not read c513e46…, so history could not date the pin.) - The pinned revision bundles a second, unrelated and unmeasured upstream change. The description says
6aff33c4is "two commits ahead":adb09a82(FlashInfer #215 — the Qwen4-35B-A3B 2:1 and H=2048 shapes, i.e. the actual fix) and6aff33c4(FlashInfer #217, "cooperative SM budget and green-context grid-stride safety for b12x MoE"). Only the first serves the stated motivation; the second changes b12x MoE kernel behaviour for every model, and nothing at the new revision was measured except the one Qwen4 export. - That second commit is the dependency of an open PR in this repo, and neither PR mentions the other. #723 (
helios,heliopause,ignition: fleet-wide 2-way codec green contexts, graph SM bounds, and ScratchArena reserve_sms floor, lukealonso, open) listslocal-inference-lab/flashinfer#217as a companion, and its autobot review states that clean checkouts pinned to1441ce86"lackb12x._lib.utils.device.{track_capture_min_compute_sms…}" and that "pyproject.toml:47is unchanged by this PR and still pins rev 1441ce86". #731 is effectively #723's pin prerequisite. FujitsuPolycom's #723 comment (2026-12-04) reports testing the stack with "flashinfer#217 @530e247333" — a different commit from6aff33c4, which suggests the revision chosen here may be superseded by the time #723 lands. - The load-bearing claim is mechanically testable in-repo and was not tested. The PR asserts "Neither commit changes the RoCE proxy source vendored in
helios/native/roce_proxy.c, so no re-vendoring is needed", while also stating "Not run: this repository's test suites".tests/preparation/test_roce_proxy_parity.py:35-65(added by #707) fails hard on any byte difference between the vendored proxy body (after a 9-line provenance header,PROVENANCE_LINES = 9, :17, :39-48) andflashinfer/experimental/b12x/comm/roce/_roce_proxy.c(not opened) from the installed flashinfer package (:20-32, :49-65). It runs in CI via.github/workflows/python-cpu.yml(not opened) (uv sync --extra prepare --extra test, thenpytest tests/ -q). The packet reports no CI checks on heade015d55, so the one assertion the repo can falsify was never executed for this pin. - No
uv.lockexists in the repository, and the docs claim one does.list_filesfinds no lockfile at either the PR head ormain, and.gitignore:1-13does not exclude it. Precedents that did update a lock: #403 (pyproject.toml+uv.lock, +4/−4) and #85 (pyproject.toml+uv.lock). #731 cannot and does not say so. Meanwhiledocs/core-design.md:381-385("pyproject.tomlanduv.lockdeclare the preparation dependencies…pyproject.tomltracks themainbranch oflocal-inference-lab/flashinfer, anduv.lockrecords the resolved commit"),docs/model-preparation.md:145-153(same claim plus a.github/workflows/track-flashinfer-main.yml(not opened) job that does not exist) andTHIRD_PARTY_NOTICES.md:60(not opened) all describe a mechanism the tree does not have.docs/core-design.md:383's main-tracking statement also contradicts the exact pin inpyproject.toml:47, both before and after this change. This PR neither fixes nor mentions that drift. - #215 (closed) is the policy this PR inherits, and the cross-repo numbering collides. #215 "Track FlashInfer main in the preparation dependency instead of a pinned commit" (brandonmmusic-max; closed 2026-11-19 by yatesdr) proposed main-tracking plus
scripts/check_flashinfer_compatibility.py(not opened) and a FlashInfer-main workflow; yatesdr's closing comment: "Flare keeps the exact FlashInfer pin (pyproject.toml:25)… The coupling between Flare and FlashInfer revisions is a real cost and needs a better answer than either an exact pin or tracking main." None of #215's machinery is in the tree (scripts/check_flashinfer_compatibility.py(not opened),tests/preparation/test_flashinfer_compatibility.py(not opened) and any flashinfer-main workflow are absent;scripts/setup_preparation.py:17-28still only runsuv sync --upgrade-package flashinfer-python, which cannot move past an exact pin). Also: the item page's "It refers to #215 / #217" links resolve to this repo's unrelated #215 and #217 ("Decode GLM width-one rounds in place…"), because the description cites FlashInfer's #215/#217 — anyone re-using those links will land on the wrong PR.
The change
- One line:
pyproject.toml:47,[tool.uv.sources] flashinfer-pythongitrev5a8ceed80c…→6aff33c4a6…(verified inpr_diffand in the head tree:pyproject.toml:43-47). - The requirement it satisfies is
"flashinfer-python[b12x]"inside theprepareextra (pyproject.toml:20-36), so the pin reaches everyignition[prepare]install — including CI and every external recipe environment that resolves ignition. - Nothing else changes in-tree: no source re-sync, no docs, no lockfile, no license/notice — consistent with the description's "no re-vendoring is needed" (that claim's correctness is covered under Claims and evidence).
- Size: 1 file, +1/−1, matching
pr_filesand the packet. The extra files inpr_diffare base-side noise (Key finding 1).
The why
- The motivating failure lives outside this repo:
ignition exportof theqwen4-35b-a3brecipe inlocal-inference-lab/hyperflare-recipesraises"GDN prefill requires three value heads per key head"fromgdn_prefill.Capsat1441ce86, because Qwen4-35B-A3B has 32 value heads to 16 key heads (2:1). - Not verifiable in this tree: there is no recipe directory (
ignition/recipes/absent; recipes live externally perAGENTS.md:12,224-225), and nogdn_prefill/ value-head check exists anywhere here —search_codeforgdn_prefill|value heads per key headmatches only GDN prose indocs/core-design.md. GDN is documented as b12x-supplied (docs/core-design.md:603-604,709-735), which is why the fix belongs upstream. - Qwen4-35B-A3B appears in-tree only as a test subject and in discussion: #716 (merged, "Qwen4-35B-A3B uses
ple_embed_dim=2048across 16 heads"), #718 (Qwen4-35B-A3B-FLARE 1P1D validation), #723 (FujitsuPolycom: a signedQwen4-35B-A3B-NVFP4core served on GB10, SM121). The in-tree Qwen recipe isqwen3.8-flash(docs/core-design.md:356). - Currency of demand: this is a single-user report on the author's own hardware (RTX 5090 Laptop, GB203, SM120, 24 GiB). No issue in this repository tracks it;
search_itemsforQwen4-35B-A3Breturns only this PR plus the #716/#718/#723 references. No prior PR attempts this specific bump.
Related work
- #707 (merged, 2026-12-03) "helios,ignition,flare-cli: unify ABI-14 RoCE proxy sync, per-HCA GIDs, and CI parity" set the pin to
1441ce86, re-vendored the proxy to FlashInfer #213 (ABI 14, per-HCA GIDs,RING_WINDOW = 16,ROCE_RESERVE_OPS = 48, 1176-byte connect blob), addedtests/preparation/test_roce_proxy_parity.pyand theexecution::roceCI step. #731 is its direct continuation and the first re-pin since — therefore also the first time the parity test meets a moved revision. - #723 (open) consumes the bundled FlashInfer #217 commit and is blocked on a pin that exports its symbols (Key finding 3). Deciding #731 is partly deciding #723's prerequisite; the dependency direction is stated in neither PR.
- #215 (closed) is the same code point in the opposite direction (Key finding 6): #731 is the exact-pin answer the maintainer chose there.
- Precedent shape: #403 "Pin FlashInfer for GLM cache safety and PCIe collective updates" (merged,
pyproject.toml+uv.lock, +4/−4, "uv also advances its lockfile-format revision from 3 to 5") and #85 "Pin FlashInfer to the supported tuning-tier API" (merged) are the closest analogues: a small revision bump justified by named upstream fixes, each with an explicit check at the new revision (#85 an enum probe, #403 278 focused tests on hardware). #731 names its upstream PRs but runs no check at the new revision. - Proxy-file neighbours, all under the same parity constraint: #712 (open; also touches
pyproject.toml; its autobot review notes the pin "remains pinned to1441ce862…"), #725 (open; its autobot review: "the vendored proxy now diverges from the pinned FlashInfer revision…, failing mandatory parity CI"), #649 (open, 1-hop closed-ring RoCE opcodes), #577 (open), #672 (open, per-HCA RoCEv2 GID index). Any of them landing before or after #731 must agree with the pinned revision's_roce_proxy.c(not opened) bytes. - Recently merged work in the same area: #711 (merged 2026-12-03, adds
Execution.async_transfers/AsyncTransferChannel) and #720 (merged,RankEntryBody/extent_directoryalignment). #711 is exactly what makes the author's stated follow-up fail:hyperflare-recipes'uv.lockpins ignition atc513e46(before #711), sofrom ignition.preparation.execution import AsyncTransferChannelraisesImportError. That follow-up is recipes-repo lock staleness, not something this pin causes.
Recent activity
- The pin has churned fast:
5a8ceed80c(#208 era, per #684/#668) →1441ce86(#707, 2026-12-03) → proposed6aff33c4(2026-12-04). #707's own review had to correct an "unmerged upstream pin" (retargeted from524799c4to merged1441ce86) — the same hazard the "two commits ahead" claim carries, and the reason to confirm that bothadb09a82and6aff33c4exist on FlashInfer's published branch. - The packet reports no default-branch commits touching
pyproject.tomlsince the branch point, andsearch_historyis unusable here (git: Could not read c513e46…), so the current pin cannot be dated from local history. - Nothing in the tree reverses or conflicts with this change in substance: no other PR re-pins flashinfer-python. Only #712 touches
pyproject.tomlas well.
People
- avifenesh —
FIRST_TIME_CONTRIBUTOR; in 180 days 0 merged, 2 closed, 1 open: #606 (open, "seed warmup workspaces inside export storage pool", being absorbed into lukealonso's #728 per #728's description), #605 (closed, ForwardCache source hash), #567 (closed, preserve resident prefixes). All three sit in the preparation/export area this pin governs — the author is a repeat contributor there but has not yet landed a change. Discordavi7066. - lukealonso (
COLLABORATOR) effectively owns this area: #707 (pin + proxy sync + parity test), #711, #720, #723, #684 — and is the author of the PR (#723) whose code path needs the commit this pin adds. - yatesdr set the pinning policy in #215; voipmonitor authored most historical FlashInfer pin bumps (#85, #174, #234, #257, #258, #265, #277, #291); eugr authored #403; original-el8 reviewed #215 ("does not qualify Flare's complete preparation environment or GPU behavior against each selected commit") and owns #712/#725 on the proxy file.
- Engagement on #731 itself: none — no reviewer, no commenter, no label.
Community
- Zero reaction:
pr_commentsreturns "No comments." No reviews, no labels, no reactions. - No
flare-autobotcase-file comment exists, unlike #707, #711 and #723, which each got one within minutes. So this PR has had none of the automated checks its neighbours received (security screen, charter/value fit, related-work conflict detection, evidence assessment).
Project fit (charter)
- Aligns: the charter's "Be explicit and pin everything… pin dependencies to exact versions or commits (#215)" — this keeps an exact commit and does not reintroduce main-tracking.
- Aligns: the charter's roadmap still lists "FlashInfer dependency fix (#215): Untangle the FlashInfer cross-dependency issue while keeping builds strictly pinned" (charter line 55). #731 is the strictly-pinned path the maintainer endorsed in that issue. It also fits "Solve the right problem in the right place" and "Keep the runtime small and model-agnostic" by fixing the capability upstream in FlashInfer rather than forking kernels into Helios.
- Tension: "Bring real evidence… Bug fixes need to address the root cause" — the four-part description standard is met in form (why, what, claimed result, exact command), but the only evidence is one model on one laptop GPU, with no repo test run, no CI, no logs or artefacts, and a second bundled commit that is entirely unmeasured.
- Tension: the motivating model is an external, non-in-tree recipe, while the charter asks new model recipes to "prove they export and serve cleanly from the PR branch and support more than a single checkpoint (#74)". Here the enabling change is in this repo but the proof lives in another repo and covers a single checkpoint.
- Tension: documentation/constitution drift, as in Key finding 5 — the docs describe main-tracking plus a lockfile the repo does not have, so a reader following them cannot reproduce this pin's environment.
- Non-goals are not implicated: no new flags, no per-model branch, no hardware-breadth claim.
Claims and evidence
| Claim | Backing |
|---|---|
1441ce86 rejects the 2:1 GDN ratio with "GDN prefill requires three value heads per key head" from gdn_prefill.Caps |
Author's local observation with the exact export command given; unverifiable here (no gdn_prefill in tree, external recipe, external checkpoint) |
adb09a82 (FlashInfer #215) adds the 2:1 ratio and the H=2048 hyper-connection/MTP feedback shapes |
Upstream PR number cited, not linked, not inspected |
6aff33c4 is exactly two commits ahead |
Unverified; #723's FujitsuPolycom comment tests FlashInfer #217 at 530e2473, so more commits exist on that line and the picked revision may not be the tip |
Neither commit touches _roce_proxy.c (not opened), so no re-vendoring |
Unverified and untested — this is exactly what tests/preparation/test_roce_proxy_parity.py:35-65 enforces, and the author states the test suites were not run |
Export prepares 72 graphs and exports a native core; flare run answers chat at C=1/2/4 including a 120,000-token prompt |
Author's local run on RTX 5090 Laptop GPU (GB203, SM120, 24 GiB), ignition + flare-heliopause at f705086, hyperflare-recipes at d248db6, checkpoint a local Qwen4-35B-A3B directory in NVFP4 layout (trunk experts W4A4, MTP experts W4A16). No logs, core, or artefact cited. Export command recorded verbatim in the description (--tiered-moe-offload --offload-predictor direct … --speculative-method mtp --mtp-draft-tokens 5 … --autotune-effort off --compile-workers 1) |
| Other recipes behave as before at the new revision | Explicitly "expected… but was not measured" — honest, unbacked |
Repo test suites, other recipes, SM103/SM121, commits after f705086 |
Explicitly not run |
hyperflare-recipes uv.lock (ignition c513e46, flashinfer 5a8ceed) fails on AsyncTransferChannel until updated |
Self-reported follow-up; consistent with #711 (merged 2026-12-03) adding AsyncTransferChannel (ignition/preparation/execution.py) and the lock predating it |
Reach
- Everyone installing
ignition[prepare], including CI:.github/workflows/python-cpu.yml(not opened) runsuv sync --extra prepare --extra testthen the fullpytest tests/withCUDA_VISIBLE_DEVICES="", so a moved FlashInfer revision is installed on every PR andtests/preparation/test_roce_proxy_parity.pyruns inside it. - External recipe repo
local-inference-lab/hyperflare-recipes: itsuv.lockrecords ignitionc513e46and flashinfer5a8ceed; a fresh sync there fails earlier for an unrelated reason (Key finding 3/follow-up). Itstests/preparation/test_collectives.py(not opened) stubsflare_heliopause, a coupling #707 describes. - Serving/runtime: no Rust, ABI or manifest change, so existing exported cores keep working; anyone wanting the GDN fix must re-export (the same note #403 and #85 carried). No docs change means nothing tells users this.
- RoCE / multi-host: the pin moves the reference
_roce_proxy.c(not opened) that the vendoredhelios/native/roce_proxy.c(#define ROCE_ABI_VERSION 14,helios/native/roce_proxy.c:160) must stay byte-identical to;helios/src/execution/roce.rs:23keepsPROXY_ABI: u32 = 14and:131accepts cores recording 9|10|11|14. Five open PRs (#577, #649, #672, #712, #725) are on the same coupling. - Licensing/notices:
THIRD_PARTY_NOTICES.md:49 (not opened),59-60attributeshelios/native/roce_proxy.cto the pinned FlashInfer andhelios/licenses/FlashInfer.txtcovers it; unchanged, which is only correct if the "source unchanged" claim holds. - Local dev installs of FlashInfer (
docs/model-preparation.md:154-156) are unaffected.
Process
- Open and marked ready for review; opened and last updated 2026-12-04 (same day). 1 file, +1/−1. No reviews, no comments, no labels, no linked issue, no CI checks on
e015d55. - No merge-conflict report is available; the
pyproject.toml:47base mismatch (Key finding 1) is the thing to confirm before review. - No automated case file, so none of the standard automated assessments exist for this change.
Open questions / not found
- Whether the branch's merge base is current
main(which would make the5a8ceed→6aff33c4diff a stale-comparison artifact only) or predates #707 (which would make this a silent revert of #707's pin). Not resolvable with the tools available:search_historyfails and the servedmainsnapshot predates #707. - Whether
6aff33c4is still FlashInfer's relevant tip: #723's comment names530e2473for FlashInfer #217. - Whether the installed FlashInfer
_roce_proxy.c(not opened) at6aff33c4is byte-identical to the vendoredhelios/native/roce_proxy.cbody — the parity test would answer this and has not run. - No in-repo issue, recipe, or reproduction for the GDN failure could be found; the motivating checkpoint and recipe are both external and unattested in this repository.