Transformers v5.25.0 adds Amazon Ergo support and makes kernels a default dependency
Hugging Face Transformers v5.25.0 adds a reference implementation for Amazon Ergo, described in the release notes as a frontier open-weights mixture-of-experts model for software engineering and agentic workflows with 1.1 trillion total parameters, 55 billion active parameters and a 1M-token context window. The release also adds Kolibri 1.1 (Aleph Alpha’s successor to Kolibri 1, with sliding-window and sparse “indexed_attention” layers and NVFP4-rounded keys and values, supported only with eager and SDPA attention), MiniCPM5-15B-A2.5B, Physical Intelligence’s PI0.5 vision-language-action model, BharatGen’s Param2Moe architecture, LLaVA-OneVision-1.5 (4B and 8B Instruct checkpoints) and Ovis2.5.
Separately, kernels is now a base dependency installed automatically with pip install transformers and is enabled by default in from_pretrained, so attn_implementation="flash_attention_2" works without installing the flash-attn package; passing use_kernels=False restores the previous behavior. The release flags breaking changes in Molmo2: video frames are now sampled like the Hub processor’s sample_frames (21 instead of 19 frames for a 9.72 s clip at 25 fps) and image/video token-pooling indices are computed per item, so code relying on batch-global offsets must be updated and cached results regenerated.
Verified and unconfirmed
- Verified: Hugging Face’s v5.25.0 release notes add Transformers implementations for Amazon Ergo, Aleph Alpha’s Kolibri 1.1, MiniCPM5-15B-A2.5B, Physical Intelligence’s PI0.5, BharatGen’s Param2Moe, LLaVA-OneVision-1.5 and Ovis2.5, and state that
kernelsis now a base dependency enabled by default infrom_pretrained(opt out withuse_kernels=False, which also enables a Flash Attention 2 fallback). Amazon’s own announcement and its Bedrock model card (Ergo-1.0) confirm the model is open-weights with 1.1 trillion total and 55 billion active parameters. - Not yet confirmed: the release notes carry no benchmark scores or independent evaluation of Ergo; the “one of the fastest and lowest-cost” framing and the benchmark names cited (DeepSWE, AutomationBench-AA, Terminal-Bench Science 0.1) trace back to Amazon and to TechPowerUp’s write-up of its announcement, not to third-party testing. The supplied changelog is truncated, so the complete list of breaking changes and fixes is not visible here, and the licensing terms, hardware requirements and actual inference cost of running a 1.1T-parameter model remain unstated.
Background
Hugging Face Transformers is the open-source Python library most developers use to load and run pretrained models through a common interface such as AutoModelForCausalLM.from_pretrained(...). A “new model addition” in its release notes means the architecture code has landed in the library, so the published weights can be loaded and run rather than merely downloaded. Ergo is a mixture-of-experts (MoE) model: the network holds many more parameters than it uses for any single token, so its 1.1 trillion total parameters compare with 55 billion activated per token, the same trade-off that keeps very large models affordable to serve.
Why it matters
Upgrading to v5.25.0 changes behavior by default: kernels is installed and enabled automatically, which speeds up operations such as RMSNorm and RoPE and gives out-of-the-box Flash Attention 2 fallback, so teams that pinned numerics or benchmark numbers should re-measure and pass use_kernels=False if they need the old path. Anyone using Molmo2 video inputs must update code that depends on batch-global pooling offsets and regenerate cached preprocessed results, since frame sampling and token indices now differ from earlier releases.
Comments
Comments use a GitHub account and are moderated. Comment rules