[BugFix] Fix VllmConfig() construction on all platforms (#20695)

Signed-off-by: Nick Hill <nhill@redhat.com>
This commit is contained in:
Nick Hill
2025-07-10 08:00:20 +01:00
committed by GitHub
parent 59389c927b
commit ffbcc9e757
5 changed files with 19 additions and 16 deletions

View File

@@ -4722,7 +4722,6 @@ class VllmConfig:
# calculate the default `batch_size_capture_list`
if not envs.VLLM_USE_V1:
batch_size_capture_list = []
max_batchsize_to_capture = 0
if self.scheduler_config is not None and \
self.model_config is not None and \
not self.model_config.enforce_eager: