From 0f9eb2703cb7d88d89c46b780f4668f4fbdd852a Mon Sep 17 00:00:00 2001 From: Xiaoyu Date: Tue, 26 Mar 2024 19:10:16 +0000 Subject: [PATCH] fix import --- onnxruntime/python/tools/transformers/optimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__)