Skip to content

Commit

Permalink
Merge branch 'new-diffusion-tasks' of https://github.com/huggingface/…
Browse files Browse the repository at this point in the history
…optimum-intel into new-diffusion-tasks
  • Loading branch information
IlyasMoutawwakil committed Jul 17, 2024
2 parents c5fa59f + 410d604 commit 96d0206
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 96d0206

Please sign in to comment.