transformers
[`GPTNeoX`] Flex Attention + Refactor
#34896
Merged

[`GPTNeoX`] Flex Attention + Refactor #34896

ArthurZucker merged 20 commits into huggingface:main from vasqu:flex-gptneox
vasqu
vasqu gpt neox flex attention + refactor
65da2538
vasqu some formatting
ebfdc1f9
vasqu
vasqu commented on 2024-11-23
vasqu small fix on dropout
b3c2b11b
vasqu add assertion on flex attn test
06685f82
vasqu flaky ci :(
53f73190
vasqu
vasqu
vasqu add head mask support
21941c5c
vasqu style
02089056
vasqu handle dtype, replace torch where
e689d28c
dame-cell
vasqu
dame-cell
vasqu fixup flex with output attns
7a444f5f
ArthurZucker
vasqu
ArthurZucker
ArthurZucker commented on 2024-11-26
vasqu
vasqu code review and several other fixes
bd22b3d7
vasqu Update src/transformers/modeling_utils.py
94ae1949
vasqu style
4c8c9a2c
vasqu
vasqu commented on 2024-11-28
vasqu
vasqu remove unnecessary comment
96f85b04
vasqu remove incorrect comment
086d0a5e
vasqu make flex attn check more agnostic tor versions and centralized
bb3fb239
vasqu change peft input dtype check to value since q and k could be affecte…
5e6d904f
vasqu i forgor
e51aa860
vasqu flaky
1a326c1a
vasqu
vasqu commented on 2024-11-29
ArthurZucker
ArthurZucker approved these changes on 2024-12-02
vasqu code review and small fixes
e8094285
vasqu Update src/transformers/models/gpt_neox/modeling_gpt_neox.py
05f51fec
vasqu
vasqu commented on 2024-12-02
vasqu
ArthurZucker
ArthurZucker approved these changes on 2024-12-04
ArthurZucker ArthurZucker merged 46df8599 into main 1 year ago
vasqu vasqu deleted the flex-gptneox branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone