mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-23 12:50:18 +08:00
Merge pull request #347 from nota-rudveld/patch-2
fix: check for version compatibility before calling PyTorch method
This commit is contained in:
commit
043932cb67
@ -25,7 +25,7 @@ import comfy.rmsnorm
|
|||||||
import contextlib
|
import contextlib
|
||||||
|
|
||||||
def run_every_op():
|
def run_every_op():
|
||||||
if torch.compiler.is_compiling():
|
if comfy.model_management.torch_version_numeric >= (2, 3) and torch.compiler.is_compiling():
|
||||||
return
|
return
|
||||||
|
|
||||||
comfy.model_management.throw_exception_if_processing_interrupted()
|
comfy.model_management.throw_exception_if_processing_interrupted()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user