Skip to content

Commit be58f38

Browse files
committed
docs: class migration from sphinx to mkdocs (worker)
Signed-off-by: Zerohertz <[email protected]>
1 parent cde9ea0 commit be58f38

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

vllm/worker/multi_step_model_runner.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -733,12 +733,13 @@ def _pythonize_sampler_output(
733733
logprobs_tensor: Optional[torch.Tensor],
734734
cache: Optional[PythonizationCache],
735735
) -> None:
736-
""" This function is only called when the output tensors are ready.
737-
See {class}`ModelOutput`.
738-
739-
Modifies `output.outputs` and `pinned_sampled_token_buffer` in-place,
736+
""" This function is only called when the output tensors are ready.
737+
See [`ModelOutput`][vllm.worker.multi_step_model_runner.ModelOutput].
738+
739+
Modifies `output.outputs` and `pinned_sampled_token_buffer` in-place,
740740
adding a Pythonized output data structure
741-
({class}`CompletionSequenceGroupOutput`) for each {class}`SequenceGroup`.
741+
([`CompletionSequenceGroupOutput`][vllm.sequence.CompletionSequenceGroupOutput])
742+
for each [`SequenceGroup`][vllm.sequence.SequenceGroup].
742743
743744
Args:
744745
model_input

0 commit comments

Comments
 (0)