Move PAG to model_patches/unet section.
Move other unet model_patches nodes to model_patches/unet section.
This commit is contained in:
parent
374e093e09
commit
ff6ca2a892
|
@ -34,7 +34,7 @@ class FreeU:
|
||||||
RETURN_TYPES = ("MODEL",)
|
RETURN_TYPES = ("MODEL",)
|
||||||
FUNCTION = "patch"
|
FUNCTION = "patch"
|
||||||
|
|
||||||
CATEGORY = "model_patches"
|
CATEGORY = "model_patches/unet"
|
||||||
|
|
||||||
def patch(self, model, b1, b2, s1, s2):
|
def patch(self, model, b1, b2, s1, s2):
|
||||||
model_channels = model.model.model_config.unet_config["model_channels"]
|
model_channels = model.model.model_config.unet_config["model_channels"]
|
||||||
|
@ -73,7 +73,7 @@ class FreeU_V2:
|
||||||
RETURN_TYPES = ("MODEL",)
|
RETURN_TYPES = ("MODEL",)
|
||||||
FUNCTION = "patch"
|
FUNCTION = "patch"
|
||||||
|
|
||||||
CATEGORY = "model_patches"
|
CATEGORY = "model_patches/unet"
|
||||||
|
|
||||||
def patch(self, model, b1, b2, s1, s2):
|
def patch(self, model, b1, b2, s1, s2):
|
||||||
model_channels = model.model.model_config.unet_config["model_channels"]
|
model_channels = model.model.model_config.unet_config["model_channels"]
|
||||||
|
|
|
@ -32,7 +32,7 @@ class HyperTile:
|
||||||
RETURN_TYPES = ("MODEL",)
|
RETURN_TYPES = ("MODEL",)
|
||||||
FUNCTION = "patch"
|
FUNCTION = "patch"
|
||||||
|
|
||||||
CATEGORY = "model_patches"
|
CATEGORY = "model_patches/unet"
|
||||||
|
|
||||||
def patch(self, model, tile_size, swap_size, max_depth, scale_depth):
|
def patch(self, model, tile_size, swap_size, max_depth, scale_depth):
|
||||||
model_channels = model.model.model_config.unet_config["model_channels"]
|
model_channels = model.model.model_config.unet_config["model_channels"]
|
||||||
|
|
|
@ -19,7 +19,7 @@ class PerturbedAttentionGuidance:
|
||||||
RETURN_TYPES = ("MODEL",)
|
RETURN_TYPES = ("MODEL",)
|
||||||
FUNCTION = "patch"
|
FUNCTION = "patch"
|
||||||
|
|
||||||
CATEGORY = "_for_testing"
|
CATEGORY = "model_patches/unet"
|
||||||
|
|
||||||
def patch(self, model, scale):
|
def patch(self, model, scale):
|
||||||
unet_block = "middle"
|
unet_block = "middle"
|
||||||
|
|
Loading…
Reference in New Issue