#1 [high] PR #731 core facts
PR #731 (head a558dcda, branch flashinfer-qwen4-gdn-ratio) = 1 line, pyproject.toml:47 (+1/-1):
[tool.uv.sources] flashinfer-python git rev 1441ce86... -> 6aff33c4a6500a10c32916f3c2e6987e708cec92
Feeds the prepare extra: pyproject.toml:25 "flashinfer-python[b12x]" (all ignition[prepare] envs + .github/workflows/python-cpu.yml:29-33).
Two bundled upstream commits: adb09a82 (local-inference-lab/flashinfer#215 = GDN 2:1 value-head ratio + H=2048 hyper-connection/MTP shapes) and 6aff33c4 (#217 = cooperative SM budget + green-context grid-stride safety for b12x MoE).
Claim: ignition export of qwen4-35b-a3b (16 key heads / 32 value heads GDN) fails at old pin with "GDN prefill requires three value heads per key head"; new pin prepares 72 graphs + serves C=1/2/4 incl 120k-token prompt on RTX 5090 Laptop SM120 24GiB.
Claim: no re-vendor of helios/native/roce_proxy.c; author ran CPU parity (2 passed) and full pytest 2621 passed/480 skipped at a558dcd.
NOT claimed: no speedup. Explicitly untested: other recipes, SM103/SM121, other devices, the #217 MoE effect ("measured only through the Qwen4-35B-A3B export").
Review verdict: Ready To Merge (re-review a558dcd), prior blocker (unrun CPU suites) resolved. Charts/walkthrough: docs/design-review.md:247-251 non-waivable CPU rule.
#2 [high] HW facts needed for the plan
cn5: 4x RTX PRO 6000 Blackwell Max-Q, 96 GiB each, amd64, job=48 CPU/125 GiB RAM/16 GiB scratch. Models: facebook/dinov2-base, local-inference-lab/GLM-5.3-Flash-NVFP4, nvidia/GLM-5.3-Flash-NVFP4, timm/vit_base_patch14_dinov2.lvd142m. cn7: 1x GB10, arm64, job=10 CPU/60 GiB/16 GiB scratch, busy: running run 17. Models include nvidia/Qwen3.8-Flash-Next-FP4-Local, local-inference-lab/GLM-5.3-Flash-NVFP4, zai-org/GLM-5.3-Flash, nvidia/GLM-5.3-Flash-FP4-Local, gemma-4-26B-A4B-it, gemma-4-E4B-it, MiniMax-M3.1-Flash, MiMo-V2.6-*, Step-5-Preview-NVFP4, Nemotron Bolt 74B-A9B-24GB, incoai/Qwen3.8-27B-DFlash2, nvidia/Qwen3.8-27B-NVFP4, nvidia/Qwen3.8-Flash-Next-FP4-Local.
NO Qwen4-35B-A3B checkpoint on either machine and the qwen4 recipe lives in the external repo local-inference-lab/hyperflare-recipes (docs/model-preparation.md:316-336) -> the claimed GDN fix CANNOT be validated end-to-end on available HW. Arch mapping: RTX PRO 6000 Blackwell = SM120 (docs/cli-design.md:6-7, docs/core-design.md:3 SM103/SM120/SM121); GB10 = SM121 (docs/model-preparation.md:484-485: "DGX Spark's GB10 is SM121"; an SM120 core does not satisfy the arch check). TP sizing declared in repo: GLM-5.3-Flash = TP4 (tests/fixtures/codec_geometry/glm53-tp4-mtp5; docs/model-preparation.md:171-172 "Qualified ... GLM at TP4"); Qwen3.8 Flash = TP1/TP2 (fixtures qwen38-tp1/tp2). GDN recipe = Qwen3.8 Flash only (docs/core-design.md:356 "GDN recurrence"; docs/mtp-design.md:85 "GDN's ordinary checkpoint path supports Qwen's 16 key heads and 48 value heads" = 3:1, NOT the 2:1 the PR fixes). GLM 5.3 = KDA recurrence (docs/core-design.md:357), i.e. GLM does NOT exercise GDN.
#3 [high] Repo mechanics for the test plan
- .github/workflows/python-cpu.yml:25-33 = the CPU gate:
uv sync --extra prepare --extra test(BUILD_NVEP=0, FLASHINFER_BUILD_NO_PIP=1; note NO --locked, repo has no uv.lock) thenCUDA_VISIBLE_DEVICES="" .venv/bin/python -m pytest tests/ -q; :34-41 heliopause cargo lib test. - tests/preparation/test_roce_proxy_parity.py:35-65 compares helios/native/roce_proxy.c lines 10..EOF byte-for-byte to installed flashinfer/experimental/b12x/comm/roce/_roce_proxy.c (PROVENANCE_LINES=9, :17). Second test :68-143 = create_roce_runtime gid_indices behaviour.
- CPU-only suites: no GPU/model needed (docs/design-review.md:180-186 layers; :247-251 "Disclosure does not excuse skipping runnable CPU checks").
- GPU tests gated by FLARE_RUN_CUDA_TESTS=1 (AGENTS.md:302). E.g. tests/preparation/test_runtime_core.py:383-395 test_cooperative_core_clamps_to_device_capacity = launches helios/tests/cooperative_core_fixture.py then
cargo test --manifest-path helios/Cargo.toml --no-default-features --features runtime-core --lib oversized_cooperative_grids_replay_at_device_capacity -- --ignored. exercises Helios's own cooperative grid clamping — no FlashInfer involved, so it validates the area #217 touches only indirectly. ignition benchsupports only Qwen3.8-27B DFlash2, Kimi K3.1 Pro DSpark, Nemotron Bolt (docs/performance-work.md:15-17); requires --verify-width 8|16 with --mtp-draft-tokens 7|15 (ignition/cli/bench.py:106-108) and recipe.benchmark_world_sizes (bench.py:153-154) -> NOT available for GLM-5.3-Flash by default.- Measurement path for an exported core:
flare run CORE+ GET /metrics (helios/src/server.rs:602). Decode round rate = Δflare_speculative_rounds_total / Δflare_speculative_gpu_nanoseconds_total * 1e9 (docs/performance-work.md:48-52). Prefill timing helper: scripts/benchmark_prefill.py (:15-56, one uncached prompt, 1 output token, prints tok/s). - Forward/prep cache partitioning: aot.py:890-900 hashes flashinfer *.py sources + multi_processor_count; source_identity.py:103-105 hashes flashinfer data/include+csrc; cli/environment.py:25-34 puts FLASHINFER_WORKSPACE_BASE under sha256(package path) -> two pins in two venvs do NOT alias kernels/forwards. But kernel_cache/[paths] and core_cache sizes matter: job scratch is only 16 GiB on both machines.
- Export/serve baseline commands: uv sync (+ BUILD_NVEP=0 FLASHINFER_BUILD_NO_PIP=1), cargo build --release --manifest-path flare-cli/Cargo.toml (docs/model-preparation.md:70-75),
ignition export MODEL --gpus ...thenignition convert CACHE_ENTRY --form packed --output Xthenflare run X --gpus ...(docs/model-preparation.md:279-305, 437-453, 518-526). Dev signing key auto-created when [publishing] absent (model-preparation.md:51-54). - Recipes are NOT in this repo (
ignition/recipes/absent); official recipes live in local-inference-lab/hyperflare-recipes (AGENTS.md:253-266, docs/model-preparation.md:316-336) and that repo's uv.lock pins ignition c513e46 + flashinfer 5a8ceed, whose fresh sync fails with ImportError AsyncTransferChannel (PR body "Follow-up").
#4 [high] Test-plan design decisions and hazards
- The PR claims NO speedup. It claims a functional result: export completes + core serves. So "measure the claimed speedup" = nothing to measure. The only quantitative question left open is whether bundled FlashInfer #217 (b12x MoE cooperative SM budget / green-context grid-stride) regresses graph latency, which the author says was "measured only through the Qwen4-35B-A3B export".
- Hence the numeric test should be a non-inferiority guard, not a speedup hunt. docs/performance-work.md:3-7 requires same checkpoint/GPU/precision/graph capacity/sampling/cache conditions; :15-24
ignition bench= complete prepared speculative graph rounds with no export and no HTTP, supported for Qwen3.8-27B DFlash2, Kimi K3.1 Pro DSpark, Nemotron Bolt. bench.py:57-59 --output writes raw samples; :106-108 needs --verify-width 8|16 with --mtp-draft-tokens 7|15; :131-146 prints per-case median + p25-p75 + equal-weight mean. - GDN in-repo coverage: ONLY Qwen3.8 Flash (core-design.md:356); GLM 5.3 is KDA (core-design.md:357). Qwen3.8 Flash = 16 key/48 value heads = 3:1 (mtp-design.md:85), i.e. it passes the caps check at BOTH pins -> it is the natural regression model for adb09a82's GDN + "H=2048 hyper-connection and MTP feedback shapes", not a reproduction of the 2:1 fix. Stored: 59.94 GiB routed experts, 66.82 GiB GPU-bound w/o MTP, 26.82 GiB PLE tables (core-design.md:682-692) -> TP2 on cn5 fits; PLE is disk/RAM.
- b12x MoE exposure on available HW: GLM-5.3-Flash (512 routed experts/layer, core-design.md:376; TP4 per fixtures+model-preparation.md:171-172), Gemma-4-26B-A4B (alias gemma-4-26b-a4b, model-preparation.md:332; on cn7), Nemotron Bolt 74B-A9B-24GB (on cn7; bench-supported).
- HAZARD: B12X_COMPILE_CACHE_DIR is kernel_cache/"b12x" with 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) -> two pins sharing one kernel_cache can reuse the other arm's binaries. Must use a separate [paths] kernel_cache (and core_cache) per arm: config sections in ignition/cli/config.py:22-33.
- HAZARD: job scratch is 16 GiB on both machines; one venv holds torch 2.14.1+cu132 + flashinfer built from source. Do NOT build two venvs — flip pyproject.toml:47 in place and
uv sync --extra prepare --extra test --reinstall-package flashinfer-python(what scripts/setup_preparation.py:17-28 does), one arm at a time. - HAZARD: CI shape is ubuntu-24.04 x86-64 (.github/workflows/python-cpu.yml:14); a from-source flashinfer build on cn7's arm64/GB10 is unproven -> if it fails, drop the SM121 arm rather than burning time.
- HAZARD: qwen4-35b-a3b recipe lives in local-inference-lab/hyperflare-recipes whose uv.lock pins ignition c513e46/flashinfer 5a8ceed and a fresh uv sync there currently fails with ImportError AsyncTransferChannel (PR body follow-up) -> must install ignition from the PR branch into that env.
- Pre-merge free check: confirm 6aff33c4 is merged on local-inference-lab/flashinfer main (no GPU).
#5 [high] Plan tiers, disk math, thresholds
DISK: both jobs get only 16 GiB scratch. Qwen3.8 Flash checkpoint = 95.12 GiB stored (59.94 routed experts / 26.82 PLE / 6.57 other / 1.49 MTP), 66.82 GiB GPU-bound w/o MTP (docs/core-design.md:682-692). So a single TP2 core does not fit in job scratch -> Step-0 preflight must measure free space on the largest writable volume and point [paths] core_cache/kernel_cache/hub_cache there. --reuse-weights hardlinks cached weight payloads (docs/model-preparation.md:33-37) so the SECOND arm's core costs only new cubins+graphs, not a second weight copy -> twin-arm A/B is disk-feasible at ~1x core size. Recipe lives externally -> hyperflare-recipes at d248db6 (PR body) with ignition installed from the PR-head checkout; that repo's uv.lock (ignition c513e46) must be bypassed (ImportError AsyncTransferChannel).
Decisive-but-impossible-here test: ignition export qwen4-35b-a3b (recipe 'qwen4-35b-a3b' in hyperflare-recipes) at 1441ce86 expect "GDN prefill requires three value heads per key head" in gdn_prefill.Caps; at 6aff33c4 expect 72 graphs + core. No Qwen4-35B-A3B checkpoint on cn5/cn7 -> cannot run. Substitute regression model for the adb09a82 GDN/H=2048 path = qwen3.8-flash (only GDN recipe in repo; 16k/48v heads = 3:1 -> passes caps at BOTH pins; it is the "must not break" side, not the 2:1 fix).
Tier 3 (cheap GPU smoke, ~5-10 min, no model): FLARE_RUN_CUDA_TESTS=1 CUDA_VISIBLE_DEVICES= pytest on tests/preparation/test_runtime_core.py tests/test_compilation.py tests/components/test_sampling_flashinfer.py tests/preparation/test_scratch_cuda.py, plus the ignored Helios test oversized_cooperative_grids_replay_at_device_capacity (tests/preparation/test_runtime_core.py:383-395) which runs Helios's own cooperative-grid clamp path.
Thresholds: repo's own publication bar "within 2% of baseline" (docs/prefix-cache-offload.md:1761). Cross-pin byte-identical logits is NOT a valid criterion (atomic/variable-order reductions allowed, docs/core-design.md:406-408) -> use same-arm repeatability control.
No malicious content / no attempt to direct the reviewing agent in PR material.