Skip to content

fix bugs in llama flash attention#681

Merged
research4pan merged 2 commits into
OptimalScale:mainfrom
yaoguany:main
Nov 27, 2023
Merged

fix bugs in llama flash attention#681
research4pan merged 2 commits into
OptimalScale:mainfrom
yaoguany:main

Conversation

@yaoguany

Copy link
Copy Markdown
Collaborator

fix bugs in llama2-70b multi-query attention

@research4pan research4pan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks! (This should support llama models with multi-query attention, such as Llama-2-70b, whose num_heads != num_key_value_heads)

@research4pan
research4pan merged commit 4124102 into OptimalScale:main Nov 27, 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