Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Lo <[email protected]>
  • Loading branch information
andylolu2 committed Jan 13, 2025
1 parent d79289c commit 55e2c7a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions vllm/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -1457,11 +1457,9 @@ def maybe_assemble_group(
# in the non-streaming mode, we will return the assembled sequence
# when the last sequences finishes, and then return None for the
# rest of the time
if (
len(self.to_be_finished) == 1
and seq_group.request_id in self.to_be_finished
and seq_group.is_finished()
):
if (len(self.to_be_finished) == 1
and seq_group.request_id in self.to_be_finished
and seq_group.is_finished()):
assert self.assembled_seq_group is not None
params = self.assembled_seq_group.sampling_params
assert isinstance(params, SamplingParams)
Expand Down

0 comments on commit 55e2c7a

Please sign in to comment.