Fix idefics2 llava in the wild bugs · dadwadw233/lmms-eval@0e9d793 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 0e9d793

Fix idefics2 llava in the wild bugs

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 0 deletions

Original file line number Diff line number Diff line change
@@ -196,6 +196,7 @@ def _collate(x):
196 196 gen_kwargs = all_gen_kwargs[0]
197 197 #
198 198 until = gen_kwargs.pop("until", None)
199 +image_aspect_ratio = gen_kwargs.pop("image_aspect_ratio", None)
199 200 prompts = []
200 201 for context, visual in zip(contexts, visuals):
201 202 content = []