FlashQLA: Flash Qwen Linear Attention

FlashQLA is an open-source Qwen Infra project I worked on during my research internship at Alibaba Cloud. It provides high-performance linear attention kernels for Qwen, with a focus on GDN Chunked Prefill.

The public release describes FlashQLA as a TileLang-based kernel library that applies operator fusion and performance optimization to both forward and backward passes. Compared with the FLA Triton kernel, the README reports 2-3x forward speedup and 2x backward speedup across multiple scenarios on NVIDIA Hopper and Blackwell GPUs.

Key ideas include gate-driven intra-card context parallelism, hardware-friendly algebraic reformulation, and TileLang fused warp-specialized kernels. My work focused on efficient inference infrastructure for Qwen, including GPU-kernel-oriented optimization and benchmarking for linear attention workloads.

See the GitHub repository and Qwen blog post for more details.

FlashQLA overview

Project link: https://github.com/QwenLM/FlashQLA

Nifty tech tag lists from Wouter Beeftink