Skip to content

Commit

Permalink
Update optimum/exporters/openvino/convert.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
  • Loading branch information
IlyasMoutawwakil and echarlaix authored Jul 17, 2024
1 parent 893c3a1 commit 410d604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/exporters/openvino/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 410d604

Please sign in to comment.