mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-07 12:02:37 +08:00
Compare commits
3 Commits
65b93b8b37
...
6f0bde1746
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f0bde1746 | ||
|
|
ed4901d316 | ||
|
|
3988f37386 |
@ -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()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user