Skip to content

Commit 86c2baf

Browse files
eaidovaecharlaix
andauthored
Update optimum/intel/openvino/modeling_decoder.py
Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
1 parent 1ee4535 commit 86c2baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/intel/openvino/modeling_decoder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ def _beam_search(
865865
inputs_per_sub_batches = _split_model_inputs(
866866
model_inputs,
867867
split_size=batch_size,
868-
full_batch_size=batch_beam_size if not self._first_iteration else batch_size,
868+
full_batch_size=batch_beam_size if not first_iteration else batch_size,
869869
)
870870
outputs_per_sub_batch = [
871871
self(

0 commit comments

Comments
 (0)