Browse Source

Move some nodes to model_patches section.

pull/2608/head
comfyanonymous 10 months ago
parent
commit
9fff3c46b4
  1. 4
      comfy_extras/nodes_freelunch.py
  2. 2
      comfy_extras/nodes_hypertile.py

4
comfy_extras/nodes_freelunch.py

@ -34,7 +34,7 @@ class FreeU:
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "_for_testing"
CATEGORY = "model_patches"
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 = "_for_testing"
CATEGORY = "model_patches"
def patch(self, model, b1, b2, s1, s2):
model_channels = model.model.model_config.unet_config["model_channels"]

2
comfy_extras/nodes_hypertile.py

@ -32,7 +32,7 @@ class HyperTile:
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "_for_testing"
CATEGORY = "model_patches"
def patch(self, model, tile_size, swap_size, max_depth, scale_depth):
model_channels = model.model.model_config.unet_config["model_channels"]

Loading…
Cancel
Save