From 380e6ea4065afc4f639d7b1bed990e18020b7270 Mon Sep 17 00:00:00 2001 From: Raushan Turganbay Date: Wed, 11 Jun 2025 10:09:16 +0200 Subject: [PATCH] [llava] fix integration tests with Siglip (#38732) fix llava siglip test --- tests/models/llava/test_modeling_llava.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/models/llava/test_modeling_llava.py b/tests/models/llava/test_modeling_llava.py index a4457a45f4..de6b720fde 100644 --- a/tests/models/llava/test_modeling_llava.py +++ b/tests/models/llava/test_modeling_llava.py @@ -557,10 +557,6 @@ class LlavaForConditionalGenerationIntegrationTest(unittest.TestCase): model = LlavaForConditionalGeneration.from_pretrained(model_id, torch_dtype="float16", device_map=torch_device) processor = AutoProcessor.from_pretrained(model_id) - # check processing with expansion of inputs (w/o expansion should work with any backbone) - processor.vision_feature_select_strategy = "default" - processor.patch_size = 14 - image_file = "http://images.cocodataset.org/val2017/000000039769.jpg" raw_image = Image.open(requests.get(image_file, stream=True).raw) inputs = processor(