Skip to content

Commit 6aeb550

Browse files
committed
Fix idefics2 llava in the wild bugs
1 parent aea80e6 commit 6aeb550

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lmms_eval/models/idefics2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ def _collate(x):
196196
gen_kwargs = all_gen_kwargs[0]
197197
#
198198
until = gen_kwargs.pop("until", None)
199+
image_aspect_ratio = gen_kwargs.pop("image_aspect_ratio", None)
199200
prompts = []
200201
for context, visual in zip(contexts, visuals):
201202
content = []

0 commit comments

Comments
 (0)