Repository navigation
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.