Skip to content

Commit c5858ff

Browse files
fix
1 parent fe1e213 commit c5858ff

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/openvino/test_modeling.py

-4
Original file line numberDiff line numberDiff line change
@@ -2173,10 +2173,6 @@ def test_compare_to_transformers(self, model_arch):
21732173
self.assertIsInstance(component, MODEL_PARTS_CLS_MAPPING[component_name])
21742174
self.assertIsInstance(ov_model.config, PretrainedConfig)
21752175

2176-
# TODO: fix in models
2177-
if preprocessors.get("processor") is not None:
2178-
preprocessors["processor"].patch_size = ov_model.config.vision_config.patch_size
2179-
21802176
inputs = ov_model.preprocess_inputs(**preprocessors, text=prompt, image=self.IMAGE.resize((600, 600)))
21812177
transformers_inputs = copy.deepcopy(inputs)
21822178
test_device = "AUTO"

0 commit comments

Comments
 (0)