Skip to content

Commit

Permalink
[Bugfix][Misc]: fix graph capture for decoder (#9549)
Browse files Browse the repository at this point in the history
  • Loading branch information
yudian0504 authored Oct 21, 2024
1 parent f6b9729 commit 8ca8954
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 8ca8954

Please sign in to comment.