mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-20 11:32:58 +08:00
Enable fp8 ops by default on gfx1200 (#9926)
This commit is contained in:
parent
dd611a7700
commit
8d6653fca6
@ -348,7 +348,7 @@ try:
|
|||||||
# if any((a in arch) for a in ["gfx1201"]):
|
# if any((a in arch) for a in ["gfx1201"]):
|
||||||
# ENABLE_PYTORCH_ATTENTION = True
|
# ENABLE_PYTORCH_ATTENTION = True
|
||||||
if torch_version_numeric >= (2, 7) and rocm_version >= (6, 4):
|
if torch_version_numeric >= (2, 7) and rocm_version >= (6, 4):
|
||||||
if any((a in arch) for a in ["gfx1201", "gfx942", "gfx950"]): # TODO: more arches
|
if any((a in arch) for a in ["gfx1200", "gfx1201", "gfx942", "gfx950"]): # TODO: more arches
|
||||||
SUPPORT_FP8_OPS = True
|
SUPPORT_FP8_OPS = True
|
||||||
|
|
||||||
except:
|
except:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user