diff --git a/tests/openvino/test_exporters_cli.py b/tests/openvino/test_exporters_cli.py index 88af5ef10f..988b56f7a7 100644 --- a/tests/openvino/test_exporters_cli.py +++ b/tests/openvino/test_exporters_cli.py @@ -117,7 +117,7 @@ def test_exporters_cli_int8(self, task: str, model_type: str): if task.startswith("text2text-generation"): models = [model.encoder, model.decoder] if task.endswith("with-past"): - model.append(model.decoder_with_past) + models.append(model.decoder_with_past) elif task.startswith("stable-diffusion"): models = [model.unet, model.vae_encoder, model.vae_decoder] models.append(model.text_encoder if task == "stable-diffusion" else model.text_encoder_2)