This commit is contained in:
DELUXA 2026-01-14 20:32:57 +01:00 committed by GitHub
commit 498f5f235b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1252,7 +1252,7 @@ def pytorch_attention_enabled():
return ENABLE_PYTORCH_ATTENTION
def pytorch_attention_enabled_vae():
if is_amd():
if is_amd() and not amd_min_version(device=None, min_rdna_version=4):
return False # enabling pytorch attention on AMD currently causes crash when doing high res
return pytorch_attention_enabled()