Transformers 5.24 adds looped models and renames past_key_values to cache across the library
Hugging Face released Transformers v5.24.0 on 21 November. Among the new architectures, two run part of the network more than once per token. Inkling 2 Mini from Thinking Machines Lab has 24 decoder layers instead of the 48 of Inkling 2 Small and runs layers 6 to 17 three times, with a learned mechanism that mixes residuals from the previous pass into each looped layer. NVIDIA's Dory applies a shared block of layers repeatedly, and its loop count can be changed at inference time on the same checkpoint to trade speed against quality.
The release also adds Apertus 1.5 from the Swiss AI Initiative, which takes text, images and audio as discrete tokens but generates only text, the WavTokenizer audio codec it relies on, and HY4-VL, a Hunyuan vision-language model built on the Qwen2-VL design. Omnilingual ASR, Lara Mini, two Sarvam models and EXAONE are listed as further additions.
The main breaking change is a rename. Attention models called their cache past_key_values and Mamba-style models called it cache_params, so hybrid models handled two names for one object. Both are now cache in forward signatures, generate, the masking utilities and every model output. The old names are converted with a one-time deprecation warning: forward and prepare_inputs_for_generation accept them until v5.40.0, generate until v6.0.0, and passing an old name together with cache raises an error. peft 0.22.0 or later is now required, and the deprecated modeling_attn_mask_utils.py module has been removed.

Why it matters
Code that reads outputs.past_key_values keeps working for now, but custom Cache subclasses that override update must accept the new kwargs argument. The release notes give the version numbers at which the old names stop working, which is the date to plan a migration against.