Skip to content

fix: remove upper bound on tokenizers version constraint - #45784

Closed
ranjithchinnanan wants to merge 3 commits into
huggingface:mainfrom
ranjithchinnanan:fix/tokenizers-version-constraint
Closed

fix: remove upper bound on tokenizers version constraint#45784
ranjithchinnanan wants to merge 3 commits into
huggingface:mainfrom
ranjithchinnanan:fix/tokenizers-version-constraint

Conversation

@ranjithchinnanan

Copy link
Copy Markdown

Removes the upper bound <=0.23.0 on the tokenizers dependency. This was blocking users from installing tokenizers 0.23.1+ which includes performance improvements. The lower bound >=0.22.0 is kept.

Fixes #45736

ranjithchinnanan added 2 commits May 5, 2026 11:59
The <=0.23.0 cap was blocking users from installing tokenizers 0.23.1+
which includes performance improvements. Removing the upper bound allows
any compatible version >=0.22.0 to be used.

Fixes huggingface#45736
In tokenizers 0.23.1, `cls` was renamed to `cls_token` in
BertProcessing and RobertaProcessing. Update all affected files
to use the new parameter name.

Fixes huggingface#45736
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: clip, herbert, layoutlmv3, roberta

@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

View the CircleCI Test Summary for this PR:

https://huggingface.co/spaces/transformers-community/circle-ci-viz?pr=45784&sha=e0e58b

@SuperSandro2000

Copy link
Copy Markdown

Can you take a look at the failing CI checks?

@Rocketknight1

Copy link
Copy Markdown
Member

Version bumps like these will generally be handled internally

@SuperSandro2000

Copy link
Copy Markdown

see #46381

@SuperSandro2000

Copy link
Copy Markdown

Version bumps like these will generally be handled internally

Is there some issue where we can follow the progress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please update tokenizers version check

4 participants