[Core] add option to schedule requests based on full ISL (#37307)

Signed-off-by: Dan Blanaru <48605845+DanBlanaru@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Dan Blanaru
2026-03-24 13:01:12 -04:00
committed by GitHub
co-authored by Claude
parent 4731884796
commit dc78c2c933
4 changed files with 69 additions and 0 deletions
+6
View File
@@ -135,6 +135,12 @@ class SchedulerConfig:
and starting configuration.
"""
scheduler_reserve_full_isl: bool = True
"""If True, the scheduler checks whether the full input sequence length
fits in the KV cache before admitting a new request, rather than only
checking the first chunk. Prevents over-admission and KV cache thrashing
with chunked prefill."""
async_scheduling: bool | None = Field(default=None)
"""If set to False, disable async scheduling. Async scheduling helps to
avoid gaps in GPU utilization, leading to better latency and throughput.