Skip to content

Commit 2e70f63

Browse files
committed
fix
Signed-off-by: Justin Chu <[email protected]>
1 parent 8d02660 commit 2e70f63

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

onnxscript/_framework_apis/torch_2_9.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
from typing import TYPE_CHECKING
1616

17-
import onnx_ir as ir
18-
1917
from onnxscript import version_converter
2018
from onnxscript._framework_apis.torch_2_8 import (
2119
check_model,
@@ -25,7 +23,7 @@
2523
)
2624

2725
if TYPE_CHECKING:
28-
from onnxscript import ir
26+
import onnx_ir as ir
2927

3028

3129
def convert_version(model: ir.Model, target_version: int) -> ir.Model:

0 commit comments

Comments
 (0)