mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-09-10 21:37:07 +08:00
[Bugfix] Fix lint error (#17547)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
parent
61c299f81f
commit
9b1769dd9a
@ -4250,8 +4250,7 @@ class VllmConfig:
|
|||||||
elif len(cuda_graph_sizes) > 1:
|
elif len(cuda_graph_sizes) > 1:
|
||||||
batch_size_capture_list = sorted(cuda_graph_sizes)
|
batch_size_capture_list = sorted(cuda_graph_sizes)
|
||||||
else:
|
else:
|
||||||
raise TypeError(
|
raise TypeError(f"Invalid value for {cuda_graph_sizes=}.")
|
||||||
f"Invalid value for {cuda_graph_sizes=}.")
|
|
||||||
if self.parallel_config.tensor_parallel_size > 1 and \
|
if self.parallel_config.tensor_parallel_size > 1 and \
|
||||||
self.compilation_config.pass_config.enable_sequence_parallelism:
|
self.compilation_config.pass_config.enable_sequence_parallelism:
|
||||||
batch_size_capture_list = \
|
batch_size_capture_list = \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user