Skip to content

Conversation

kirklandsign
Copy link
Contributor

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #6391
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/SS-JIA/119/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/119/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/119/orig

Pull Request resolved: #6391

## Context

As title. Wrap the `apply_rotary_emb` function call in a `nn.Module` to make it easy to perform a source module replacement for rotary embedding calculation.

The Vulkan delegate will use the source module replacement technique to insert a custom op to calculate rotary embeddings.
ghstack-source-id: 249175724
@exported-using-ghexport

Differential Revision: [D64697589](https://our.internmc.facebook.com/intern/diff/D64697589/)
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 21, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit ebe4540 with merge base 46ea1a4 (image):
💚 Looks good so far! There are no failures yet. 💚

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
@kirklandsign kirklandsign merged commit 0309854 into main Oct 21, 2024
42 checks passed
@kirklandsign kirklandsign deleted the gh/SS-JIA/119/orig branch October 21, 2024 23:46
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants