mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-01 17:20:17 +08:00
Refactor condition in run_every_op function
This commit is contained in:
parent
341a19e500
commit
ab7cf25eea
@ -25,7 +25,7 @@ import comfy.rmsnorm
|
||||
import json
|
||||
|
||||
def run_every_op():
|
||||
if comfy.model_management.torch_version_numeric >= (2, 3) and torch.compiler.is_compiling():
|
||||
if torch.compiler.is_compiling():
|
||||
return
|
||||
|
||||
comfy.model_management.throw_exception_if_processing_interrupted()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user