Skip to content

Commit e941b1e

Browse files
authored
Clean up code (vllm-project#844)
1 parent ef89547 commit e941b1e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

vllm/core/scheduler.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,6 @@ def _preempt_by_swap(
379379
seq_group: SequenceGroup,
380380
blocks_to_swap_out: Dict[int, int],
381381
) -> None:
382-
seqs = seq_group.get_seqs(status=SequenceStatus.RUNNING)
383-
for seq in seqs:
384-
seq.status = SequenceStatus.SWAPPED
385382
self._swap_out(seq_group, blocks_to_swap_out)
386383
self.swapped.append(seq_group)
387384

0 commit comments

Comments
 (0)