Sentence Transformers v5.7.0 released: fixes gradient caching, boosts training & inference speed

tomaarsen · x · 2026-08-06

Sentence Transformers v5.7.0 has been released with a focus on correctness and performance. The update overhauls gradient-cached losses (fixing silently wrong gradients and achieving up to 3.9x faster training) and ensures model.compile() actually speeds up inference. It also includes a long list of other bug fixes.

Related event: Sentence Transformers v5.7.0 Fixes Gradient Bugs and Boosts Speed(3 posts)→

Original post →

More from coding & agent

coding & agent channel →