mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-08 21:44:33 +08:00
Merge 3988f373866daafbf0df49480c27a199fcb08646 into fd271dedfde6e192a1f1a025521070876e89e04a
This commit is contained in:
commit
bb3396ceb7
@ -1222,7 +1222,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()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user