Skip to content

Commit 923920c

Browse files
Update vllm/sampling_params.py
Co-authored-by: Nick Hill <nhill@redhat.com> Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com>
1 parent f6a8022 commit 923920c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/sampling_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def _verify_args(self) -> None:
386386
raise ValueError("frequency_penalty must be in [-2, 2], got "
387387
f"{self.frequency_penalty}.")
388388
if not self.repetition_penalty > 0.0:
389-
raise ValueError("repetition_penalty must be non-negative, got "
389+
raise ValueError("repetition_penalty must be greater than zero, got "
390390
f"{self.repetition_penalty}.")
391391
if self.temperature < 0.0:
392392
raise ValueError(

0 commit comments

Comments
 (0)