[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:
Nick Hill
2026-06-16 13:17:18 -07:00
committed by GitHub
parent 475a6ad18a
commit d8d95998dc
7 changed files with 306 additions and 4 deletions
+5
View File
@@ -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.