Unverified Commit 01653a91 authored by Angela Yi's avatar Angela Yi Committed by GitHub
Browse files

[compile] Fix inductor partition config (#26645)


Signed-off-by: default avatarangelayi <yiangela7@gmail.com>
parent 0cd103e7
......@@ -709,9 +709,7 @@ class CompilationConfig:
return self.level == CompilationLevel.PIECEWISE
# Inductor partition case
return (
self.level > CompilationLevel.NO_COMPILATION and self.backend == "inductor"
)
return self.level > CompilationLevel.NO_COMPILATION and self.use_inductor
def custom_op_log_check(self):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment