FLAMIA: low-precision attention kernels for faster training on Blackwell
FLAMIA is a family of attention kernels for NVIDIA Blackwell GPUs with MXFP8 and mixed NVFP4/FP8 training paths. It uses token-block scaling, safeguards against causal leakage through shared scales, and consistent forward/backward numerics, plus native…
Why it matters
Teams pretraining on Blackwell could cut attention cost without quality loss.
What happened
1 min readFLAMIA is a family of attention kernels for NVIDIA Blackwell GPUs with MXFP8 and mixed NVFP4/FP8 training paths. It uses token-block scaling, safeguards against causal leakage through shared scales, and consistent forward/backward numerics, plus native support for packed variable-length documents. The MXFP8 path speeds up the full attention call by 1.06-1.42x on B200 and B300 versus the fastest baseline.
Our analysis
What is new is the attention to causal leakage through shared quantization scales, a problem low-precision kernels rarely address. Speedups are moderate and workload-dependent. Quality validation is only reported on Llama-style models, and the excerpt does not say whether code is released. Worth reading for training-infrastructure engineers.