Skip to content
SignalFlick
All signals
Development·

Hugging Face · Transformers 5.25.0

Transformers enables optimized kernels by default and adds seven model architectures

Version 5.25.0 of the Transformers Python library includes the kernels package in its standard installation and enables these optimizations when loading models. On compatible hardware, Flash Attention can use a Hub kernel without a separate flash-attn installation.

What changes

The release adds support for Ergo, Kolibri 1.1, MiniCPM5-15B-A2.5B, PI0.5, Param2Moe, LLaVA-OneVision-1.5 and Ovis2.5. Setting use_kernels=False restores the previous behavior. Teams should also check Molmo2 video-processing changes before reusing cached results. The library uses Apache 2.0, separate from individual model licenses; no general hardware requirement or measured performance gain has been verified.