FLAMIA: FLAsh MIcroscaling Attention for Fast and Causally Safe Training on Blackwell
TL;DR - FLAMIA introduces low-precision attention kernels optimized for NVIDIA Blackwell GPUs, accelerating Transformer training while preventing causal leakage and preserving numerical consistency.
- Supports MXFP8 and mixed NVFP4/FP8 training paths with fused quantization.
- Uses token-block and document-local scaling to avoid scale-induced leakage in causal attention.
- Handles variable-length packed documents directly without repacking.
- Accelerates forward-plus-backward attention by 1.10–1.40× on B200 and 1.06–1.42× on B300 versus evaluated baselines, while preserving Llama-style pretraining stability and quality.