Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Transformers to v4.43.x #727

Merged
merged 8 commits into from
Aug 4, 2024
Merged

Conversation

calpt
Copy link
Member

@calpt calpt commented Jul 27, 2024

Changes required for sync:

  • re-copy Llama & Beit attention
  • add clip sdp & flash attn
  • fix tie_weights method
  • upgrade torch version in tests

@calpt calpt added the sync label Jul 27, 2024
calpt and others added 7 commits July 27, 2024 15:51
…port FlashAttention2

- overall speedup
- fixing failing test: Hugging Face needs to have has this import that resulted prior to this fix in an error: `from torch.nn.attention import SDPBackend, sdpa_kernel`
@calpt calpt marked this pull request as ready for review August 3, 2024 13:37
@calpt calpt merged commit bc90220 into adapter-hub:main Aug 4, 2024
4 checks passed
@calpt calpt deleted the sync/v4.43.x branch August 4, 2024 08:03
dainis-boumber added a commit to ReDASers/adapters that referenced this pull request Aug 30, 2024
Changes required for sync:
- re-copy Llama & Beit attention
- add clip sdp & flash attn
- fix tie_weights method
- upgrade torch version in tests

---------

Co-authored-by: Leon Engländer <leon.englaender@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants