support fa3 rope3d (#3622)

This commit is contained in:
xiaoxiaohehe001
2025-08-27 11:31:29 +08:00
committed by GitHub
parent 85afa72763
commit ad319a87cc
4 changed files with 17 additions and 7 deletions

View File

@@ -311,6 +311,7 @@ class FlashAttentionBackend(AttentionBackend):
metadata.kv_token_num_cpu[0].item(),
self.max_seq_len,
getattr(layer, "cache_quant_type_str", "none"),
self.rope_3d,
)
res_encoder = self.flash_attn_func(