Skip to content

Commit

Permalink
[Bugfix][Misc]: fix graph capture for decoder (vllm-project#9549)
Browse files Browse the repository at this point in the history
Signed-off-by: Alvant <alvasian@yandex.ru>
  • Loading branch information
yudian0504 authored and Alvant committed Oct 26, 2024
1 parent e174d8c commit 7fee2fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/worker/model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ def build(self) -> ModelInputForGPU:

cuda_graph_pad_size = self._get_cuda_graph_pad_size(
num_seqs=len(seq_lens),
max_decode_seq_len=max_encoder_seq_len,
max_decode_seq_len=max_decode_seq_len,
max_encoder_seq_len=max_encoder_seq_len)

batch_size = len(input_tokens)
Expand Down

0 comments on commit 7fee2fa

Please sign in to comment.