Flash attention: keep every query in non-causal cross-attention with padded keys #51280
Flash attention: keep every query in non-causal cross-attention over …
87467aff
vasqu
commented
on 2026-11-27
vasqu
commented
on 2026-11-30
Update src/transformers/modeling_flash_attention_utils.py
c1e43b9d
Update src/transformers/modeling_flash_attention_utils.py
bf930bde
Move is_causal last in the _upad_input docstring
0c42933f
Remove the standalone _upad_input test
2ba87403
Test _upad_input keeps all queries for non-causal cross-attention
ccb5943b
vasqu
approved these changes
on 2026-12-02
vasqu
enabled auto-merge 1 day ago
vasqu
merged
d779f6c1
into main 1 day ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub