Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions vllm_spyre/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ def check_and_update_config(cls, vllm_config: VllmConfig) -> None:
if envs_spyre.VLLM_SPYRE_ENABLE_PROMPT_LOGPROBS:
raise ValueError("Prompt logprobs not supported with " \
"continuous batching")
if (vllm_config.model_config.quantization
and vllm_config.scheduler_config.max_num_seqs == 1):
raise ValueError(
"Batch size 1 not supported for fp8 continuous batching.")
else:
# Static batching or embedding model.
# Override --max-num-seqs to the biggest warmup batch size
Expand Down