Bump transformers from 4.56.2 to 5.0.0rc3#1
Conversation
Bumps [transformers](https://github.com/huggingface/transformers) from 4.56.2 to 5.0.0rc3. - [Release notes](https://github.com/huggingface/transformers/releases) - [Commits](huggingface/transformers@v4.56.2...v5.0.0rc3) --- updated-dependencies: - dependency-name: transformers dependency-version: 5.0.0rc3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 481490c. Configure here.
| "torch==2.8.0", | ||
| "torchvision==0.23.0", | ||
| "transformers==4.56.2", | ||
| "transformers==5.0.0rc3", |
There was a problem hiding this comment.
Pinning unstable RC version may conflict with sentence-transformers
High Severity
transformers==5.0.0rc3 is a release candidate, not a stable release, and sentence-transformers==5.1.0 specifies transformers<5.0.0,>=4.41.0 as a dependency. While pip resolves this (PEP 440 treats 5.0.0rc3 < 5.0.0), sentence-transformers 5.1.0 was never tested against transformers 5.0 APIs. Transformers 5.0 removes many deprecated objects and overhauls tokenization, which may cause runtime failures in sentence-transformers internals or in the custom Trainer subclass that relies on internal attributes like model_accepts_loss_kwargs and current_gradient_accumulation_steps.
Reviewed by Cursor Bugbot for commit 481490c. Configure here.
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |


Bumps transformers from 4.56.2 to 5.0.0rc3.
Release notes
Sourced from transformers's releases.
... (truncated)
Commits
cb5079fv5.0.0rc3d1808f2[ci] Fixing some failing tests for important models (#43231)3d27645Add LightOnOCR model implementation (#41621)77146ccfix crash in when running FSDP2+TP (#43226)61317f5[CB] Ensure parallel decoding test passes using FA (#43277)1efe1a6Fix failingPegasusX,Mvp&LEDmodel integration tests (#43245)e8ae373[consistency] Ensure models are added to the_toctree.yml(#43264)c85be98[docs] tensorrt-llm (#43176)38022fd[style] Fix init isort and align makefile and CI (#43260)e977446Fix failingHiera,SwiftFormer&LEDModel integration tests (#43225)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.