Flash Attention 2 kernels nearly double Sentence Transformers throughput to ~450 passages/s
tomaarsen · x · 2026-12-02
Sentence Transformers maintainer tomaarsen reports that Flash Attention 2 with automatic input unpadding boosts embedding throughput from 200 to 450 passages/s versus SDPA.
The 50% gain comes from Qwen RMSNorm, Rotary, and SiLU kernels that are downloaded and applied automatically in transformers. He expects further gains as the community keeps building better kernels.
Related event: Sentence Transformers Doubles Embedding Throughput with Flash Attention 2(2 posts)→
More from Infra
- Just two pip installs: ~50% embedding speedup as kernels become the default — tomaarsen · 2026-12-02
- China's CXMT Launches 32Gb DDR5 Chips, 192GB Modules at 12800 MT/s Challenge Big Three — AIFlow_ML · 2026-12-02
- Enterprise AI: inference economics matter more than loyalty to one chip vendor — DavidLinthicum · 2026-12-02
- AI-built LLM inference engine boots 50x faster, beats tuned vLLM on throughput — McDonaghMatthew · 2026-12-02
- Sarvam AI's MXFP8 causal attention kernel boosts long-context training throughput by 4.9% — itsOmSarraf_ · 2026-12-02
- Autonomous sells $19,900 backyard WorkPod with optional dual RTX 5090 AI computer — dee_hw · 2026-12-02