mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-13 06:12:22 +08:00
fix
Signed-off-by: Woosuk Kwon <woosuk.kwon@berkeley.edu>
This commit is contained in:
parent
cbdb47dc01
commit
3f50030cc8
@ -344,15 +344,6 @@ class GPUModelRunner:
|
|||||||
# No request in the batch needs prompt logprobs.
|
# No request in the batch needs prompt logprobs.
|
||||||
return None
|
return None
|
||||||
|
|
||||||
num_prompt_tokens_scheduled = ...
|
|
||||||
if not np.any((num_prompt_tokens_scheduled > 0)
|
|
||||||
& needs_prompt_logprobs):
|
|
||||||
# The request already computed prompt logprobs.
|
|
||||||
return None
|
|
||||||
|
|
||||||
# TODO
|
|
||||||
return
|
|
||||||
|
|
||||||
def postprocess(
|
def postprocess(
|
||||||
self,
|
self,
|
||||||
sampler_output: SamplerOutput,
|
sampler_output: SamplerOutput,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user