Skip to content

Update transformers requirement from !=5.13.0,<5.17,>=5.10.0 to >=5.10.0,!=5.13.0,<5.21 - #666

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/transformers-gte-5.10.0-and-neq-5.13.0-and-lt-5.21
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/transformers-gte-5.10.0-and-neq-5.13.0-and-lt-5.21

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Updates the requirements on transformers to permit the latest version.

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:

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 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)

Updates the requirements on [transformers](https://github.com/huggingface/transformers) to permit the latest version.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v5.10.0...v5.20.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from youssofal as a code owner October 24, 2026 10:33
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 24, 2026

This branch has not been deployed

No deployments
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