Bump up mac version for attention upcast bug workaround.

This commit is contained in:
comfyanonymous 2024-10-31 15:14:44 -04:00
parent f2aaa0a475
commit 1af4a47fd1
1 changed files with 1 additions and 1 deletions

View File

@ -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