Transformers now ships SDPA + kernels + max-autotune as defaults, ending unfair speed comparisons
ariG23498 · x · 2026-12-02
Key facts
- The latest release of Hugging Face transformers now enables SDPA attention, custom kernels, and max-autotune by default when running any model (only the static cache remains opt-in).
- Hugging Face engineer Ilyas Moutawwakil urged the community to stop comparing decoding speeds against transformers without these optimizations enabled — doing so is no longer a valid baseline since the fast path is now the default.
How to use
uv pip install -U transformers
Upgrading means you get the optimized decoding stack out of the box, so future speed benchmarks against transformers should reflect the new defaults.
More from Infra
- Waymo picks AMD x86 embedded processors in multiyear autonomous driving partnership — ryanshrout · 2026-12-02
- Amazon's Trainium3SR splits inference across two chips, hitting 2,200 tokens/s on Ergo — rohanpaul_ai · 2026-12-02
- Photonics Quiz: Why Use Subwavelength Grating Waveguides for Mode Multiplexer Couplers? — jwt0625 · 2026-12-02
- 5 Multi-Tenant Database Architectures Compared: Isolation, Cost, Complexity Trade-offs — goyalshaliniuk · 2026-12-02
- Amazon's new open model Ergo lands on Architect's inference marketplace — AIFlow_ML · 2026-12-02
- Beff Jeleus questions what Nvidia's Groq acquisition means for its inference tech — beffjezos · 2026-12-02