mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 03:15:20 +08:00
[misc] fix comment and variable name (#9139)
This commit is contained in:
parent
c0d9a98d0c
commit
fa45513a51
@ -1202,10 +1202,11 @@ class Scheduler:
|
||||
seq_group=seq_group, num_lookahead_slots=num_lookahead_slots)
|
||||
|
||||
def _allow_async_output_proc(self, seq_group: SequenceGroup) -> bool:
|
||||
# TODO: does it work with parallel sampling?
|
||||
no_beam_search = seq_group.sampling_params is None or (
|
||||
# async_output_proc is allowed only when we have a single sequence
|
||||
# in the sequence group
|
||||
no_single_seq = seq_group.sampling_params is None or (
|
||||
seq_group.sampling_params.best_of == 1)
|
||||
return no_beam_search
|
||||
return no_single_seq
|
||||
|
||||
def schedule(
|
||||
self
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user