From 4a6388700e6c7e6f29f70567aab6ef47be38678e Mon Sep 17 00:00:00 2001 From: Alex-Brooks Date: Fri, 25 Apr 2025 11:14:59 +0000 Subject: [PATCH] Move todo out of beam search docstring Signed-off-by: Alex-Brooks --- vllm/entrypoints/llm.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vllm/entrypoints/llm.py b/vllm/entrypoints/llm.py index 57c7ab73de37..0820b6d90770 100644 --- a/vllm/entrypoints/llm.py +++ b/vllm/entrypoints/llm.py @@ -520,11 +520,9 @@ def beam_search( prompts: A list of prompts. Each prompt can be a string or a list of token IDs. params: The beam search parameters. - - TODO: how does beam search work together with length penalty, frequency - penalty, and stopping criteria, etc.? """ - + # TODO: how does beam search work together with length penalty, + # frequency, penalty, and stopping criteria, etc.? beam_width = params.beam_width max_tokens = params.max_tokens temperature = params.temperature