# Transformers 5.24 vs 5.23: Upgrade Now, Rename Later

Source: [DEV Community: python](https://dev.to/shamuddin/transformers-524-vs-523-upgrade-now-rename-later-2khj) · 2026-12-02 · Languages
Page: https://themorning.dev/story/transformers-5-24-vs-5-23-upgrade-now-rename-later-5e966f6f02f14ba9
Kind: release · Impact: medium

## In brief

- Hugging Face tagged Transformers v5.24.0 on November 21, 2026.
- v5.24 renames the KV cache argument from past_key_values to cache across the library.
- Old argument names are auto-translated, so existing code is expected to keep working for now.

## Why it matters

Code that passes past_key_values will still run after upgrading to 5.24 because the old names are translated automatically, but the rename will matter once that translation is removed.

## What to do

- Upgrade to Transformers 5.24
- Leave past_key_values usage unchanged for now and plan a migration to cache

## Versions

- Transformers 5.24.0
- Transformers 5.23

## Timeline

- 2026-11-21: Hugging Face tagged Transformers v5.24.0

## Coverage

- [Transformers 5.24 vs 5.23: Upgrade Now, Rename Later](https://dev.to/shamuddin/transformers-524-vs-523-upgrade-now-rename-later-2khj) — DEV Community: python, 2026-12-02

Tags: transformers, hugging-face, python, machine-learning, kv-cache

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
