# Hugging Face Transformers v5.20.2 — Release & Upgrade Intelligence
- **Product:** Hugging Face Transformers (https://huggingface.co)
- **Version:** v5.20.2
- **Released:** Oct 19, 2026
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/transformers/updates/v5.20.2/

## Executive Summary (TL;DR)
Hugging Face Transformers v5.20.2. Source highlight: Patch release: v5.20.2

## Bug Fixes
- Fix inputs dict casting in generate (#49731)
- Fix zero expert gradients in bfloat16 with expert parallelism and ep_size < fsdp_size (#49688)
- Declare the input modalities of the VLMs that report text only (#49677)
- Avoid a host-to-device copy in eager_mask (#49684)

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