Unverified Commit af4ee63e authored by Nicole LiHui 🥜's avatar Nicole LiHui 🥜 Committed by GitHub
Browse files

typo: remove duplicate `is` (#25641)


Signed-off-by: default avatarnicole-lihui <nicole.li@daocloud.io>
parent bc092ea8
...@@ -79,7 +79,7 @@ class Processor: ...@@ -79,7 +79,7 @@ class Processor:
if num_logprobs > max_logprobs: if num_logprobs > max_logprobs:
raise ValueError( raise ValueError(
f"Requested sample logprobs of {num_logprobs}, " 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. # Validate prompt logprobs.
if params.prompt_logprobs: if params.prompt_logprobs:
...@@ -89,7 +89,7 @@ class Processor: ...@@ -89,7 +89,7 @@ class Processor:
if num_prompt_logprobs > max_logprobs: if num_prompt_logprobs > max_logprobs:
raise ValueError( raise ValueError(
f"Requested prompt logprobs of {num_prompt_logprobs}, " 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( def _validate_sampling_params(
self, self,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment