File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 """
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments