[diffusion] multi-platform: add Sage Attention 3 Support for sm 120 (RTX5090) (#15382)

Co-authored-by: Mengxi Li <marcyleemx@gmail.com>
This commit is contained in:
ryang
2025-12-19 21:27:02 +08:00
committed by GitHub
co-authored by Mengxi Li
parent 46be74b4b4
commit 1e58248808
7 changed files with 42 additions and 3 deletions
@@ -19,6 +19,7 @@ class EncoderArchConfig(ArchConfig):
default_factory=lambda: {
AttentionBackendEnum.FA,
AttentionBackendEnum.TORCH_SDPA,
AttentionBackendEnum.SAGE_ATTN_3,
}
)
output_hidden_states: bool = False