AIToday

New Triton kernel reduces attention dispatch overhead by 40% to unlock real-world speedups from Vision Transformer token pruning

arXiv cs.LGApr 20, 20261 min read

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. Token pruning methods promise quadratic FLOP reductions in Vision Transformers but fail to translate into actual wall-clock speedups due to dispatch overhead consuming 60-90 microseconds

  2. FlashAttention-2's varlen and PyTorch's NestedTensor SDPA struggle with short post-pruning sequences (≤197 tokens) where actual computation finishes in single-digit microseconds

  3. Researchers developed a lightweight bidirectional Triton attention kernel with a 40-microsecond dispatch floor—roughly 1.5x lower than FlashAttention-2 varlen

  4. Complete pack-attend-unpack pipeline achieves up to 2.24x end-to-end throughput improvement over padded PyTorch SDPA baselines

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →