Skip to content

Commit

Permalink
Increase maximum macOS version to 15.0.1 when forcing upcast attention (
Browse files Browse the repository at this point in the history
  • Loading branch information
joneavila authored Oct 10, 2024
1 parent 25eac1d commit 4b2f0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy/model_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b2f0d9

Please sign in to comment.