The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
cleanup.
comfyanonymousb12b48e170cc
diff --git a/comfy_extras/nodes_sag.py b/comfy_extras/nodes_sag.pyindex 4c609565a..0bcda84f0 100644--- a/comfy_extras/nodes_sag.py+++ b/comfy_extras/nodes_sag.py@@ -111,7 +111,6 @@ class SelfAttentionGuidance:m = model.clone()attn_scores = None- mid_block_shape = None# TODO: make this work properly with chunked batches# currently, we can only save the attn from one UNet call@@ -134,7 +133,6 @@ class SelfAttentionGuidance:def post_cfg_function(args):nonlocal attn_scores- nonlocal mid_block_shapeuncond_attn = attn_scoressag_scale = scale