Skip to content

Commit 64975d7

Browse files
committed
precommit
Signed-off-by: Patryk Saffer <[email protected]>
1 parent dfd8056 commit 64975d7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

vllm/config/parallel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ class EPLBConfig:
6262
This is turned off by default since it will cause communication overhead.
6363
"""
6464

65-
eplb_save_dir: Optional[Path] = None
65+
eplb_save_dir: Path | None = None
6666
"""Directory to save expert load balance metrics."""
67-
eplb_load_path: Optional[Path] = None
67+
eplb_load_path: Path | None = None
6868
"""Path to load expert load balance metrics."""
6969

7070
@property

vllm/distributed/eplb/eplb_state.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ class EplbState:
151151
See:
152152
https://github.com/vllm-project/vllm/pull/22167#pullrequestreview-3086143856
153153
"""
154-
eplb_load_path: Optional[Path] = None
154+
eplb_load_path: Path | None = None
155155
"""
156156
Path for loading eplb initial state.
157157
"""
158-
eplb_save_dir: Optional[Path] = None
158+
eplb_save_dir: Path | None = None
159159
"""
160160
Path where eplb states will be saved.
161161
"""

vllm/engine/arg_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ class EngineArgs:
400400
eplb_window_size: int = EPLBConfig.window_size
401401
eplb_step_interval: int = EPLBConfig.step_interval
402402
eplb_log_balancedness: bool = EPLBConfig.log_balancedness
403-
eplb_save_dir: Optional[Path] = EPLBConfig.eplb_save_dir
404-
eplb_load_path: Optional[Path] = EPLBConfig.eplb_load_path
403+
eplb_save_dir: Path | None = EPLBConfig.eplb_save_dir
404+
eplb_load_path: Path | None = EPLBConfig.eplb_load_path
405405
max_parallel_loading_workers: int | None = (
406406
ParallelConfig.max_parallel_loading_workers
407407
)

0 commit comments

Comments
 (0)