Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
91a07ff6
Unverified
Commit
91a07ff6
authored
Feb 05, 2026
by
Wei Zhao
Committed by
GitHub
Feb 05, 2026
Browse files
[Bugfix] Fix DeepSeek v3.2 tokenizer outputting None issue (#33832)
Signed-off-by:
wzhao18
<
wzhao18.sz@gmail.com
>
parent
d5c48001
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vllm/tokenizers/detokenizer_utils.py
vllm/tokenizers/detokenizer_utils.py
+4
-0
No files found.
vllm/tokenizers/detokenizer_utils.py
View file @
91a07ff6
...
...
@@ -157,6 +157,10 @@ def detokenize_incrementally(
)
if
isinstance
(
new_tokens
,
str
):
new_tokens
=
[
new_tokens
]
else
:
# This is required to guard against out-of-vocab prompt token ids
# (for example when using dummy weights)
_replace_none_with_empty
(
new_tokens
)
# type: ignore[arg-type]
else
:
new_tokens
=
[
""
]
output_tokens
=
prev_tokens
+
new_tokens
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment