[Core] Simplify handling of scheduler_reserve_full_isl option (#41064)

Signed-off-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
Nick Hill
2026-04-30 18:10:00 -07:00
committed by GitHub
parent a3c83ff2fd
commit dd5506a157
4 changed files with 30 additions and 58 deletions
@@ -179,6 +179,7 @@ def get_fake_allocate_slots_fn(original_allocate_slots_fn: Callable):
num_external_computed_tokens: int = 0,
delay_cache_blocks: bool = False,
num_encoder_tokens: int = 0,
full_sequence_must_fit: bool = False,
):
ret = original_allocate_slots_fn(
self,
@@ -190,6 +191,7 @@ def get_fake_allocate_slots_fn(original_allocate_slots_fn: Callable):
num_external_computed_tokens,
delay_cache_blocks,
num_encoder_tokens,
full_sequence_must_fit,
)
if cur_step_action is not None:
cur_block_ids = self.coordinator.single_type_managers[0].req_to_blocks[