Skip to content

Bump transformers from 4.52.4 to 5.20.2 - #2597

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/develop/transformers-5.20.2
Open

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/develop/transformers-5.20.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 23, 2026

Copy link
Copy Markdown
Contributor

Bumps transformers from 4.52.4 to 5.20.2.

Release notes

Sourced from transformers's releases.

Patch release v5.20.2

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:

Release v5.20.1

Special surprise including the new model Beam from Reflection AI 🥳

Beam is a token-efficient, frontier-scale model focused on coding and agentic use cases. It is built for teams that want to run a powerful model on their own hardware, infrastructure, or cloud, and customize it to their specific needs.

Links: Documentation

Some real patch fixes

We broke loading models on older torch versions 😢 should be fixed now. But here is the full list of fixes

Full Changelog: huggingface/transformers@v5.20.0...v5.20.1

Release v5.20.0

New Model additions

Muse Spark Open

Muse Spark Open is a multimodal mixture-of-experts model from Meta that takes text, images, audio, and video as input and generates text. It has 816B total parameters (42B active per token) and a context window of up to 1,048,576 tokens shared across modalities. It is trained for agentic coding tasks such as multi-file editing, debugging, and tool use. Checkpoints are available in BF16 and NVFP4 formats.

Links: Documentation | Blog Post

... (truncated)

Commits
  • 18329f1 Release: v5.20.2
  • 2ce3082 Avoid a host-to-device copy in eager_mask (#49684)
  • 62bc6fd Declare the input modalities of the VLMs that report text only (#49677)
  • 30f4e38 Fix zero expert gradients in bfloat16 with expert parallelism and ep_size < f...
  • ce8231f Fix inputs dict casting in generate (#49731)
  • 0ea8779 v5.20.1
  • de4f35f Fix small bug in auto mappings (#49664)
  • 759c538 Make DtensorShardOperation work on torch 2.6 and 2.7 (#49657)
  • c180e2d Fix from_pretrained on torch 2.7: require torch>=2.8 for distributed checkpoi...
  • 10d36aa Fix DeepGEMM Mega MoE under expert parallelism (#49428)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [transformers](https://github.com/huggingface/transformers) from 4.52.4 to 5.20.2.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v4.52.4...v5.20.2)

---
updated-dependencies:
- dependency-name: transformers
  dependency-version: 5.20.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants