Skip to content

Commit f42c45e

Browse files
author
maleksan85
committed
restoring default in main vllm code for detokenize
1 parent 87d256a commit f42c45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/sampling_params.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class SamplingParams(
195195
# NOTE: This parameter is only exposed at the engine level for now.
196196
# It is not exposed in the OpenAI API server, as the OpenAI API does
197197
# not support returning only a list of token IDs.
198-
detokenize: bool = False
198+
detokenize: bool = True
199199
skip_special_tokens: bool = True
200200
spaces_between_special_tokens: bool = True
201201
# Optional[List[LogitsProcessor]] type. We use Any here because

0 commit comments

Comments
 (0)