From 01653a917b140535cb6768c995a4bd5ea3253120 Mon Sep 17 00:00:00 2001 From: Angela Yi Date: Sat, 11 Oct 2025 14:03:14 -0700 Subject: [PATCH] [compile] Fix inductor partition config (#26645) Signed-off-by: angelayi --- vllm/config/compilation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vllm/config/compilation.py b/vllm/config/compilation.py index e65728ba7f4e1..4209f3a9731c1 100644 --- a/vllm/config/compilation.py +++ b/vllm/config/compilation.py @@ -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): """