Repository navigation
Conversation
|
A case file has been opened for 731. Future reviews will auto-run 90 minutes after code updates are pushed.
|
Autobot ReviewFull Review · Value Proposition · Case File Recommendation: Changes RequestedThis one-line pin bump in
Walkthrough
Merge Risk: Medium · up to
|
Why: `ignition export` of the Qwen4-35B-A3B recipe (`qwen4-35b-a3b` in local-inference-lab/hyperflare-recipes) cannot complete on SM120 with the flashinfer-python revision this repository pins. Qwen4-35B-A3B has two Gated DeltaNet value heads per key head (16 key heads, 32 value heads). At the pinned revision 1441ce86 the b12x GDN prefill capability check accepts only three, so decoder preparation raises "GDN prefill requires three value heads per key head" before any graph is captured. FlashInfer added the 2:1 ratio and the H=2048 hyper-connection and MTP feedback shapes this model needs in adb09a82 (local-inference-lab/flashinfer#215). `ignition[prepare]` resolves flashinfer-python from this pin, so recipe environments inherit the older revision even when they track FlashInfer main. What changed: `pyproject.toml` pins flashinfer-python at local-inference-lab/flashinfer 6aff33c4a6500a10c32916f3c2e6987e708cec92 instead of 1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e. The new revision is two commits ahead: adb09a82 (local-inference-lab/flashinfer#215, Qwen4-35B-A3B shapes) and 6aff33c4 (local-inference-lab/flashinfer#217, cooperative SM budget and green-context grid-stride safety for b12x MoE). Both are on FlashInfer main. Neither changes `flashinfer/experimental/b12x/comm/roce/_roce_proxy.c`, the source vendored in `helios/native/roce_proxy.c`, so no re-vendoring is needed. Result: with the new pin, a Qwen4-35B-A3B export on an RTX 5090 Laptop GPU (GB203, SM120) completes and the exported core serves requests. This is an observed result for that one model and device; behavior of the other recipes at the new revision is expected to be unchanged for shapes they already used but was not measured. Evidence: on an RTX 5090 Laptop GPU (GB203, SM120, 24 GiB), with ignition and flare-heliopause built from f705086 and hyperflare-recipes at d248db6, I ran `ignition export CHECKPOINT --gpus 0 --tiered-moe-offload --offload-predictor direct --offload-extents-dir DIR --max-concurrency 4 --prefill-chunk-size 2048 --speculative-method mtp --mtp-draft-tokens 5 --speculative-token-capacity 128 --image-concurrency 4 --autotune-effort off --compile-workers 1`, where CHECKPOINT is a local Qwen4-35B-A3B directory in the recipe's NVFP4 layout (trunk experts W4A4, MTP experts W4A16) that the recipe resolves to `qwen4-35b-a3b`. With flashinfer-python 1441ce86 it fails in `gdn_prefill.Caps` with the error quoted above. With 6aff33c4 it prepares 72 graphs and exports the native core, and `flare run` on that core answers chat completions at concurrency 1, 2 and 4, including a 120,000-token prompt. CPU checks at this commit, following `.github/workflows/python-cpu.yml` on an x86-64 Linux host without a GPU: after `BUILD_NVEP=0 FLASHINFER_BUILD_NO_PIP=1 uv sync --extra prepare --extra test` the installed flashinfer-python is 6aff33c4; `tests/preparation/test_roce_proxy_parity.py` passes (2 passed), so the vendored proxy is byte-identical to the pinned FlashInfer source; and `CUDA_VISIBLE_DEVICES="" .venv/bin/python -m pytest tests/ -q` gives 2621 passed, 480 skipped. `cargo test --locked --release --manifest-path heliopause/Cargo.toml --lib` gives 233 passed, 1 failed, 6 ignored. The failing test is `export::blob::tests::verified_inode_mutation_is_rejected_before_link`. Run alone three times per revision on the same host, it fails 3 of 3 times on main at 22d2ac9 (pin 1441ce86) and 1 of 3 times at this commit. The two trees differ only in this pin and the test does not use FlashInfer, so the failure is intermittent on that host and does not depend on the pin. Not run: the other Rust crate suites, the simulator, TLA+ and Kani checks (this commit changes no Rust source or protocol), any GPU test (the 480 skipped tests), any other recipe, SM103 and SM121 devices, and the export with commits after f705086 (those change flare-winui, packaging and CI files only). 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. Design-Signed-Off-By: Claude Code (Claude Fable 5.2); design-review=2e5b Signed-off-by: Avi Fenesh <aviarchi1994@gmail.com>
e015d55 to
a558dcd
Compare
Autobot ReviewFull Review · Value Proposition · Case File Recommendation: Ready To MergeThe prior blocker from
Walkthrough
Merge Risk: Medium · up to
|
Why:
ignition exportof the Qwen4-35B-A3B recipe (qwen4-35b-a3binlocal-inference-lab/hyperflare-recipes) cannot complete on SM120 with the
flashinfer-python revision this repository pins. Qwen4-35B-A3B has two Gated
DeltaNet value heads per key head (16 key heads, 32 value heads). At the pinned
revision 1441ce86 the b12x GDN prefill capability check accepts only three, so
decoder preparation raises "GDN prefill requires three value heads per key
head" before any graph is captured. FlashInfer added the 2:1 ratio and the
H=2048 hyper-connection and MTP feedback shapes this model needs in adb09a82
(local-inference-lab/flashinfer#215).
ignition[prepare]resolves flashinfer-python from this pin, so recipeenvironments inherit the older revision even when they track FlashInfer main.
What changed:
pyproject.tomlpins flashinfer-python atlocal-inference-lab/flashinfer 6aff33c4a6500a10c32916f3c2e6987e708cec92 instead
of 1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e. The new revision is two commits
ahead: adb09a82 (local-inference-lab/flashinfer#215, Qwen4-35B-A3B shapes) and
6aff33c4 (local-inference-lab/flashinfer#217, cooperative SM budget and
green-context grid-stride safety for b12x MoE). Both are on FlashInfer main.
Neither changes
flashinfer/experimental/b12x/comm/roce/_roce_proxy.c, thesource vendored in
helios/native/roce_proxy.c, so no re-vendoring is needed.Result: with the new pin, a Qwen4-35B-A3B export on an RTX 5090 Laptop GPU
(GB203, SM120) completes and the exported core serves requests. This is an
observed result for that one model and device; behavior of the other recipes
at the new revision is expected to be unchanged for shapes they already used
but was not measured.
Evidence: on an RTX 5090 Laptop GPU (GB203, SM120, 24 GiB), with ignition and
flare-heliopause built from f705086 and hyperflare-recipes at d248db6, I ran
ignition export CHECKPOINT --gpus 0 --tiered-moe-offload --offload-predictor direct --offload-extents-dir DIR --max-concurrency 4 --prefill-chunk-size 2048 --speculative-method mtp --mtp-draft-tokens 5 --speculative-token-capacity 128 --image-concurrency 4 --autotune-effort off --compile-workers 1, whereCHECKPOINT is a local Qwen4-35B-A3B directory in the recipe's NVFP4 layout
(trunk experts W4A4, MTP experts W4A16) that the recipe resolves to
qwen4-35b-a3b. With flashinfer-python 1441ce86 it fails ingdn_prefill.Capswith the error quoted above. With 6aff33c4 it prepares 72graphs and exports the native core, and
flare runon that core answerschat completions at concurrency 1, 2 and 4, including a 120,000-token prompt.
CPU checks at this commit, following
.github/workflows/python-cpu.ymlon anx86-64 Linux host without a GPU: after
BUILD_NVEP=0 FLASHINFER_BUILD_NO_PIP=1 uv sync --extra prepare --extra testthe installed flashinfer-python is6aff33c4;
tests/preparation/test_roce_proxy_parity.pypasses (2 passed), sothe vendored proxy is byte-identical to the pinned FlashInfer source; and
CUDA_VISIBLE_DEVICES="" .venv/bin/python -m pytest tests/ -qgives 2621passed, 480 skipped.
cargo test --locked --release --manifest-path heliopause/Cargo.toml --libgives 233 passed, 1 failed, 6 ignored. The failingtest is
export::blob::tests::verified_inode_mutation_is_rejected_before_link.Run alone three times per revision on the same host, it fails 3 of 3 times on
main at 22d2ac9 (pin 1441ce86) and 1 of 3 times at this commit. The two trees
differ only in this pin and the test does not use FlashInfer, so the failure
is intermittent on that host and does not depend on the pin.
Not run: the other Rust crate suites, the simulator, TLA+ and Kani checks
(this commit changes no Rust source or protocol), any GPU test (the 480
skipped tests), any other recipe, SM103 and SM121 devices, and the export
with commits after f705086 (those change flare-winui, packaging and CI files
only). 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.
Follow-up outside this PR:
uv.lockin local-inference-lab/hyperflare-recipes pins ignition at c513e46 and flashinfer-python at 5a8ceed. A freshuv syncthere fails the tiered MoE offload export earlier, onImportError: cannot import name 'AsyncTransferChannel' from 'ignition.preparation.execution', so that lock needs an update once this pin is merged.Discord: avi7066