Skip to content

Commit 1f71042

Browse files
committed
precommit fixes
Signed-off-by: Patryk Saffer <[email protected]>
1 parent 7874a61 commit 1f71042

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

vllm/config/parallel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,7 @@ def _verify_args(self) -> Self:
625625
and self.eplb_config.load_path is None
626626
):
627627
raise ValueError(
628-
"load_initial_load_window is set to True,"
629-
"but load_path is not provided."
628+
"load_initial_load_window is set to True,but load_path is not provided."
630629
)
631630
if self.eplb_config.save_load_window and self.eplb_config.save_dir is None:
632631
raise ValueError(

vllm/v1/worker/gpu_model_runner.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,12 +2100,9 @@ def eplb_step(self, is_dummy: bool = False, is_profile: bool = False) -> None:
21002100
"""
21012101
if not self.parallel_config.enable_eplb:
21022102
return
2103-
if (self.parallel_config.eplb_config.load_initial_load_window and
2104-
is_profile):
2103+
if self.parallel_config.eplb_config.load_initial_load_window and is_profile:
21052104
return
2106-
if (
2107-
self.parallel_config.eplb_config.static
2108-
):
2105+
if self.parallel_config.eplb_config.static:
21092106
return
21102107

21112108
assert self.eplb_state is not None

0 commit comments

Comments
 (0)