[ROCm] remove unsupported archs from rocm triton flash-attention supported list (#17536)

Signed-off-by: Hongxia Yang <hongxia.yang@amd.com>
This commit is contained in:
Hongxia Yang 2025-05-01 10:54:25 -04:00 committed by GitHub
parent 98060b001d
commit 28566d73b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -650,7 +650,7 @@ def get_general_autotune_configs():
def has_cdna_target():
ROCM_CDNA_TARGETS = ["gfx940", "gfx941", "gfx942", "gfx90a", "gfx908"]
ROCM_CDNA_TARGETS = ["gfx942", "gfx90a", "gfx908"]
return triton.runtime.driver.active.get_current_target(
).arch in ROCM_CDNA_TARGETS