The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Move PAG to model_patches/unet section.
comfyanonymousff6ca2a892c2
diff --git a/comfy_extras/nodes_freelunch.py b/comfy_extras/nodes_freelunch.pyindex c5ebcf26f..e3ac58447 100644--- a/comfy_extras/nodes_freelunch.py+++ b/comfy_extras/nodes_freelunch.py@@ -34,7 +34,7 @@ class FreeU:RETURN_TYPES = ("MODEL",)FUNCTION = "patch"- CATEGORY = "model_patches"+ CATEGORY = "model_patches/unet"def patch(self, model, b1, b2, s1, s2):model_channels = model.model.model_config.unet_config["model_channels"]@@ -73,7 +73,7 @@ class FreeU_V2:RETURN_TYPES = ("MODEL",)FUNCTION = "patch"- CATEGORY = "model_patches"+ CATEGORY = "model_patches/unet"def patch(self, model, b1, b2, s1, s2):model_channels = model.model.model_config.unet_config["model_channels"]diff --git a/comfy_extras/nodes_hypertile.py b/comfy_extras/nodes_hypertile.pyindex ae55d23dd..227133f39 100644--- a/comfy_extras/nodes_hypertile.py+++ b/comfy_extras/nodes_hypertile.py@@ -32,7 +32,7 @@ class HyperTile:RETURN_TYPES = ("MODEL",)FUNCTION = "patch"- CATEGORY = "model_patches"+ CATEGORY = "model_patches/unet"def patch(self, model, tile_size, swap_size, max_depth, scale_depth):model_channels = model.model.model_config.unet_config["model_channels"]diff --git a/comfy_extras/nodes_pag.py b/comfy_extras/nodes_pag.pyindex 63f43fd62..aec78bd8a 100644--- a/comfy_extras/nodes_pag.py+++ b/comfy_extras/nodes_pag.py@@ -19,7 +19,7 @@ class PerturbedAttentionGuidance:RETURN_TYPES = ("MODEL",)FUNCTION = "patch"- CATEGORY = "_for_testing"+ CATEGORY = "model_patches/unet"def patch(self, model, scale):unet_block = "middle"