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

Implement get_freqs for RopeWithAttentionSink #7115

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #7100
^ 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/helunwencser/81/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/helunwencser/81/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/helunwencser/71/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/helunwencser/81/orig
@diff-train-skip-merge

Copy link

pytorch-bot bot commented Nov 27, 2024

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 2590823 with merge base 6b73841 (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 Nov 27, 2024
Base automatically changed from gh/helunwencser/71/orig to main November 27, 2024 20:03
@kirklandsign kirklandsign added the release notes:attention_sink Implement attention sink described in https://arxiv.org/abs/2309.17453 label Nov 27, 2024
This PR implements the `get_freqs` function for `RopeWithAttentionSink`. It returns the `freqs_cos` and `freqs_sin` for given `input_pos` and `seq_len` after shifting tokens in the pre-computed `freqs_cos` and `freq_sin`.

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

ghstack-source-id: 255582545
Pull Request resolved: #7100
@kirklandsign kirklandsign force-pushed the gh/helunwencser/81/orig branch from 2c4d5ff to 2590823 Compare November 27, 2024 20:06
@kirklandsign kirklandsign merged commit c726a9b into main Nov 27, 2024
6 of 7 checks passed
@kirklandsign kirklandsign deleted the gh/helunwencser/81/orig branch November 27, 2024 20:06
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. release notes:attention_sink Implement attention sink described in https://arxiv.org/abs/2309.17453
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants