Skip to content

Commit

Permalink
Clean up code (vllm-project#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenjun93 authored Aug 23, 2023
1 parent e212a09 commit c1315b9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vllm/core/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,6 @@ def _preempt_by_swap(
seq_group: SequenceGroup,
blocks_to_swap_out: Dict[int, int],
) -> None:
seqs = seq_group.get_seqs(status=SequenceStatus.RUNNING)
for seq in seqs:
seq.status = SequenceStatus.SWAPPED
self._swap_out(seq_group, blocks_to_swap_out)
self.swapped.append(seq_group)

Expand Down

0 comments on commit c1315b9

Please sign in to comment.