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.
  • Loading branch information
kathyyu-google committed Nov 5, 2024
1 parent 8f0a9ca commit 411f3e7
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 @@ -1504,6 +1504,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 411f3e7

Please sign in to comment.