Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Oct 15, 2024
1 parent e06d47a commit 222cbd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/onnxruntime/modeling_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
from transformers.modeling_outputs import ModelOutput

import onnxruntime as ort
from optimum.utils import check_if_diffusers_greater

from ..exporters.onnx import main_export
from ..onnx.utils import _get_model_external_data_paths
Expand All @@ -65,7 +66,6 @@
from .modeling_ort import ONNX_MODEL_END_DOCSTRING, ORTModel
from .utils import (
ONNX_WEIGHTS_NAME,
check_if_diffusers_greater,
get_provider_for_device,
np_to_pt_generators,
parse_device,
Expand Down

0 comments on commit 222cbd2

Please sign in to comment.