Remove transformers versions with Kimi tokenizer regression#783
Merged
Conversation
4cde59d to
200b164
Compare
erikwijmans
reviewed
Jun 23, 2026
200b164 to
04a8bda
Compare
04a8bda to
9f0eee0
Compare
9f0eee0 to
369a595
Compare
erikwijmans
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Exclude Transformers releases that force Kimi K2.5/K2.6 through
TokenizersBackend, while allowing5.5.4where the upstream forced-backend entry forkimi_k25is removed.Details
A version audit over the relevant released range found:
4.57.6,5.0.0,5.1.0,5.2.0: noMODELS_WITH_INCORRECT_HUB_TOKENIZER_CLASSforced-backend table5.3.0: forced-backend table exists, but does not includekimi_k255.4.0,5.5.0,5.5.1,5.5.2,5.5.3: table includeskimi_k25, causingAutoTokenizerto ignore Kimitokenization_kimi.TikTokenTokenizerauto-map5.5.4: released on PyPI and no longer includeskimi_k25in the forced-backend tableThis changes the dependency bound to
transformers>=4.57.6,!=5.4.*,!=5.5.0,!=5.5.1,!=5.5.2,!=5.5.3,<=5.5.4.Validation
git diff --checkpyproject.tomlwithtomlliband confirmed the dependency spec