From 1af4a47fd18f6cf1f78d170fb5c83ba1875176a6 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Thu, 31 Oct 2024 15:14:44 -0400 Subject: [PATCH 1/3] Bump up mac version for attention upcast bug workaround. --- comfy/model_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/model_management.py b/comfy/model_management.py index 855e89112..fd493aff0 100644 --- a/comfy/model_management.py +++ b/comfy/model_management.py @@ -896,7 +896,7 @@ def force_upcast_attention_dtype(): upcast = args.force_upcast_attention try: macos_version = tuple(int(n) for n in platform.mac_ver()[0].split(".")) - if (14, 5) <= macos_version <= (15, 0, 1): # black image bug on recent versions of macOS + if (14, 5) <= macos_version <= (15, 2): # black image bug on recent versions of macOS upcast = True except: pass From 1c8286a44bee98b8243b1d339cfe59b84675836c Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 31 Oct 2024 21:17:26 +0200 Subject: [PATCH 2/3] Avoid SyntaxWarning in UniPC docstring (#5442) --- comfy/extra_samplers/uni_pc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/extra_samplers/uni_pc.py b/comfy/extra_samplers/uni_pc.py index a30d1d03f..3ab42c6a9 100644 --- a/comfy/extra_samplers/uni_pc.py +++ b/comfy/extra_samplers/uni_pc.py @@ -16,7 +16,7 @@ class NoiseScheduleVP: continuous_beta_0=0.1, continuous_beta_1=20., ): - """Create a wrapper class for the forward SDE (VP type). + r"""Create a wrapper class for the forward SDE (VP type). *** Update: We support discrete-time diffusion models by implementing a picewise linear interpolation for log_alpha_t. From cc9cf6d1bd957d764ad418258b61d7e08187573b Mon Sep 17 00:00:00 2001 From: Uriel Deveaud Date: Thu, 31 Oct 2024 13:18:05 -0600 Subject: [PATCH 3/3] Rename some nodes in Display Name Mappings (nodes.py) (#5439) * Update nodes_images.py Nodes menu has inconsistency in names, some with spaces between words, other not. * Update nodes.py Include the node mapping name line for Image Crop Node * Update nodes_images.py * Rename image nodes add space between words for consistency > Display name mappings --- nodes.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nodes.py b/nodes.py index 08a810948..f05125f57 100644 --- a/nodes.py +++ b/nodes.py @@ -1958,6 +1958,11 @@ NODE_DISPLAY_NAME_MAPPINGS = { "ImagePadForOutpaint": "Pad Image for Outpainting", "ImageBatch": "Batch Images", "ImageCrop": "Image Crop", + "ImageBlend": "Image Blend", + "ImageBlur": "Image Blur", + "ImageQuantize": "Image Quantize", + "ImageSharpen": "Image Sharpen", + "ImageScaleToTotalPixels": "Scale Image to Total Pixels", # _for_testing "VAEDecodeTiled": "VAE Decode (Tiled)", "VAEEncodeTiled": "VAE Encode (Tiled)",