# Hugging Face Transformers v5.24.0 - Release & Upgrade Intelligence
- **Product:** Hugging Face Transformers (https://huggingface.co)
- **Version:** v5.24.0
- **Released:** Nov 21, 2026
- **Impact Score:** 9/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/transformers/updates/v5.24.0/

## Executive Summary (TL;DR)
Hugging Face Transformers v5.24.0 standardizes the KV cache interface by renaming legacy 'past_key_values' and 'cache_params' arguments to 'cache'. This library-wide change necessitates updates to custom model code and increases the minimum required PEFT version to 0.22.0.

## Breaking Changes & Deprecations
- Breaking changes ### Cache renaming: `past_key_values` / `cache_params` → `cache` (#50585, #50730)

## New Features
- Added Inkling 2 Mini, Apertus 1.5, WavTokenizer, Dory, HY4-VL, Omnilingual ASR, Lara Mini, SarvamMLA, SarvamMoE, and EXAONE model support
- New MultimodalBaseModelOutputWithPast output classes for generative multimodal models
- Added python-call-list content parser for chat templates

## Improvements
- Static cache support for assisted decoding and flex attention optimizations
- Enhanced continuous batching with per-token memory scaling and improved warm-up logic
- SDPA and flex attention support for LayoutLMv3

## Bug Fixes
- Fixed TextStreamer spacing issues for CJK languages
- Resolved batch ID preservation in constrained sampling
- Fixed OOM errors in Mamba2 integration tests
- Corrected device placement and vocabulary resizing issues in various models

## Upgrade Command
```bash
python -m pip install 'transformers==5.24.0'
```
