Bump up mac version for attention upcast bug workaround.
This commit is contained in:
parent
f2aaa0a475
commit
1af4a47fd1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue