Skip to content

Add smart mask style KVCache and mask #8463

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

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

sxu
Copy link
Contributor

@sxu sxu commented Feb 13, 2025

Summary: Python reference for cache and mask updates. Support smart mask (new from QC) in addition to shift pointers.

Differential Revision: D69595959

Copy link

pytorch-bot bot commented Feb 13, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 7b10da4 with merge base 2fff01a (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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 Feb 13, 2025
@facebook-github-bot
Copy link
Contributor

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

Summary:

Python reference for cache and mask updates. Support smart mask in addition to shift pointers.

Reviewed By: billmguo

Differential Revision: D69595959
@sxu sxu force-pushed the export-D69595959 branch from 2a00c5a to 7b10da4 Compare February 20, 2025 15:26
@sxu sxu requested a review from lucylq as a code owner February 20, 2025 15:26
@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@iseeyuan iseeyuan left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @sxu

@facebook-github-bot facebook-github-bot merged commit 463119e into pytorch:main Feb 20, 2025
47 of 50 checks passed
@kimishpatel
Copy link
Contributor

what is smart mask?

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 topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants