transformers
[sdpa] Allow prefill to use FA kernel with StaticCache
#47094
Merged

[sdpa] Allow prefill to use FA kernel with StaticCache #47094

Cyrilvallez merged 6 commits into main from improve-sdpa
Cyrilvallez
Cyrilvallez allow more conditions
1838fd1a
Cyrilvallez remove xpu specific code: it's the same
8e2f43f2
HuggingFaceDocBuilderDev
Cyrilvallez remove old cond
14a77f7b
Cyrilvallez fix
142d3415
Cyrilvallez faster checks
2a64b30c
Cyrilvallez fix sdpa integration to dispatch to flash
45225a87
Cyrilvallez Cyrilvallez changed the title [masking] Improve sdpa by allowing to dispatch to FA more often [sdpa] Allow prefill to use FA kernel with StaticCache 142 days ago
github-actions
vasqu
vasqu commented on 2026-07-06
kaixuanliu
Cyrilvallez
ArthurZucker
ArthurZucker approved these changes on 2026-07-06
Cyrilvallez Cyrilvallez merged 6f075c56 into main 142 days ago
Cyrilvallez Cyrilvallez deleted the improve-sdpa branch 142 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone