Skip to content

Commit

Permalink
[DOC] Fix typo in docstring and assert message (vllm-project#12194)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Tang <[email protected]>
Signed-off-by: Matthew Hendrey <[email protected]>
  • Loading branch information
terrytangyuan authored and mhendrey committed Jan 23, 2025
1 parent 35b5948 commit 0c2f332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vllm/engine/output_processor/single_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ def process_prompt_logprob(self, seq_group: SequenceGroup,
Args:
seq_group: the output is associated with this :class:`SequenceGroup`
output: the :class:`SequenceGroupOutput` for a single scheduler step
outputs: the :class:`SequenceGroupOutput` for a single scheduler step
"""
assert len(outputs) == 1, ("Single step should only has 1 output.")
assert len(outputs) == 1, "Single step should only have 1 output."
output = outputs[0]
assert isinstance(output, CompletionSequenceGroupOutput)
single_step_process_prompt_logprob(self, seq_group, output)
Expand Down

0 comments on commit 0c2f332

Please sign in to comment.