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
8b9241be
Unverified
Commit
8b9241be
authored
May 08, 2024
by
Cade Daniel
Committed by
GitHub
May 08, 2024
Browse files
[Speculative decoding] [Bugfix] Fix overallocation in ngram + spec logprobs (#4672)
parent
f942efb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/spec_decode/ngram_worker.py
vllm/spec_decode/ngram_worker.py
+1
-1
No files found.
vllm/spec_decode/ngram_worker.py
View file @
8b9241be
...
...
@@ -138,7 +138,7 @@ class NGramWorker(LoraNotSupportedWorkerBase):
SamplerOutput
(
outputs
=
None
,
sampled_token_probs
=
token_probs
[
i
],
logprobs
=
token_logprobs
,
logprobs
=
token_logprobs
[
i
]
,
sampled_token_ids
=
token_ids
[
i
],
))
return
outputs
,
False
...
...
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