Bump transformers from 4.55.0 to 5.5.0 - #11
Conversation
Bumps [transformers](https://github.com/huggingface/transformers) from 4.55.0 to 5.5.0. - [Release notes](https://github.com/huggingface/transformers/releases) - [Commits](huggingface/transformers@v4.55.0...v5.5.0) --- updated-dependencies: - dependency-name: transformers dependency-version: 5.5.0 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 using default effort 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 64a444f. Configure here.
| torch==2.7.1+cpu; sys_platform == 'linux' | ||
| torch==2.7.1; sys_platform != 'linux' | ||
| transformers==4.55.0 | ||
| transformers==5.5.0 |
There was a problem hiding this comment.
Breaking pipeline parameter upgrade
Medium Severity
Bumping transformers from 4.55.0 to 5.5.0 removes support for return_all_scores on the text-classification pipeline. This service forwards caller parameters into the pipeline in app.py, and the wrapped emotion model’s docs rely on that flag, so requests that pass it will silently get only the top label instead of all emotion scores.
Reviewed by Cursor Bugbot for commit 64a444f. Configure here.


Bumps transformers from 4.55.0 to 5.5.0.
Release notes
Sourced from transformers's releases.
... (truncated)
Commits
c1c3424update20bff68update release workflow8956441v5.5.05135e5ecasually dropping the most capable open weights on the planet (#45192)a594e09Internalise the NomicBERT model (#43067)4932e97Fix resized LM head weights being overwritten by post_init (#45079)57e8413[Qwen3.5 MoE] Add _tp_plan to ForConditionalGeneration (#45124)b10552eFix TypeError: 'NoneType' object is not iterable in GenerationMixin.generate ...423f2a3fix(models): Fix dtype mismatch in SwitchTransformers and TimmWrapperModel (#...ade7a05Generalize gemma vision mask to videos (#45185)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.
Note
High Risk
Major-version bump of
transformers(4.x → 5.x) can breakpipelineAPIs and model loading used in the FastAPI app; compatibility is not guaranteed.Overview
Dependabot-only change: pin
transformersinrequirements.txtfrom 4.55.0 to 5.5.0.The app loads a Hugging Face
pipeline("text-classification", ...)inapp.py. This is a major library upgrade with possible breaking API/behavior changes; no application code was updated to match.Reviewed by Cursor Bugbot for commit 64a444f. Bugbot is set up for automated code reviews on this repo. Configure here.