We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfb1acd commit d87017aCopy full SHA for d87017a
tests/openvino/test_modeling.py
@@ -290,7 +290,7 @@ def test_load_from_hub_and_save_visual_language_model(self):
290
self.assertTrue(xml_file_name.replace(".xml", ".bin") in folder_contents)
291
model = OVModelForVisualCausalLM.from_pretrained(tmpdirname)
292
compile_only_model = OVModelForVisualCausalLM.from_pretrained(tmpdirname, compile_only=True)
293
- for _, submodel in compile_only_model.submodels.items():
+ for _, submodel in compile_only_model.ov_submodels.items():
294
self.assertIsInstance(submodel, ov.runtime.CompiledModel)
295
for component_name, component in compile_only_model.components.items():
296
self.assertIsInstance(component.model, ov.runtime.CompiledModel)
0 commit comments