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: #15729 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/212/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/kimishpatel/212/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/kimishpatel/211/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/kimishpatel/212/orig
Differential Revision: D86120037
@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/)
Pull Request resolved: #15729

Existing constructors dont compose well such that if you want data loader or data files constructor then you cannot get to override memory allocator.
Fix that.
ghstack-source-id: 327518046
@exported-using-ghexport

Differential Revision: [D86120037](https://our.internmc.facebook.com/intern/diff/D86120037/)
@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/16122

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

❌ 3 New Failures

As of commit 2864b0f with merge base 8af8252 (image):

NEW FAILURES - The following jobs have 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/211/orig branch from 4eda1bf to 250c3b1 Compare December 7, 2025 15:34
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