DeepSeek OCR specifies an incorrect tokenizer class on the Hub#45739
Merged
Conversation
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
1 task
Contributor
|
[For maintainers] Suggested jobs to run (before merge) run-slow: auto |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Member
|
also linking #45075, which is close to be merged |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 4, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
May 4, 2026
Exile333
pushed a commit
to Exile333/transformers
that referenced
this pull request
May 6, 2026
…ngface#45739) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
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.
vLLM updates the model type from the DeepSeek OCR checkpoints to
deepseek_ocranddeepseek_ocr2in https://github.com/vllm-project/vllm/blob/bc635fad2389e228a31d6bc6e698caf53d395e13/vllm/transformers_utils/configs/deepseek_vl2.py#L135-L138.These models specify
LlamaTokenizerFastintokenizer_config.jsonwhich is incorrect. With this patch these models work correctly with vLLM again.cc @molbap as you are working on #41797