Skip to content

Commit

Permalink
Free cross attention block table for preempted-for-recompute sequence…
Browse files Browse the repository at this point in the history
… group.

Signed-off-by: Kathy Yu <[email protected]>
  • Loading branch information
kathyyu-google committed Dec 22, 2024
1 parent c2d1b07 commit 619b492
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vllm/core/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1579,6 +1579,7 @@ def _preempt_by_recompute(
seq.status = SequenceStatus.WAITING
self.free_seq(seq)
seq.reset_state_for_recompute()
self._free_seq_group_cross_attn_blocks(seq_group)

def _preempt_by_swap(
self,
Expand Down

0 comments on commit 619b492

Please sign in to comment.