mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-14 18:25:01 +08:00
[DOC] Fix typo in docstring and assert message (#12194)
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
parent
3ea7b94523
commit
c5c06209ec
@ -102,9 +102,9 @@ class SingleStepOutputProcessor(SequenceGroupOutputProcessor):
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
seq_group: the output is associated with this :class:`SequenceGroup`
|
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]
|
output = outputs[0]
|
||||||
assert isinstance(output, CompletionSequenceGroupOutput)
|
assert isinstance(output, CompletionSequenceGroupOutput)
|
||||||
single_step_process_prompt_logprob(self, seq_group, output)
|
single_step_process_prompt_logprob(self, seq_group, output)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user