Skip to content

Turn on device memory planing as default#20239

Merged
Gasoonjia merged 4 commits into
mainfrom
gh/gasoonjia/174/base
Jun 12, 2026
Merged

Turn on device memory planing as default#20239
Gasoonjia merged 4 commits into
mainfrom
gh/gasoonjia/174/base

Conversation

@Gasoonjia

Copy link
Copy Markdown
Contributor

recreate the PR due to ghexport bot didn't work
diff: D107597774
original: #20214

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.15.0)
(oldest at bottom):
* #18788
* __->__ #20214
* #19828
* #19582
* #18760
* #18730
* #18761

This diff turn on the on-device memory planing as default, so that every
delegate which enables on device memory planing will be use that./

Also update cuda backend to remove H2D/D2H copies and extra caches

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

pytorch-bot Bot commented Jun 12, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

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 Jun 12, 2026
@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@Gasoonjia Gasoonjia merged commit d7ca5db into main Jun 12, 2026
280 of 294 checks passed
@Gasoonjia Gasoonjia deleted the gh/gasoonjia/174/base branch June 12, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/cuda 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.

2 participants