Update model_management.py

This commit is contained in:
comfyanonymous 2025-06-10 13:01:30 -04:00 committed by GitHub
parent c7dc397e46
commit ac72caae83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1068,7 +1068,7 @@ def force_upcast_attention_dtype():
upcast = args.force_upcast_attention upcast = args.force_upcast_attention
macos_version = mac_version() macos_version = mac_version()
if macos_version is not None and ((14, 5) <= macos_version: # black image bug on recent versions of macOS, I don't think it's ever getting fixed if macos_version is not None and ((14, 5) <= macos_version): # black image bug on recent versions of macOS, I don't think it's ever getting fixed
upcast = True upcast = True
if upcast: if upcast: