Skip to content

Commit 248b2ee

Browse files
committed
Fix import name conflict.
1 parent ce66ac0 commit 248b2ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler_opt/rl/inlining/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import gin
1818

19-
from compiler_opt.rl import env
19+
from compiler_opt.rl import env as mlgo_env
2020
from compiler_opt.rl import problem_configuration
2121
from compiler_opt.rl.inlining import config
2222
from compiler_opt.rl.inlining import inlining_runner
@@ -27,7 +27,7 @@
2727
class InliningConfig(problem_configuration.ProblemConfiguration):
2828
"""Expose the regalloc eviction components."""
2929

30-
def get_env(self) -> env.MLGOEnvironmentBase:
30+
def get_env(self) -> mlgo_env.MLGOEnvironmentBase:
3131
return inlining_env.get_inlining_env()
3232

3333
def get_runner_type(self):

0 commit comments

Comments
 (0)