diff --git a/optimum/exporters/openvino/convert.py b/optimum/exporters/openvino/convert.py index 43a91b81d..f7b7940b8 100644 --- a/optimum/exporters/openvino/convert.py +++ b/optimum/exporters/openvino/convert.py @@ -14,7 +14,6 @@ import functools import gc -import inspect import logging import os from pathlib import Path @@ -32,7 +31,6 @@ from optimum.exporters.onnx.convert import check_dummy_inputs_are_allowed from optimum.exporters.onnx.convert import export_pytorch as export_pytorch_to_onnx from optimum.exporters.onnx.convert import export_tensorflow as export_tensorflow_onnx -from optimum.exporters.onnx.model_patcher import DecoderModelPatcher from optimum.utils import DEFAULT_DUMMY_SHAPES, is_diffusers_available from optimum.utils.save_utils import maybe_save_preprocessors @@ -45,7 +43,6 @@ clear_class_registry, flattenize_inputs, get_input_shapes, - remove_none_from_dummy_inputs, )