Skip to content

Commit d6bb9d2

Browse files
terrytangyuanIsotr0py
authored andcommitted
[DOC] Fix typo in docstring and assert message (vllm-project#12194)
Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Isotr0py <[email protected]>
1 parent cb01ccc commit d6bb9d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/engine/output_processor/single_step.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ def process_prompt_logprob(self, seq_group: SequenceGroup,
102102
103103
Args:
104104
seq_group: the output is associated with this :class:`SequenceGroup`
105-
output: the :class:`SequenceGroupOutput` for a single scheduler step
105+
outputs: the :class:`SequenceGroupOutput` for a single scheduler step
106106
"""
107-
assert len(outputs) == 1, ("Single step should only has 1 output.")
107+
assert len(outputs) == 1, "Single step should only have 1 output."
108108
output = outputs[0]
109109
assert isinstance(output, CompletionSequenceGroupOutput)
110110
single_step_process_prompt_logprob(self, seq_group, output)

0 commit comments

Comments
 (0)