Skip to content

Commit 1c10b33

Browse files
gfx942 doesn't support fp8 operations. (#10348)
1 parent ddfce1a commit 1c10b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy/model_management.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def amd_min_version(device=None, min_rdna_version=0):
349349
if any((a in arch) for a in ["gfx1201"]):
350350
ENABLE_PYTORCH_ATTENTION = True
351351
if torch_version_numeric >= (2, 7) and rocm_version >= (6, 4):
352-
if any((a in arch) for a in ["gfx1200", "gfx1201", "gfx942", "gfx950"]): # TODO: more arches
352+
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
353353
SUPPORT_FP8_OPS = True
354354

355355
except:

0 commit comments

Comments
 (0)