mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-01 17:20:17 +08:00
Update condition for compiler check in run_every_op
This commit is contained in:
parent
6b08be7725
commit
b025a3e175
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user