Update condition for compiler check in run_every_op

This commit is contained in:
patientx 2025-12-22 02:33:18 +03:00 committed by GitHub
parent 6b08be7725
commit b025a3e175
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()