Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
7feae92c
Unverified
Commit
7feae92c
authored
Apr 25, 2025
by
Alex Brooks
Committed by
GitHub
Apr 25, 2025
Browse files
[Doc] Move todo out of beam search docstring (#17183)
Signed-off-by:
Alex-Brooks
<
Alex.Brooks@ibm.com
>
parent
f851b842
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
vllm/entrypoints/llm.py
vllm/entrypoints/llm.py
+2
-4
No files found.
vllm/entrypoints/llm.py
View file @
7feae92c
...
...
@@ -519,11 +519,9 @@ class LLM:
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment