From 1af4a47fd18f6cf1f78d170fb5c83ba1875176a6 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Thu, 31 Oct 2024 15:14:44 -0400 Subject: [PATCH] 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 855e8911..fd493aff 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