mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-08 12:27:05 +08:00
minor
Signed-off-by: Woosuk Kwon <woosuk.kwon@berkeley.edu>
This commit is contained in:
parent
82da219ff9
commit
efda08481b
@ -254,8 +254,8 @@ def compute_logprobs(
|
||||
)
|
||||
|
||||
# NOTE(woosuk): Here, to save GPU memory, we do not materialize the full
|
||||
# logprobs tensor. Instead, we only compute the logprobs of the topk + 1
|
||||
# tokens.
|
||||
# logprobs tensor. Instead, we only compute and return the logprobs of
|
||||
# the topk + 1 tokens.
|
||||
BLOCK_SIZE = 1024
|
||||
_topk_logprobs_kernel[(batch_size, )](
|
||||
logprobs,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user