Just two pip installs: ~50% embedding speedup as kernels become the default

tomaarsen · x · 2026-12-02

Following up on the 50% throughput gain, tomaarsen shows setup is trivial: pip install -U sentence-transformers transformers, then run code as usual. The screenshot demonstrates setting attnimplementation: flashattention2 on Qwen3-Embedding-0.6B and calling encodedocument.

The latest transformers defaults to kernels, and the next Sentence Transformers release will too — faster embeddings and reranking with no extra install work.

Original post →

More from Infra

Infra channel →