transformers
[`BERT`] Add support for sdpa
#28802
Merged

[`BERT`] Add support for sdpa #28802

amyeroberts merged 22 commits into huggingface:main from hackyon:sdpa-bert
hackyon
hackyon
hackyon
hackyon commented on 2024-01-31
ArthurZucker
hackyon
fxmarty
fxmarty commented on 2024-02-02
fxmarty
fxmarty commented on 2024-02-02
hackyon
ArthurZucker
pommedeterresautee
hackyon
pommedeterresautee
hackyon
fxmarty
fxmarty commented on 2024-02-08
hackyon
hackyon commented on 2024-02-08
hackyon
hackyon commented on 2024-02-08
hackyon
hackyon commented on 2024-02-08
hackyon hackyon force pushed 2 years ago
hackyon hackyon marked this pull request as ready for review 2 years ago
hackyon
fxmarty fxmarty requested a review from amyeroberts amyeroberts 2 years ago
amyeroberts
hackyon
hackyon commented on 2024-02-08
hackyon
hackyon hackyon force pushed 2 years ago
amyeroberts
amyeroberts commented on 2024-02-13
hackyon hackyon force pushed 2 years ago
hackyon
hackyon hackyon force pushed 2 years ago
hackyon
fxmarty
hackyon
fxmarty
fxmarty approved these changes on 2024-02-19
fxmarty fxmarty requested a review from amyeroberts amyeroberts 2 years ago
hackyon
amyeroberts
amyeroberts commented on 2024-02-20
hackyon
hackyon commented on 2024-02-22
fxmarty fxmarty requested a review from amyeroberts amyeroberts 2 years ago
fxmarty fxmarty requested a review from ArthurZucker ArthurZucker 2 years ago
ArthurZucker
ArthurZucker commented on 2024-02-27
fxmarty
hackyon
ArthurZucker
hackyon
hackyon Adding SDPA support for BERT
ed6efd0c
hackyon Using the proper input name for testing model input in inference()
0f34d589
hackyon Adding documentation for SDPA in BERT model page
c85acbd2
hackyon Use the stable link for the documentation
5ce07b3f
hackyon Adding a gate to only call .contiguous() for torch < 2.2.0
288cc1d5
hackyon Additions and fixes to the documentation
2afd61f5
hackyon Minor updates to documentation
fa8b5ad3
hackyon Adding extra requirements needed for the contiguous() bug
05d5c4e1
hackyon Adding "Adapted from" in plcae of the "Copied from"
95ec569c
hackyon Add benchmark speedup tables to the documentation
a07fd890
hackyon Minor fixes to the documentation
64334c10
hackyon Use ClapText as a replacemenet for Bert in the Copied-From
6a7376d4
hackyon Some more fixes for the fix-copies references
5ddb6e15
hackyon Overriding the test_eager_matches_sdpa_generate in bert tests to not …
35577eba
hackyon Undo changes to separate test
0e62fe00
hackyon Refactored SDPA self attention code for KV projections
5c64480d
hackyon Change use_sdpa to attn_implementation
9a9bb9b4
hackyon hackyon force pushed to 9a9bb9b4 2 years ago
fxmarty
hackyon Merge remote-tracking branch 'upstream/main' into sdpa-bert
1a0af20b
hackyon
ArthurZucker
ArthurZucker ArthurZucker requested a review from ArthurZucker ArthurZucker 2 years ago
ArthurZucker
ArthurZucker
ArthurZucker approved these changes on 2024-04-05
hackyon Merge remote-tracking branch 'upstream/main' into sdpa-bert
09653991
hackyon
amyeroberts
hackyon Merge remote-tracking branch 'upstream/main' into sdpa-bert
b4813a02
hackyon
hackyon
hackyon Merge remote-tracking branch 'upstream/main' into sdpa-bert
e312cd12
hackyon Fix test_sdpa_can_dispatch_on_flash by preparing input (required for …
66a24c1e
hackyon
amyeroberts
amyeroberts amyeroberts merged dfa7b580 into main 1 year ago
HuggingFaceDocBuilderDev
hackyon
hackyon hackyon deleted the sdpa-bert branch 1 year ago
hackyon
coekfung

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone