From 410d6043cd08e163f3b6e67fc0916ed8bb8b458b Mon Sep 17 00:00:00 2001 From: Ilyas Moutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com> Date: Wed, 17 Jul 2024 07:38:27 +0200 Subject: [PATCH] Update optimum/exporters/openvino/convert.py Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com> --- optimum/exporters/openvino/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optimum/exporters/openvino/convert.py b/optimum/exporters/openvino/convert.py index 69bed45f5e..9351431c69 100644 --- a/optimum/exporters/openvino/convert.py +++ b/optimum/exporters/openvino/convert.py @@ -139,7 +139,7 @@ def export( ) if "diffusers" in str(model.__class__) and not is_diffusers_available(): - raise ImportError("The package `diffusers` is required to export diffusion models to ONNX.") + raise ImportError("The package `diffusers` is required to export diffusion models to OpenVINO.") if stateful: # This will be checked anyway after the model conversion, but checking it earlier will save time for a user if not suitable version is used