Skip to content

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: #15728 by @kimishpatel
^ 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/kimishpatel/211/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/kimishpatel/211/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/kimishpatel/203/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/kimishpatel/211/orig
Differential Revision: D85532076
@diff-train-skip-merge

Pull Request resolved: #15610

For small models dequantizing portions of v cache causes extra alloc overhead.

Probably a better way to handle this is to dequantize entire v cache outside the model

There isnt significant perf advantage from this yet but subsequent diffs will use caching allocator where this refactor help.
ghstack-source-id: 327191612
@exported-using-ghexport

Differential Revision: [D85532077](https://our.internmc.facebook.com/intern/diff/D85532077/)
Pull Request resolved: #15611

Meant to use this for temp allocator for kernels. Specifically for sdpa, it seems that on iOS there is a significant overhead coming from allocations
ghstack-source-id: 327518047
@exported-using-ghexport

Differential Revision: [D85532079](https://our.internmc.facebook.com/intern/diff/D85532079/)
Pull Request resolved: #15728

This allows us to leverage temp memory allocator and if that allocator is caching allocator it reduces the allocaiton overhead.
ghstack-source-id: 327518050
@exported-using-ghexport

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

pytorch-bot bot commented Dec 6, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 4eda1bf with merge base 8af8252 (image):

NEW FAILURE - The following job has failed:

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

@meta-cla meta-cla 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 Dec 6, 2025
@kimishpatel kimishpatel force-pushed the gh/kimishpatel/203/orig branch from 9574817 to 8b88a23 Compare December 7, 2025 03:38
Base automatically changed from gh/kimishpatel/203/orig to main December 7, 2025 05:02
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