Skip to content

Commit d5f4f9a

Browse files
authored
bump iree to 20240306.822 and use bundled fx_importer (#518)
1 parent 4f7d965 commit d5f4f9a

File tree

10 files changed

+10
-1778
lines changed

10 files changed

+10
-1778
lines changed

core/iree-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
iree-compiler==20240226.813
2-
iree-runtime==20240226.813
1+
iree-compiler==20240306.822
2+
iree-runtime==20240306.822

core/shark_turbine/aot/builtins/jittable.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,7 @@
2626
tree_unflatten,
2727
)
2828

29-
# TODO: Switch to upstream fx_importer vs local fork when ready.
30-
# from iree.compiler.extras.fx_importer import (
31-
# GraphNodeImporter,
32-
# FxImporter,
33-
# FxImporterHooks,
34-
# )
35-
36-
from ...importers.fx_importer import (
29+
from iree.compiler.extras.fx_importer import (
3730
GraphNodeImporter,
3831
FxImporter,
3932
FxImporterHooks,

core/shark_turbine/aot/support/ir_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import numpy as np
1414
import torch
1515

16-
from ...importers.fx_importer import (
16+
from iree.compiler.extras.fx_importer import (
1717
ContextCache,
1818
Empty,
1919
EmptyType,

core/shark_turbine/dynamo/backends/cpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
VmModule,
3434
)
3535

36-
from ...importers.fx_importer import FxImporter
36+
from iree.compiler.extras.fx_importer import FxImporter
3737

3838
import torch
3939
from torch._dynamo.backends.common import aot_autograd

core/shark_turbine/dynamo/tensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
from iree.compiler.api import Session, Output
5252
from iree.compiler.passmanager import PassManager
5353

54-
from ..importers.fx_importer import FxImporter
54+
from iree.compiler.extras.fx_importer import FxImporter
5555

5656
DEFAULT_COMPILER_FLAGS = ("--iree-input-type=torch",)
5757

0 commit comments

Comments
 (0)