
💥 Flash Linear Attention brings together hardware-efficient building blocks, training-ready layers, and components for modern sequence models, spanning linear attention, sparse attention, state space models, and hybrid LLM architectures. All implementations are platform-agnostic and verified on NVIDIA, AMD, and Intel hardware. Pull requests are welcome!
fla (paper) — parameterized local linear attention: softmax attention with a learned first-order correction from a secondary query-side stream.fla (blog) — full softmax attention with a learned per-channel multiplicative decay, a RoPE-free positional encoding from Tilde Research.fla (paper) — decouples erase and write gates into independent channel-wise gates on top of KDA.fla (repo).fla.fla (paper).fla (paper).fla, with FlashMoBA backend support.fla's attention kernels.fla (paper).fla (paper).fla (paper).fla (paper).fla (paper).fla (paper).Older news
fla (paper).fla (paper).fla (paper).fla (paper).fla (paper).initializer_range to the magic 🐳 0.006~~ The initializer_range was rolled back to the default value of 0.02. For actual training, we recommend trying both.fla. See kernels here.torchtitan-based training framework. Check out the flame repo for more details.fla.flash-bidirectional-attention to fla-org (repo).fla (paper).fla now officially supports kernels with variable-length inputs.fla now provides a flexible way for training hybrid models.flame, a minimal and scalable framework for training fla models. Check out the details here.fla now includes a fused linear and cross-entropy layer, significantly reducing memory usage during training.fla (paper).fla (paper).fla v0.1: a variety of subquadratic kernels/layers/models integrated (RetNet/GLA/Mamba/HGRN/HGRN2/RWKV6, etc., see Models).fla, offering a collection of implementations for state-of-the-art linear attention models.$ claude mcp add flash-linear-attention \
-- python -m otcore.mcp_server <graph>