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: charlifu <[email protected]>
  • Loading branch information
yudian0504 authored and charlifu committed Oct 23, 2024
1 parent 60626e7 commit 48bc888
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 48bc888

Please sign in to comment.