Unverified Commit 75c0ca9d authored by wenjun93's avatar wenjun93 Committed by GitHub
Browse files

Clean up code (#844)

parent 2a4ec908
...@@ -379,9 +379,6 @@ class Scheduler: ...@@ -379,9 +379,6 @@ class Scheduler:
seq_group: SequenceGroup, seq_group: SequenceGroup,
blocks_to_swap_out: Dict[int, int], blocks_to_swap_out: Dict[int, int],
) -> None: ) -> 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._swap_out(seq_group, blocks_to_swap_out)
self.swapped.append(seq_group) self.swapped.append(seq_group)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment