Skip to content

Commit

Permalink
Fix idefics2 llava in the wild bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
kcz358 committed May 23, 2024
1 parent aea80e6 commit 6aeb550
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lmms_eval/models/idefics2.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ def _collate(x):
gen_kwargs = all_gen_kwargs[0]
#
until = gen_kwargs.pop("until", None)
image_aspect_ratio = gen_kwargs.pop("image_aspect_ratio", None)
prompts = []
for context, visual in zip(contexts, visuals):
content = []
Expand Down

0 comments on commit 6aeb550

Please sign in to comment.