transformers
Add FA2 and `sdpa` support for SigLIP
#31499
Merged

Add FA2 and `sdpa` support for SigLIP #31499

qubvel merged 35 commits into huggingface:main from qubvel:siglip-fa2-support
qubvel
qubvel qubvel marked this pull request as draft 1 year ago
HuggingFaceDocBuilderDev
amyeroberts
qubvel
qubvel qubvel changed the title Add FA2 support for SigLIP Add FA2 and `sdpa` support for SigLIP 1 year ago
qubvel qubvel force pushed 1 year ago
qubvel qubvel added run-slow
qubvel
qubvel qubvel marked this pull request as ready for review 1 year ago
qubvel
amyeroberts
amyeroberts commented on 2024-06-24
ydshieh ydshieh assigned ydshieh ydshieh 1 year ago
qubvel
sayakpaul
ydshieh
qubvel
qubvel commented on 2024-06-24
qubvel Rebase to main
39006eff
qubvel Fix attention implementation autoset for tex and vision configs
24c7c421
qubvel Fixup
09499b94
qubvel Minor fixes
af7715bd
qubvel Fix copies
3416852b
qubvel Fix attention_mask for FA2
050051c1
qubvel Add eqvivalence tests for siglip
8c7bb9b4
qubvel Remove right padding test
b0f4d3ab
qubvel Uncomment flaky
045e56ef
qubvel Fix import
29814922
qubvel Add to docs
046eb5e2
qubvel Fix test message
bea1219e
qubvel Add sdpa
334fd7a9
qubvel Add sdpa equivalence test
a534a723
qubvel Add siglip sdpa to docs
b4e7b746
qubvel Fix typing for attention output
2edd76d7
qubvel Add sdpa tests
3a92411c
qubvel Fix signature of FA2
1b1311eb
qubvel Autoset attn_implementation in config
abf9aeee
qubvel Rename bsz -> batch_size
d3bf29cb
qubvel Move back autoset attn method
6ec4f794
qubvel Mark as flaky
a317f95a
qubvel Correct attention mask padding
21e29da0
qubvel [run-slow] siglip
39f4fafa
qubvel Add FA2 and sdpa docs
8929af73
qubvel Style fix
f006d64a
qubvel Remove flaky for FA2 test
8dbc12a4
qubvel Change attention implementation set
579ce7be
qubvel Change attn_implementaiton propogation
23457a22
qubvel qubvel force pushed to 23457a22 1 year ago
qubvel
molbap
molbap commented on 2024-06-26
amyeroberts
amyeroberts approved these changes on 2024-06-26
qubvel Fix typos
2647b9e9
qubvel Add modality to assert message
598792f8
qubvel Add more sdpa backends in test
26c6770c
qubvel [run slow] siglip
e3ec20aa
qubvel Add math sdpa backend for all options
a92249e8
qubvel [run slow] siglip
1765a05a
qubvel qubvel merged a177821b into main 1 year ago
lucasjinreal
qubvel
lucasjinreal
amyeroberts
lucasjinreal

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone