From 4b2f0d94131e655776c95a7ab0485736a732ff6b Mon Sep 17 00:00:00 2001 From: Jonathan Avila Date: Wed, 9 Oct 2024 20:21:41 -0600 Subject: [PATCH] Increase maximum macOS version to 15.0.1 when forcing upcast attention (#5191) --- 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 09798bd0..2346d4ac 100644 --- a/comfy/model_management.py +++ b/comfy/model_management.py @@ -899,7 +899,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 < (14, 7): # black image bug on recent versions of MacOS + if (14, 5) <= macos_version <= (15, 0, 1): # black image bug on recent versions of macOS upcast = True except: pass