Migrating to Transformers v5.9.0
Version v5.9.0 introduces 1 breaking change. This guide details how to update your code.
Released: 5/20/2026
1
Breaking Changes
1
Migration Steps
10
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
SAM3EdgeTAMSAM3-Lite-TextGemma4RAGAudioFlamingoNextMultimodalLMhubertQwen3VLRFDetrBreaking Changes
●Issue #1
The `text_embeds` input for SAM3, EdgeTAM, and SAM3-Lite-Text models now expects full text embeddings instead of just pooler outputs. Users must update their inputs to provide full text embeddings for these models.
Migration Steps
- 1Update inputs for SAM3, EdgeTAM, and SAM3-Lite-Text models to pass full text embeddings instead of just pooler outputs to the `text_embeds` argument.
Release Summary
This release introduces several new models, including Cohere2Moe and HRM-Text, alongside significant improvements in audio processing and generation stability. Breaking changes affect input expectations for SAM3 family models.
Need More Details?
View the full release notes and all changes for Transformers v5.9.0.
View Full Changelog