diff --git a/onnxruntime/python/tools/transformers/optimizer.py b/onnxruntime/python/tools/transformers/optimizer.py index 068ccefef7d97..e334e22d92ea6 100644 --- a/onnxruntime/python/tools/transformers/optimizer.py +++ b/onnxruntime/python/tools/transformers/optimizer.py @@ -40,9 +40,9 @@ from onnx_model_tnlr import TnlrOnnxModel from onnx_model_unet import UnetOnnxModel from onnx_model_vae import VaeOnnxModel +from onnx_utils import extract_raw_data_from_model, has_external_data import onnxruntime -from onnxruntime.transformers.onnx_utils import extract_raw_data_from_model, has_external_data logger = logging.getLogger(__name__)