Skip to content

Commit 299252e

Browse files
authored
[CI] Fix pre commit issue (#20782)
Signed-off-by: yewentao256 <zhyanwentao@126.com>
1 parent d6902ce commit 299252e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/entrypoints/openai/serving_score.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ async def _cross_encoding_score(
216216
# cross_encoder models defaults to using pad_token.
217217
tokenized_prompts = await asyncio.gather(*(
218218
tokenize_async(
219-
text=t1, # type: ignore[arg-type]
220-
text_pair=t2, # type: ignore[arg-type]
219+
text=t1, # type: ignore[arg-type]
220+
text_pair=t2, # type: ignore[arg-type]
221221
**tokenization_kwargs) for t1, t2 in input_pairs))
222222
else:
223223
# `llm as reranker` models defaults to not using pad_token.

0 commit comments

Comments
 (0)