Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iboiko-habana committed Sep 19, 2024
1 parent 3a7fd3b commit 69b183b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vllm/worker/habana_model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1087,10 +1087,10 @@ def prepare_input_tensors(
batch_size_padded = find_bucket(real_batch_size, bucket_cfg)
batch_size_padding = batch_size_padded - real_batch_size
seq_group_metadata_list = seq_group_metadata_list.copy()
dummy_seq_group_metadata = self.create_dummy_seq_group_metadata(0, 0, is_prompt)
seq_group_metadata_list.extend(
self.create_dummy_seq_group_metadata(dummy_seq_group_metadata
for _ in range(batch_size_padding))
dummy_seq_group_metadata = self.create_dummy_seq_group_metadata(
0, 0, is_prompt)
seq_group_metadata_list.extend(dummy_seq_group_metadata
for _ in range(batch_size_padding))

prefill_reqs = []
decode_reqs = []
Expand Down

0 comments on commit 69b183b

Please sign in to comment.