Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels
18 Mar · Maximilian Beck, Korbinian Pöppel, Phillip Lippe +1 · arXiv:2503.14376
Linear RNNs with gating recently demonstrated competitive performance compared to Transformers in language modeling. Although their linear compute scaling in sequence length offers theoretical runtime advantages over Transformers, realizing these benefits in practice requires optimized custom kernels, as Transformers rely on the highly efficient Flash Attention kernels (Dao, 2024). Leveraging the chunkwise-parallel…