Skip to content

{executorch][llama] support mqa #3080

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

Closed
wants to merge 2 commits into from

Conversation

kimishpatel
Copy link
Contributor

@kimishpatel kimishpatel commented Apr 17, 2024

Stack from ghstack (oldest at bottom):

This diff adds support for multi query attention for sdpa with kv cache

Differential Revision: D56228316

This diff adds support for multi query attention for sdpa with kv cache

Differential Revision: [D56228316](https://our.internmc.facebook.com/intern/diff/D56228316/)

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Apr 17, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3080

Note: Links to docs will display an error until the docs builds have been completed.

❌ 5 New Failures

As of commit 26aced7 with merge base 458d743 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 17, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56228316

kimishpatel added a commit that referenced this pull request Apr 17, 2024
This diff adds support for multi query attention for sdpa with kv cache

Differential Revision: [D56228316](https://our.internmc.facebook.com/intern/diff/D56228316/)

ghstack-source-id: 222819128
Pull Request resolved: #3080
Copy link

@mikekgfb mikekgfb left a comment

Choose a reason for hiding this comment

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

Please ensure all tests pass before landing!

@@ -1,8 +1,22 @@
# Any targets that should be shared between fbcode and xplat must be defined in
# targets.bzl. This file can contain fbcode-only targets.

load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
Copy link
Contributor

Choose a reason for hiding this comment

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

Use runtime? You can do

runtime.python_unittest(
...
)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh this was due to arc lint. let me fix.

This diff adds support for multi query attention for sdpa with kv cache

Differential Revision: [D56228316](https://our.internmc.facebook.com/intern/diff/D56228316/)

[ghstack-poisoned]
kimishpatel added a commit that referenced this pull request Apr 17, 2024
Pull Request resolved: #3080

This diff adds support for multi query attention for sdpa with kv cache

Differential Revision: [D56228316](https://our.internmc.facebook.com/intern/diff/D56228316/)
ghstack-source-id: 222855405
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56228316

@kimishpatel
Copy link
Contributor Author

bunch of pre-existing failures with re2.h that @larryliu0820 is fixing

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in bae0387.

@mergennachin mergennachin mentioned this pull request Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants