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