[Chunked Prefill][4/n] Chunked prefill scheduler. (#3853)

This commit is contained in:
SangBin Cho
2024-04-05 10:17:58 -07:00
committed by GitHub
parent 1d7c940d74
commit 18de883489
10 changed files with 1217 additions and 182 deletions
-1
View File
@@ -222,7 +222,6 @@ class ModelRunner:
# NOTE(woosuk): Here we assume that the first token in the prompt
# is always the first token in the sequence.
input_positions.extend(list(range(computed_len, prefill_end)))
lora_id = seq_group_metadata.lora_int_id
if lora_id > 0: