File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments