diff --git a/vllm/core/scheduler.py b/vllm/core/scheduler.py index dbbe88c6276bc..f59102cb13087 100644 --- a/vllm/core/scheduler.py +++ b/vllm/core/scheduler.py @@ -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)