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

Support SDPA & Flash Attention 2 for LayoutLMv3 #35467

Open
stancld opened this issue Dec 31, 2024 · 0 comments
Open

Support SDPA & Flash Attention 2 for LayoutLMv3 #35467

stancld opened this issue Dec 31, 2024 · 0 comments
Labels
Feature request Request for a new feature

Comments

@stancld
Copy link
Contributor

stancld commented Dec 31, 2024

Feature request

Support SDPA & Flash Attention 2 for LayoutLMv3.

Motivation

Speed up document transformer training and inference.

Your contribution

I can add it.

@stancld stancld added the Feature request Request for a new feature label Dec 31, 2024
@stancld stancld changed the title Support Flash Attention 2 for LayoutLMv3 Support SDPA & Flash Attention 2 for LayoutLMv3 Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant