transformers
:rotating_light: [`FA4`] Initial support
#42435
Merged

:rotating_light: [`FA4`] Initial support #42435

vasqu merged 42 commits into huggingface:main from vasqu:fa4-support
vasqu
vasqu initial implementation
e82beeb8
vasqu
vasqu commented on 2025-11-26
HuggingFaceDocBuilderDev
vasqu Merge branch 'main' into fa4-support
1a45b34a
vasqu CB support
30c66822
vasqu change how we call item on max_seq_len_q/k
e9cdeea2
vasqu fix
40168b4f
vasqu tests
91a1b3be
vasqu fix fa2 clash
8d3dc6c8
vasqu unify the fa dispatch
bf1d5896
vasqu fix
f5b7f9c6
vasqu modernbert...
6288f44a
vasqu oops
15ed2eb9
vasqu parity test
6be5bbee
vasqu style
dad1b04c
vasqu nit
34c15c2a
vasqu
sfc-gh-sbekman
sfc-gh-sbekman commented on 2025-12-01
sfc-gh-sbekman
vasqu
stas00
vasqu
stas00
sfc-gh-sbekman
edixiong
sfc-gh-sbekman
sfc-gh-sbekman
edixiong
edixiong
vasqu
stas00
stas00
stas00
stas00
stas00 commented on 2026-03-05
vasqu
stas00
vasqu Merge branch 'main' into fa4-support
ac8e3095
vasqu fixup imports for fa4
776a1af3
vasqu
sfc-gh-sbekman
sfc-gh-sbekman commented on 2026-03-06
vasqu enable attention sinks, fixup logits checks in parity test
cc7a1b73
vasqu Merge branch 'main' into fa4-support
ca26ecf6
vasqu style
65912b2c
vasqu vasqu marked this pull request as ready for review 164 days ago
vasqu
vasqu vasqu requested a review from ArthurZucker ArthurZucker 164 days ago
vasqu vasqu requested a review from Cyrilvallez Cyrilvallez 164 days ago
jiosephlee
vasqu
Cyrilvallez
Cyrilvallez commented on 2026-03-09
vasqu change dispatch logic and introduce lower bound for FA
d07749f4
vasqu Merge branch 'main' into fa4-support
95d644e5
vasqu style
ed88dcce
vasqu fix test
7fba6df6
vasqu min fa2, avoid 2x device sync
27acafe0
vasqu Merge branch 'main' into fa4-support
ba9fb595
vasqu style
afa0940a
vasqu simple min version instead of list
7223fe6d
vasqu fixup error message on non init check
da88dcf9
vasqu fixup up non init check a tad more
654db436
ArthurZucker
ArthurZucker approved these changes on 2026-03-12
vasqu Merge branch 'main' into fa4-support
a690e55d
vasqu refactor some FA constants out to main fa utils
d3485dac
vasqu new marker for all fas needed
476789fc
vasqu oops
19e4c44f
vasqu style and make the fa kernel fallback generalized
08445b61
vasqu default none...
920bef73
vasqu more refactors
8ee8c567
vasqu style
cd2a9b34
vasqu vasqu changed the title [`FA4`] Initial support :rotating_light: [`FA4`] Initial support 157 days ago
vasqu fix
27e0d58b
vasqu this test faulty even on main, xformers can handle any shape apparent…
043f11f3
github-actions
vasqu lets make this more robust, we should check for none within...
b0485b5b
vasqu fix
eae216e6
vasqu oops
15f6ba97
vasqu vasqu merged 65db6fc0 into main 157 days ago
vasqu vasqu deleted the fa4-support branch 157 days ago
imstevenpmwork
ArthurZucker
vasqu

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone