QwenLM/FlashQLA v0.1.4
QwenLM/FlashQLA
Captured source
source ↗published Nov 25, 2026seen 2dcaptured 2dhttp 200method plain
FlashQLA v0.1.4
Repository: QwenLM/FlashQLA
Tag: v0.1.4
Published: 2026-11-25T15:14:49Z
Prerelease: no
Release notes:
FlashQLA v0.1.4
🚀 Highlights
- FP32 / TF32x3 cross-partition correction by @Erix025 — the inter-card
h0/dhtfold now reads the gathered(h, M)buffers through slot maps (no unpack/reindex materialised), and picks FP32 or 3-pass TF32 correction at runtime from a wave-aware heuristic.
- Dual CP on SM120 / SM121 by @caijiqq — combined inter- + intra-card CP for forward and backward on consumer Blackwell, via a new
aggregate_card_state/aggregate_mpair.
- ZigZag inter-card CP layout by @jundaf2 — rank *r* can own chunks *r* and *2·cp−1−r* of each document, matching the placement the attention layers use, with no TileLang kernel changes.
🛠️ Additional Improvements
- Faster KKT solve — 8×8 diagonal-block substitution with merged FP16 MMA and an FP32 recursion, shared by Hopper and Blackwell; follows FlashInfer's blockwise inverse, reimplemented independently in TileLang.
- Explicit warmup —
flash_qla.warmup(...)precompiles every static-arg combination into the TileLang JIT cache. - Simpler CP API —
build_cp_contextenables inter/intra by default, takeszigzag=, and its context is reused across..._fwd/..._bwd;prepare_varlen_metadatacan precompute it for CUDA-graph-safe reuse. - SM120 fixes —
block_DV=64and a__threadfence_blockto stop nvcc hoistingg_exp_shared(@Silhouette-my, #55); the backward barrier now orders thedVstore beforeKreusesdqkv_shared. - AutoCP — SM90/SM100 coefficients refitted for the new kernels, new
sm120.csv, benchmark cases moved to the Qwen3.8 mix. - Tech Report — added the tech report for Auto-CP and Dual-CP details.
📊 Benchmarks
- Benchmark results on SM90 (H200)
- Benchmark results on SM100 (GB200)
- Benchmark results on SM120 (RTX 5090)
- Dual-CP benchmark results on SM90 (H200×8)
- Dual-CP benchmark results on SM100 (GB200×4)
- Dual-CP benchmark results on SM120 (RTX 5090×2)
🙏 Acknowledgements
Special thanks to @Erix025, @minatoyukinaa, @caijiqq, @jundaf2 and @Silhouette-my for their contributions, and to all community members for their valuable feedback. We welcome your continued participation through issues and pull requests.