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

[ET-VK] Introduce rotary embedding custom op #6392

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

SS-JIA
Copy link
Contributor

@SS-JIA SS-JIA commented Oct 21, 2024

Stack from ghstack (oldest at bottom):

Context

As title; introduces a custom op to calculate rotary positional embeddings in LLMs. The custom op achieves the same result as the apply_rotary_emb Python function. Please see the documentation comments in the shader for more details.

Differential Revision: D64697588

## Context

As title; introduces a custom op to calculate rotary positional embeddings in LLMs. The custom op achieves the same result as the `apply_rotary_emb` Python function. Please see the documentation comments in the shader for more details.

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Oct 21, 2024

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 6547b38 with merge base 46ea1a4 (image):

NEW FAILURE - The following job has 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 Oct 21, 2024
@facebook-github-bot
Copy link
Contributor

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

## Context

As title; introduces a custom op to calculate rotary positional embeddings in LLMs. The custom op achieves the same result as the `apply_rotary_emb` Python function. Please see the documentation comments in the shader for more details.

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

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

@kirklandsign kirklandsign merged commit 6abf85a into gh/SS-JIA/120/base Oct 21, 2024
45 of 46 checks passed
@kirklandsign kirklandsign deleted the gh/SS-JIA/120/head branch October 21, 2024 23:46
kirklandsign pushed a commit that referenced this pull request Oct 21, 2024
Pull Request resolved: #6392

## Context

As title; introduces a custom op to calculate rotary positional embeddings in LLMs. The custom op achieves the same result as the `apply_rotary_emb` Python function. Please see the documentation comments in the shader for more details.
ghstack-source-id: 249175725
@exported-using-ghexport

Differential Revision: [D64697588](https://our.internmc.facebook.com/intern/diff/D64697588/)
kirklandsign added a commit that referenced this pull request Oct 21, 2024
Pull Request resolved: #6392

## Context

As title; introduces a custom op to calculate rotary positional embeddings in LLMs. The custom op achieves the same result as the `apply_rotary_emb` Python function. Please see the documentation comments in the shader for more details.
ghstack-source-id: 249175725
@exported-using-ghexport

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

Co-authored-by: Stephen Jia <[email protected]>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants