The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Disable workaround on newer cudnn. (#10807)
comfyanonymouscb96d4d18c78
diff --git a/comfy/ops.py b/comfy/ops.pyindex 2a90a5ba2..640622fd1 100644--- a/comfy/ops.py+++ b/comfy/ops.py@@ -58,7 +58,8 @@ except (ModuleNotFoundError, TypeError):NVIDIA_MEMORY_CONV_BUG_WORKAROUND = Falsetry:if comfy.model_management.is_nvidia():- if torch.backends.cudnn.version() >= 91002 and comfy.model_management.torch_version_numeric >= (2, 9) and comfy.model_management.torch_version_numeric <= (2, 10):+ cudnn_version = torch.backends.cudnn.version()+ if (cudnn_version >= 91002 and cudnn_version < 91500) and comfy.model_management.torch_version_numeric >= (2, 9) and comfy.model_management.torch_version_numeric <= (2, 10):#TODO: change upper bound version once it's fixed'NVIDIA_MEMORY_CONV_BUG_WORKAROUND = Truelogging.info("working around nvidia conv3d memory bug.")