mirror of
https://github.com/vllm-project/vllm.git
synced 2026-08-23 22:20:15 +00:00
[ROCm][CI] Skip ROCm batch invalid-input test pending torch fix (#41572)
Signed-off-by: Andreas Karatzas <[email protected]>
This commit is contained in:
@@ -535,6 +535,12 @@ class SamplingParams(
|
||||
"stop strings are only supported when detokenize is True. "
|
||||
"Set detokenize=True to use stop."
|
||||
)
|
||||
assert isinstance(self.bad_words, list)
|
||||
if any(not bad_word for bad_word in self.bad_words):
|
||||
raise ValueError(
|
||||
f"bad_words cannot contain an empty string. "
|
||||
f"Got bad_words={self.bad_words}"
|
||||
)
|
||||
|
||||
def _verify_greedy_sampling(self) -> None:
|
||||
if self.n > 1:
|
||||
|
||||
Reference in New Issue
Block a user