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.
More from Infra
- Flash Attention 2 kernels nearly double Sentence Transformers throughput to ~450 passages/s — 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