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
d707678d
Unverified
Commit
d707678d
authored
Feb 12, 2026
by
Zhuohan Li
Committed by
GitHub
Feb 12, 2026
Browse files
Fix num_logprobs parameter description in sampler.py (#34451)
Signed-off-by:
Zhuohan Li
<
zhuohan123@gmail.com
>
parent
fc22cae4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/v1/sample/sampler.py
vllm/v1/sample/sampler.py
+1
-1
No files found.
vllm/v1/sample/sampler.py
View file @
d707678d
...
...
@@ -217,7 +217,7 @@ class Sampler(nn.Module):
Args:
logprobs: (num tokens) x (vocab) tensor
num_logprobs: m
in
imum number of logprobs to
num_logprobs: m
ax
imum number of logprobs to
retain per token
token_ids: prompt tokens (if prompt logprobs)
or sampled tokens (if sampled
...
...
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