Sentence Transformers Doubles Embedding Throughput with Flash Attention 2
Sentence Transformers maintainer tomaarsen announced that enabling Flash Attention 2 with automatic input unpadding roughly doubled embedding throughput to about 450 sentences per second, up from around 20 with SDPA. He also appealed for stars as the project, currently at 19.3k, aims to break the 20k milestone.
2026-12-02 ~ 2026-12-02 · 2 related posts
- Sentence Transformers nears 20k stars; Flash Attention 2 doubles throughput to ~450 passages/s — tomaarsen · 2026-12-02
- Flash Attention 2 kernels nearly double Sentence Transformers throughput to ~450 passages/s — tomaarsen · 2026-12-02