mirror of
https://github.com/wassname/vllm.git
synced 2026-10-29 13:50:10 +08:00
[Speculative decoding] [Bugfix] Fix overallocation in ngram + spec logprobs (#4672)
This commit is contained in:
1 parent
f942efb5a3
commit
8b9241be3a
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user