The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Add original_shape parameter to transformer patch extra_options.
comfyanonymous9fccf4aa031a
diff --git a/comfy/ldm/modules/attention.py b/comfy/ldm/modules/attention.pyindex a0d695693..68a4ef6ec 100644--- a/comfy/ldm/modules/attention.py+++ b/comfy/ldm/modules/attention.py@@ -529,6 +529,8 @@ class BasicTransformerBlock(nn.Module):extra_options["transformer_index"] = transformer_options["current_index"]if "block_index" in transformer_options:extra_options["block_index"] = transformer_options["block_index"]+ if "original_shape" in transformer_options:+ extra_options["original_shape"] = transformer_options["original_shape"]if "patches" in transformer_options:transformer_patches = transformer_options["patches"]else: