Skip to content

Update Flash Attention forward for Llama 2: #3595

Merged
andreaskoepf merged 2 commits into
LAION-AI:mainfrom
jordiclive:llama2_flash
Jul 23, 2023
Merged

Update Flash Attention forward for Llama 2: #3595
andreaskoepf merged 2 commits into
LAION-AI:mainfrom
jordiclive:llama2_flash

Conversation

@jordiclive

@jordiclive jordiclive commented Jul 23, 2023

Copy link
Copy Markdown
Collaborator

GQA for 34B and 70B and tp have been added

The current flash attn patch forward is for the old transformers' attention forward.

@andreaskoepf andreaskoepf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool thanks a lot!

@andreaskoepf
andreaskoepf merged commit 3c8f93e into LAION-AI:main Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants