mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-03 19:34:13 +08:00
typo: remove duplicate is (#25641)
Signed-off-by: nicole-lihui <nicole.li@daocloud.io> Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
parent
004eed39ff
commit
6a437a4178
@ -79,7 +79,7 @@ class Processor:
|
||||
if num_logprobs > max_logprobs:
|
||||
raise ValueError(
|
||||
f"Requested sample logprobs of {num_logprobs}, "
|
||||
f"which is is greater than max allowed: {max_logprobs}")
|
||||
f"which is greater than max allowed: {max_logprobs}")
|
||||
|
||||
# Validate prompt logprobs.
|
||||
if params.prompt_logprobs:
|
||||
@ -89,7 +89,7 @@ class Processor:
|
||||
if num_prompt_logprobs > max_logprobs:
|
||||
raise ValueError(
|
||||
f"Requested prompt logprobs of {num_prompt_logprobs}, "
|
||||
f"which is is greater than max allowed: {max_logprobs}")
|
||||
f"which is greater than max allowed: {max_logprobs}")
|
||||
|
||||
def _validate_sampling_params(
|
||||
self,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user