Compare commits

...

3 Commits

Author SHA1 Message Date
Margen67
23fe33adea
Merge c6ad7a4d01 into 98bdca4cb2 2025-04-10 08:50:37 -04:00
Margen67
c6ad7a4d01 Remove whitespace 2025-02-26 19:46:50 -08:00
Margen67
74458b7410 More consistent formatting 2025-02-26 19:45:54 -08:00
10 changed files with 18 additions and 19 deletions

View File

@ -1,4 +1,3 @@
name: "Release Stable Version" name: "Release Stable Version"
on: on:

View File

@ -587,7 +587,7 @@ def get_sorted_list_via_attr(objects: list, attr: str) -> list:
sorted_list.extend(object_list) sorted_list.extend(object_list)
return sorted_list return sorted_list
def create_transformer_options_from_hooks(model: ModelPatcher, hooks: HookGroup, transformer_options: dict[str]=None): def create_transformer_options_from_hooks(model: ModelPatcher, hooks: HookGroup, transformer_options: dict[str]=None):
# if no hooks or is not a ModelPatcher for sampling, return empty dict # if no hooks or is not a ModelPatcher for sampling, return empty dict
if hooks is None or model.is_clip: if hooks is None or model.is_clip:
return {} return {}

View File

@ -618,10 +618,10 @@ class PixArtAlpha(supported_models_base.BASE):
} }
sampling_settings = { sampling_settings = {
"beta_schedule" : "sqrt_linear", "beta_schedule": "sqrt_linear",
"linear_start" : 0.0001, "linear_start": 0.0001,
"linear_end" : 0.02, "linear_end": 0.02,
"timesteps" : 1000, "timesteps": 1000,
} }
unet_extra_config = {} unet_extra_config = {}
@ -681,8 +681,8 @@ class HunyuanDiT1(HunyuanDiT):
unet_extra_config = {} unet_extra_config = {}
sampling_settings = { sampling_settings = {
"linear_start" : 0.00085, "linear_start": 0.00085,
"linear_end" : 0.03, "linear_end": 0.03,
} }
class Flux(supported_models_base.BASE): class Flux(supported_models_base.BASE):

View File

@ -449,8 +449,8 @@ PIXART_MAP_BLOCK = {
("mlp.fc1.bias", "ff.net.0.proj.bias"), ("mlp.fc1.bias", "ff.net.0.proj.bias"),
("mlp.fc2.weight", "ff.net.2.weight"), ("mlp.fc2.weight", "ff.net.2.weight"),
("mlp.fc2.bias", "ff.net.2.bias"), ("mlp.fc2.bias", "ff.net.2.bias"),
("cross_attn.proj.weight" ,"attn2.to_out.0.weight"), ("cross_attn.proj.weight", "attn2.to_out.0.weight"),
("cross_attn.proj.bias" ,"attn2.to_out.0.bias"), ("cross_attn.proj.bias", "attn2.to_out.0.bias"),
} }
def pixart_to_diffusers(mmdit_config, output_prefix=""): def pixart_to_diffusers(mmdit_config, output_prefix=""):

View File

@ -9,7 +9,7 @@ class Morphology:
@classmethod @classmethod
def INPUT_TYPES(s): def INPUT_TYPES(s):
return {"required": {"image": ("IMAGE",), return {"required": {"image": ("IMAGE",),
"operation": (["erode", "dilate", "open", "close", "gradient", "bottom_hat", "top_hat"],), "operation": (["erode", "dilate", "open", "close", "gradient", "bottom_hat", "top_hat"],),
"kernel_size": ("INT", {"default": 3, "min": 3, "max": 999, "step": 1}), "kernel_size": ("INT", {"default": 3, "min": 3, "max": 999, "step": 1}),
}} }}

View File

@ -84,7 +84,7 @@ class CacheHelper:
cache_helper = CacheHelper() cache_helper = CacheHelper()
extension_mimetypes_cache = { extension_mimetypes_cache = {
"webp" : "image", "webp": "image",
} }
def map_legacy(folder_name: str) -> str: def map_legacy(folder_name: str) -> str:

View File

@ -1989,7 +1989,7 @@ NODE_CLASS_MAPPINGS = {
"ImageBatch": ImageBatch, "ImageBatch": ImageBatch,
"ImagePadForOutpaint": ImagePadForOutpaint, "ImagePadForOutpaint": ImagePadForOutpaint,
"EmptyImage": EmptyImage, "EmptyImage": EmptyImage,
"ConditioningAverage": ConditioningAverage , "ConditioningAverage": ConditioningAverage,
"ConditioningCombine": ConditioningCombine, "ConditioningCombine": ConditioningCombine,
"ConditioningConcat": ConditioningConcat, "ConditioningConcat": ConditioningConcat,
"ConditioningSetArea": ConditioningSetArea, "ConditioningSetArea": ConditioningSetArea,
@ -2076,7 +2076,7 @@ NODE_DISPLAY_NAME_MAPPINGS = {
"LatentUpscaleBy": "Upscale Latent By", "LatentUpscaleBy": "Upscale Latent By",
"LatentComposite": "Latent Composite", "LatentComposite": "Latent Composite",
"LatentBlend": "Latent Blend", "LatentBlend": "Latent Blend",
"LatentFromBatch" : "Latent From Batch", "LatentFromBatch": "Latent From Batch",
"RepeatLatentBatch": "Repeat Latent Batch", "RepeatLatentBatch": "Repeat Latent Batch",
# Image # Image
"SaveImage": "Save Image", "SaveImage": "Save Image",