Qwen(@Alibaba_Qwen)

🚀 Introducing FlashQLA: high-performance linear attention kernels built on TileLang. ⚡ 2–3× forwar...

8.5内容质量
🚀 Introducing FlashQLA: high-performance linear attention kernels built on TileLang.

⚡ 2–3× forwar...

TL;DR · AI 摘要

FlashQLA 是基于 TileLang 的高性能线性注意力内核,提供2-3倍前向加速和2倍后向加速,专为个人设备上的代理AI设计。

核心要点

  • FlashQLA 提供2-3倍前向加速和2倍后向加速。
  • 通过门控驱动的自动片内CP提高SM利用率。
  • 16阶段Warp特化流水线实现高效的后向传递。

结构提纲

按章节快速跳转。

  1. 介绍FlashQLA及其主要性能提升。

  2. 详细说明FlashQLA的关键技术特点。

  3. 描述FlashQLA在不同场景下的性能优势。

  4. 提供FlashQLA的代码库和博客链接。

思维导图

用一张图看清主题之间的关系。

查看大纲文本(无障碍 / 无 JS 友好)
  • FlashQLA: 高性能线性注意力内核

金句 / Highlights

值得收藏与分享的关键句。

#FlashQLA#TileLang#AI加速#线性注意力
打开原文

⚡ 2–3× forward speedup. 2× backward speedup. 💻 Purpose-built for agentic AI on your personal devices.

💡Key insights:

  1. Gate-driven automatic intra-card CP.
  2. Hardware-friendly algebraic https://t.co/4Vhyyw5RuB" / X
Image 1: Square profile picture
Image 1: Square profile picture

Qwen

@Alibaba_Qwen

Image 2: 🚀 Introducing FlashQLA: high-performance linear attention kernels built on TileLang. Image 3: ⚡ 2–3× forward speedup. 2× backward speedup. Image 4: 💻 Purpose-built for agentic AI on your personal devices. Image 5: 💡Key insights: 1. Gate-driven automatic intra-card CP. 2. Hardware-friendly algebraic reformulation. 3. TileLang fused warp-specialized kernels. FlashQLA boosts SM utilization via automatic intra-device CP. The gains are especially pronounced for TP setups, small models, and long-context workloads. Instead of fusing the entire GDN flow into a single kernel, we split it into two kernels optimized for CP and backward efficiency. At large batch sizes this incurs extra memory I/O overhead vs. a fully fused approach, but it delivers better real-world performance on edge devices and long-context workloads. The backward pass was the hardest part: we built a 16-stage warp-specialized pipeline under extremely tight on-chip memory constraints, ultimately achieving 2×+ kernel-level speedups. We hope this is useful to the community!Image 6: 🫶Image 7: 🫶 Learn more: Image 8: 📖 Blog: qwen.ai/blog?id=flashqImage 9: 💻 Code: github.com/QwenLM/FlashQLA

Image 10: Image
Image 10: Image

Made with AI

12:16 PM · Apr 29, 2026

48.8K Views