Skip to content

Commit

Permalink
Comment on processor test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocketknight1 committed Dec 5, 2024
1 parent cbfdc26 commit b74f736
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/models/pixtral/test_processor_pixtral.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ def prepare_image_inputs(self, batch_size: Optional[int] = None):
return [[super().prepare_image_inputs()]] * batch_size

def test_batch_feature_mix_to(self):
# This test is here because BatchFeatureMix.to() was breaking the structure of some inputs
# so we ensure it doesn't regress
processor = self.processor_class.from_pretrained(self.tmpdirname)
prompt_string = "USER: [IMG][IMG]\nWhat's the difference between these two images? ASSISTANT:"

Expand Down

0 comments on commit b74f736

Please sign in to comment.