# Transformers v5.25.0 — Amazon Ergo support and kernels on by default

> Hugging Face's model library adds Amazon Ergo and six more architectures, and loads optimized kernels by default.

- Org: Hugging Face
- Date: 2026-12-01
- Category: tool, repo
- Source: https://github.com/huggingface/transformers/releases/tag/v5.25.0
- Canonical page: https://ai-tldr.dev/releases/huggingface-transformers-5-25-0/

## In short

Transformers v5.25.0 adds Amazon's Ergo, Aleph Alpha's Kolibri 1.1, MiniCPM5-15B-A2.5B, Physical Intelligence's PI0.5, LLaVA-OneVision-1.5 and Ovis2.5. The kernels package is now a base dependency and on by default.

## What it is

Transformers v5.25.0 adds support for Amazon's Ergo, a 1.1-trillion-parameter mixture-of-experts model with a 1M-token context, plus Aleph Alpha's Kolibri 1.1, MiniCPM5-15B-A2.5B, Physical Intelligence's PI0.5 robot model, BharatGen's Param2Moe, LLaVA-OneVision-1.5 and Ovis2.5.

## How it works

The `kernels` package is now a base dependency and is turned on in `from_pretrained`, so Flash Attention works without a separate install; `use_kernels=False` restores the old path. Recurrent-state caches can now roll back, which enables assisted decoding for linear-attention models, and `generate()` auto-compiles on Apple MPS. A new tensor-parallel 'unit sharding' plan and a refactored `transformers serve` also ship.

## Why it matters

Teams that want to fine-tune or self-host Ergo, which Amazon released on the same day, can load it with the standard library. The release has breaking changes: Molmo2 video frame sampling changed, sub-processors now load by keyword argument, and tensor parallelism on MoE models is deprecated.

## Who it's for

ML engineers using Hugging Face models

## Try it

pip install -U transformers==5.25.0

## Links

- [Release Notes](https://github.com/huggingface/transformers/releases/tag/v5.25.0)
- [Repository](https://github.com/huggingface/transformers)
- [Docs](https://huggingface.co/docs/transformers)
