Skip to content

Commit

Permalink
fix merge problem2
Browse files Browse the repository at this point in the history
Signed-off-by: Max de Bayser <mbayser@br.ibm.com>
  • Loading branch information
maxdebayser committed Oct 16, 2024
1 parent 23dd91f commit 79414cb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vllm/sampling_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,6 @@ def _verify_greedy_sampling(self) -> None:
if self.n > 1:
raise ValueError("n must be 1 when using greedy sampling, "
f"got {self.n}.")
assert isinstance(self.best_of, int)
if self.best_of > 1:
raise ValueError("best_of must be 1 when using greedy sampling, "
f"got {self.best_of}.")

def update_from_generation_config(
self,
Expand Down

0 comments on commit 79414cb

Please sign in to comment.