From b025a3e175f74ec109aab0bda644e83c7a98f80e Mon Sep 17 00:00:00 2001 From: patientx Date: Mon, 22 Dec 2025 02:33:18 +0300 Subject: [PATCH] Update condition for compiler check in run_every_op --- comfy/ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/ops.py b/comfy/ops.py index 16889bb82..09c4faf18 100644 --- a/comfy/ops.py +++ b/comfy/ops.py @@ -25,7 +25,7 @@ import comfy.rmsnorm import json def run_every_op(): - if torch.compiler.is_compiling(): + if comfy.model_management.torch_version_numeric >= (2, 3) and torch.compiler.is_compiling(): return comfy.model_management.throw_exception_if_processing_interrupted()