Skip to content

Commit

Permalink
Sync with Woosuk change in vllm-project#7881
Browse files Browse the repository at this point in the history
  • Loading branch information
alexm-neuralmagic committed Aug 26, 2024
1 parent a5cad38 commit 65dd781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/core/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ def _can_append_slots(self, seq_group: SequenceGroup) -> bool:
)

def _allow_async_output_proc(self, seq_group: SequenceGroup) -> bool:
no_beam_search = (seq_group.sampling_params.n == 1
no_beam_search = (seq_group.sampling_params.best_of == 1
and not seq_group.sampling_params.use_beam_search)

return no_beam_search
Expand Down

0 comments on commit 65dd781

Please sign in to comment.