Transformers 5.20.2
Hugging Face · SDK / library · Patch release v5.20.2 · Released
View official release notes ↗ Copy link
Patch release: v5.20.2
This patch notably solves an issue where some inputs could loose their original type inside prepare_inputs_for_generation in generate, leading to problems with multimodal models. It also fixes some other issues listed on the below commits.
It contains the following commits:
- Fix inputs dict casting in generate (#49731) by @Cyrilvallez
- Fix zero expert gradients in bfloat16 with expert parallelism and ep_size < fsdp_size (#49688) by @qgallouedec
- Declare the input modalities of the VLMs that report text only (#49677) by @qgallouedec
- Avoid a host-to-device copy in eager_mask (#49684) by @hmellor
Source: Hugging Face's official Transformers release notes at github.com. Text reproduced from the source for reference; all rights belong to Hugging Face. Patchwire is not affiliated with Hugging Face.
← Older: Release v5.20.1Newer: Release: v5.21.0 →
Get new Transformers releases by email
Every AI dev-tool release, including Transformers, in one short email each morning. Free. The digest is launching soon; join the list to get it from day one.
By subscribing you agree to our Terms and Privacy Policy. Unsubscribe anytime.
Nearby Transformers releases
- Patch release v5.22.1 · Oct 30, 2026
- v5.22.0: Mistral Large 4 (Le Chonk) · Oct 29, 2026
- Patch release v5.21.1 · Oct 29, 2026
- Release: v5.21.0 · Oct 26, 2026
- Release v5.20.1 · Oct 16, 2026
- Release v5.20.0 · Oct 15, 2026
- Release v5.19.0 · Oct 6, 2026
- Release 5.18.0 · Sep 30, 2026
More from Hugging Face
Other Hugging Face changelogs: huggingface_hub. All Hugging Face releases →