Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

This is useless for inference.

comfyanonymous03da8a34265b
diff --git a/comfy/sd.py b/comfy/sd.py
index ce17994f7..fa7bd8d32 100644
--- a/comfy/sd.py
+++ b/comfy/sd.py
@@ -743,7 +743,7 @@ def load_controlnet(ckpt_path, model=None):
use_spatial_transformer=True,
transformer_depth=1,
context_dim=context_dim,
- use_checkpoint=True,
+ use_checkpoint=False,
legacy=False,
use_fp16=use_fp16)
else:
@@ -760,7 +760,7 @@ def load_controlnet(ckpt_path, model=None):
use_linear_in_transformer=True,
transformer_depth=1,
context_dim=context_dim,
- use_checkpoint=True,
+ use_checkpoint=False,
legacy=False,
use_fp16=use_fp16)
if pth:
@@ -1045,7 +1045,7 @@ def load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, o
}
unet_config = {
- "use_checkpoint": True,
+ "use_checkpoint": False,
"image_size": 32,
"out_channels": 4,
"attention_resolutions": [