Skip to content

Commit

Permalink
[Speculative decoding] [Bugfix] Fix overallocation in ngram + spec lo…
Browse files Browse the repository at this point in the history
…gprobs (#4672)
  • Loading branch information
cadedaniel authored May 8, 2024
1 parent f942efb commit 8b9241b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/spec_decode/ngram_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def sampler_output(
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
Expand Down

0 comments on commit 8b9241b

Please sign in to comment.