HomeNews

Yandex FLAMIA Kernel Hits 2x Backward Speedup on Blackwell

Rishi
Rishi
•
Nov 3, 2026 5:19 PM
•
0
 min read
Select Emergent as your Preferred news source
Yandex FLAMIA Kernel Hits 2x Backward Speedup on Blackwell

💡 TL;DR

  • Yandex Research released FLAMIA, open-source microscaling attention kernels for NVIDIA Blackwell B200 and B300 GPUs with up to 2x backward-pass speedup.
  • The NVFP4 backward path achieves 1.22 to 2.01x speedup on B200; combined forward and backward calls gain 1.10 to 1.42x on B200.
  • Validation on a 1B model over 100B tokens shows under 0.001 final loss drift versus BF16 baseline, code published on GitHub.

Yandex Research officially launched FLAMIA on November 3, 2026, a family of microscaling attention kernels engineered for NVIDIA Blackwell B200 and B300 GPUs. The release targets transformer training workloads, delivering combined forward and backward speedups of 1.10 to 1.42x on B200 and 1.06 to 1.42x on B300. The NVFP4 backward path alone reaches 1.22 to 2.01x on B200 and 1.17 to 2.00x on B300 against the fastest baseline tested. Code is published under the yandex-research GitHub organization.

Release Date and Availability

FLAMIA was officially released on November 3, 2026, alongside a technical paper posted on Hugging Face by Fedor Velikonivtsev, Mikhail Koltakov, and Denis Kuznedelev. The kernels support MXFP8 and mixed NVFP4/FP8 precision formats, addressing the unique characteristics of NVIDIA's fifth-generation tensor cores in the Blackwell architecture. Source code is available at github.com/yandex-research/flamia-blackwell-attention, enabling researchers and engineers to integrate the kernels into custom training pipelines.

Performance Benchmarks

The authors tested FLAMIA across multiple sequence lengths and batch configurations on both B200 and B300 hardware. Key results include:

  • MXFP8 attention: 1.10 to 1.40x combined forward and backward speedup on B200, 1.06 to 1.42x on B300
  • NVFP4 backward pass: 1.22 to 2.01x on B200, 1.17 to 2.00x on B300 versus FlashAttention-4 baseline
  • Validation run: 1B-parameter Llama-style model trained over 100B FineWeb-Edu tokens

Final loss metrics showed marginal drift: 2.8876 for the BF16 FlashAttention-4 baseline, 2.8884 for MXFP8, and 2.8885 for mixed NVFP4/FP8. The delta represents less than one thousandth of absolute loss increase, suggesting the precision trade-off remains within acceptable bounds for large-scale pretraining.

Engineering Challenges

The paper documents two critical failure modes the team encountered during development: causal information leakage through shared microscaling exponents and numerical inconsistencies between forward and backward passes. A tiling mismatch of 256 queries on the diagonal versus 128 queries in one stress test pushed gradient norm from 0.5 to 2×10⁵, rendering the kernel unstable. Training loss appeared normal under the leaky kernel until the model was re-evaluated with exact causal attention, where reported numbers drifted from 0.811 to 0.940. The authors corrected these issues by aligning tile dimensions and isolating scale computation within causal boundaries.

Development Process

Yandex Research disclosed that Claude and Codex assisted in writing the kernels, with the human authors designing methods, specifying and reviewing every code change, and validating output through tests and measurements. This collaborative approach reflects the growing role of AI tools in systems programming, particularly for CUDA kernel optimization where subtle bugs can cascade into catastrophic numerical failures. The release lands in a busy stretch of open-source training-system work, joining recent efforts such as EPFL and NYU's Library of Layers project.

What This Means

FLAMIA extends the open-source toolkit for training on NVIDIA Blackwell hardware, offering a path to faster iteration cycles without sacrificing model quality. The 2x backward speedup on NVFP4 is particularly relevant for teams constrained by GPU-hour budgets, as backward passes typically dominate training time in large language model workloads. By publishing both code and detailed failure-mode analysis, Yandex Research provides a blueprint for other labs targeting microscaling precision on next-generation accelerators. The marginal loss drift observed in validation suggests FLAMIA can slot into existing training stacks with minimal risk, though teams should validate convergence on their own datasets before committing to production runs.

About the writer

Rishi drives Product and Growth at Emergent, bringing 11+ years of experience building and scaling products across fintech and consumer platforms. He previously co-founded Truly Rural and was Head of Product at Nigeria Fintech. Rishi holds an MBA from IIM Indore.

Start Building
on Emergent today
Try Emergent