[Core] Add prefill step cadence for better non-PD DP balancing (#44558)
Signed-off-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
@@ -150,6 +150,11 @@ class SchedulerConfig:
|
||||
of requests when GPU memory is scarce. Must be in the range [0.0, 1.0); 0.0
|
||||
(the default) disables the watermark."""
|
||||
|
||||
prefill_schedule_interval: int = Field(default=1, ge=1)
|
||||
"""For data-parallel deployments, only admit new prefill requests
|
||||
once every N engine steps, aligned across DP ranks, to better balance
|
||||
per-step forward-pass times."""
|
||||
|
||||
async_scheduling: bool | None = None
|
||||
"""If set to False, disable async scheduling. Async scheduling helps to
|
||||
avoid gaps in GPU utilization, leading to better latency and throughput.
|
||||
|
||||
Reference in New Issue
Block a user