From 9cfd649a24d4aa665581a1e880470196470eb277 Mon Sep 17 00:00:00 2001 From: eaidova Date: Tue, 5 Nov 2024 18:15:53 +0400 Subject: [PATCH] fix code style --- tests/openvino/test_modeling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/openvino/test_modeling.py b/tests/openvino/test_modeling.py index a1b0d46672..fd60b10264 100644 --- a/tests/openvino/test_modeling.py +++ b/tests/openvino/test_modeling.py @@ -1934,7 +1934,7 @@ def test_compare_to_transformers(self, model_arch): self.assertIsInstance(getattr(ov_model, additional_part), MODEL_PARTS_CLS_MAPPING[additional_part]) self.assertIsInstance(ov_model.config, PretrainedConfig) # pytorch minicpmv and internvl are not designed to be used via forward - if not model_arch in ["minicpmv", "internvl2"]: + if model_arch not in ["minicpmv", "internvl2"]: set_seed(SEED) ov_outputs = ov_model(**inputs) set_seed(SEED)