Skip to content

Support SDPA & Flash Attention 2 for LayoutLMv3 #35467

@stancld

Description

@stancld

Feature request

Support SDPA & Flash Attention 2 for LayoutLMv3.

Motivation

Speed up document transformer training and inference.

Your contribution

I can add it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions