diff --git a/optimum/exporters/onnx/model_configs.py b/optimum/exporters/onnx/model_configs.py index 51d5823774f..d339f565207 100644 --- a/optimum/exporters/onnx/model_configs.py +++ b/optimum/exporters/onnx/model_configs.py @@ -56,13 +56,12 @@ VisionOnnxConfig, ) from .model_patcher import SAMModelPatcher, SpeechT5ModelPatcher, WavLMModelPatcher - +from ...utils import DummyInputGenerator if TYPE_CHECKING: from transformers import PretrainedConfig from transformers.modeling_utils import PreTrainedModel - from ...utils import DummyInputGenerator from .model_patcher import ModelPatcher if is_tf_available():