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
299252ea
Unverified
Commit
299252ea
authored
Jul 10, 2025
by
Wentao Ye
Committed by
GitHub
Jul 10, 2025
Browse files
[CI] Fix pre commit issue (#20782)
Signed-off-by:
yewentao256
<
zhyanwentao@126.com
>
parent
d6902ce7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/entrypoints/openai/serving_score.py
vllm/entrypoints/openai/serving_score.py
+2
-2
No files found.
vllm/entrypoints/openai/serving_score.py
View file @
299252ea
...
...
@@ -216,8 +216,8 @@ class ServingScores(OpenAIServing):
# cross_encoder models defaults to using pad_token.
tokenized_prompts
=
await
asyncio
.
gather
(
*
(
tokenize_async
(
text
=
t1
,
# type: ignore[arg-type]
text_pair
=
t2
,
# type: ignore[arg-type]
text
=
t1
,
# type: ignore[arg-type]
text_pair
=
t2
,
# type: ignore[arg-type]
**
tokenization_kwargs
)
for
t1
,
t2
in
input_pairs
))
else
:
# `llm as reranker` models defaults to not using pad_token.
...
...
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