[Bugfix] Fix lint error (#17547)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung 2025-05-02 02:12:19 +08:00 committed by GitHub
parent 61c299f81f
commit 9b1769dd9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4250,8 +4250,7 @@ class VllmConfig:
elif len(cuda_graph_sizes) > 1:
batch_size_capture_list = sorted(cuda_graph_sizes)
else:
raise TypeError(
f"Invalid value for {cuda_graph_sizes=}.")
raise TypeError(f"Invalid value for {cuda_graph_sizes=}.")
if self.parallel_config.tensor_parallel_size > 1 and \
self.compilation_config.pass_config.enable_sequence_parallelism:
batch_size_capture_list = \