Repository navigation
Qwen3.8-Flash-Next EXL3: native packed CoopMK MoE on current main (M5) - #160
Conversation
|
All contributors have signed the CLA. Thank you! |
|
I have read the CLA Document and I hereby sign the CLA |
|
recheck |
… recipes (Atlas-Inf#65) - EXL3 CoopMK Trellis MoE: Keep all 512 routed experts + shared expert packed in memory without runtime NVFP4 requantization; bind CoopMK runtime-K cooperative decode kernels for sm_121. - Device-resident QSA selection: Implement capturable device selection arm (ATLAS_QSA_DEVICE=1) for Qwen3.8-Flash-Next indexer. - M-row EXL3 dense GEMV and batched verify support across K=2..8 verify windows. - In-tree serving documentation: Provide single-GPU --features cuda build recipe and full 262K native context recipes in docs/recipes/exl3-qwen4exp-gb10.md.
14962b8 to
9faa01d
Compare
|
Thanks for M5. Before this goes further, one cross-platform blocker and one measured data point, both from the AMD side. Blocker: Flash-Next MTP verify breaks on AMD (strix-hip, Linux and Windows).
Measured data point: the same two kernels are slower on gfx1151. These match the token-fused kernels Claude benchmarked in closed #154 (strix job 146, gfx1151, ROCm 7.13). They were bit-identical, but 0.69× at T=2:
The reason: one warp per rank row re-reads Two smaller notes:
GB10 gate for the EXL3 path: we can queue it on reiner once that box is reachable again; it went offline today. On our side it needs EXL3 boot + byte-identity on the NVFP4 Flash-Next probes (the NVFP4 path is touched in |
0ed05a3 to
97cef8d
Compare
|
Verification pass on GB10 (SM121) — this works end to end on real hardware: What verified
Accuracy — correction on the earlier 43.92%
For reference the NVFP4 ckpt legs land ~81.6 and the bf16/unsloth ~84 — so EXL3 trails ~3-6pts. Worth a look whether that's expected quant loss or something the trellis/CoopMK path can reclaim — parallel_multiple and the java/js legs are where it dips. Prefill is the bigger gap Merge state cc @vcruz305 — happy to put my agents on the prefill profile if you want eyes on it |
|
Maintainer pass-through (2026-11-02). This PR can't merge as it stands.
Main has reworked these areas since this branch was cut: qwen4_exp MTP, the qwen3_attention decode path, MoE forward, QSA, the verify pipeline, and the 500-LoC file-size cap.
Leaving this open for the author. Please rebase onto main (merge commits are fine) and ping here. |
|
This branch now conflicts with main, which has moved a lot since October (#333's Qwen3.8-27B exact-verify series, #335, #337, #343 and the Ripple series via #334). Could you rebase onto current main? I'll then test it on one GB10 (sparky): |
Integrate upstream QSA, MTP, attention, and scheduler changes, remove overlapping optional optimizations, retain packed trellis/CoopMK MoE and MTP expert loading, and bring EXL3 helper files within the size cap.
|
@AzeezIsh I've merged current main ( I narrowed the PR to the native packed-EXL3 MoE/CoopMK path plus packed MTP expert loading and the GB10 recipe. The older grouped-prefill, dense-GEMV, standalone device-QSA, and HC fast-path experiments are no longer part of the PR delta; the current upstream QSA/MTP/verify paths are retained. No new throughput claims. Local validation: Checkpoint for sparky: Would appreciate your single-GB10 EXL3/greedy/MTP smoke and the agentic-50 + BFCL ST-995 gates you offered. Thanks! CI approval note: The new fork PR workflow runs (including CI and Kernel compile) currently show |
|
Merged after testing it on one GB10 (sparky), covering the GB10 items your description lists as pending. Byte-identical control on the existing deployment (Flash-Next NVFP4): main
Native EXL3 (
CI: cargo test, clippy and fmt pass (I approved the fork's workflow runs). The LoC errors are main's existing over-cap files. One new rustdoc error from this PR: Receipts: |
…c links docs: escape the [H] shape brackets #160 left as intra-doc links
Summary
M5 of #65: native packed EXL3 MoE for Qwen3.8-Flash-Next on one GB10 (SM121). Routed and shared experts remain in packed EXL3 trellis form; native CoopMK runs MoE decode without resident NVFP4 expert requantization. Other dense linears continue to materialize to BF16 at load.
Merged current main into this PR with merge commit e97a57d. The feature diff was narrowed from 75 changed files to 34, preserving only native packed MoE, CoopMK integration, MTP packed-expert loading, and the minimal 262K recipe. Current main supplies the QSA, attention, MTP proposal, and scheduler/verify paths.
Deferred from this PR: experimental grouped packed-EXL3 prefill, native dense EXL3 GEMV, the separate device-QSA arm, optional HC fusion, and extra speculative tuning. No new performance claim is made.
Validation (integration workspace)
Remaining GB10 gate
Use HF checkpoint turboderp/Qwen3.8-Flash-Next-exl3 at revision 3.05bpw_h5_ng5 (previously tested by the maintainer). Resolve to an immutable HF commit SHA for the final test record. The original 4.05 bpw checkpoint can also be tested as needed for #65.
Pending on GB10: native EXL3 boot and greedy consistency, speculative MTP/K-row verification, byte-identical controls on existing Qwen3.8 deployments, and agentic-50 / BFCL ST-995 where applicable. See docs/recipes/exl3-qwen4exp-gb10.md for the minimal build/serve recipe.
CLA