Skip to content

Commit 6e4b1f9

Browse files
authored
pythorch_attn_by_def_on_gfx1200 (Comfy-Org#11793)
1 parent dc202a2 commit 6e4b1f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

comfy/model_management.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def aotriton_supported(gpu_arch):
368368
if any((a in arch) for a in ["gfx90a", "gfx942", "gfx1100", "gfx1101", "gfx1151"]): # TODO: more arches, TODO: gfx950
369369
ENABLE_PYTORCH_ATTENTION = True
370370
if rocm_version >= (7, 0):
371-
if any((a in arch) for a in ["gfx1201"]):
371+
if any((a in arch) for a in ["gfx1200", "gfx1201"]):
372372
ENABLE_PYTORCH_ATTENTION = True
373373
if torch_version_numeric >= (2, 7) and rocm_version >= (6, 4):
374374
if any((a in arch) for a in ["gfx1200", "gfx1201", "gfx950"]): # TODO: more arches, "gfx942" gives error on pytorch nightly 2.10 1013 rocm7.0

0 commit comments

Comments
 (0)