Does GLM-5-FP8 support Ampere GPU? Attention backend error (MLA / sparse not supported)
Hi,
I’d like to check whether GLM-5-FP8 is expected to run on Ampere GPUs. When attempting to load the model, I’m encountering the following error:
ValueError: No valid attention backend found for cuda with
AttentionSelectorConfig(
head_size=576,
dtype=torch.bfloat16,
kv_cache_dtype=auto,
block_size=None,
use_mla=True,
has_sink=False,
use_sparse=True,
use_mm_prefix=False,
attn_type=AttentionType.DECODER
).
Reasons: {
FLASH_ATTN_MLA: [
sparse not supported,
compute capability not supported,
FlashAttention MLA not supported on this device
],
FLASHMLA: [
sparse not supported,
compute capability not supported,
FlashMLA Sparse is only supported on Hopper and Blackwell devices.
],
FLASHINFER_MLA: [
sparse not supported,
compute capability not supported,
FlashInfer MLA kernel requires qk_nope_head_dim == 128, but got 192
],
TRITON_MLA: [
sparse not supported
],
FLASHMLA_SPARSE: [
compute capability not supported
]
}
It appears that: MLA attention is required Sparse attention is enabled The current GPU compute capability is not supported by FlashMLA / FlashAttention MLA FlashMLA Sparse seems limited to Hopper / Blackwell FlashInfer MLA kernel requires qk_nope_head_dim == 128, but this model uses 192 My questions: Is glm-5-fp8 officially supported on Ampere GPUs? Is MLA + sparse attention mandatory for this model? Is there a recommended way to disable use_sparse or use_mla to make it compatible? Or is this model fundamentally limited to Hopper / Blackwell-class GPUs? Any clarification on hardware requirements would be greatly appreciated.
Thanks!
These operators require support on Hopper or Blackwell.