[compile] Fix inductor partition config (#26645)

Signed-off-by: angelayi <yiangela7@gmail.com>
This commit is contained in:
Angela Yi 2025-10-11 14:03:14 -07:00 committed by GitHub
parent 0cd103e7cb
commit 01653a917b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):
"""