Skip to content

Merge intermediate output with overlapped debug_handles #11529

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
Jun 12, 2025

Conversation

Juntian777
Copy link
Contributor

Summary: The function merge_overlapping_debug_handles was added to merge the overlapping debug handles in the intermediate outputs mapping, ensuring that only the last intermediate output is retained for each overlap.

Differential Revision: D76304528

@Juntian777 Juntian777 requested a review from Gasoonjia as a code owner June 10, 2025 17:39
Copy link

pytorch-bot bot commented Jun 10, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit ea8b1ef with merge base d719e8e (image):
💚 Looks good so far! There are no failures yet. 💚

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

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

@Juntian777
Copy link
Contributor Author

@pytorchbot label "release notes: none"

@pytorch-bot pytorch-bot bot added the release notes: none Do not include this in the release notes label Jun 10, 2025
Juntian777 added a commit to Juntian777/executorch that referenced this pull request Jun 10, 2025
Summary:

This PR added the function merge_overlapping_debug_handles to merge the overlapping debug handles in the intermediate outputs mapping, ensuring that only the last intermediate output is retained for each overlap.

Differential Revision: D76304528
@facebook-github-bot
Copy link
Contributor

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

Juntian777 added a commit to Juntian777/executorch that referenced this pull request Jun 11, 2025
Summary:

This PR added the function merge_overlapping_debug_handles to merge the overlapping debug handles in the intermediate outputs mapping, ensuring that only the last intermediate output is retained for each overlap.

Differential Revision: D76304528
@facebook-github-bot
Copy link
Contributor

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

Juntian777 added a commit to Juntian777/executorch that referenced this pull request Jun 11, 2025
Summary:
Pull Request resolved: pytorch#11529

This PR added the function merge_overlapping_debug_handles to merge the overlapping debug handles in the intermediate outputs mapping, ensuring that only the last intermediate output is retained for each overlap.

Differential Revision: D76304528
Summary:
Pull Request resolved: pytorch#11529

This PR added the function merge_overlapping_debug_handles to merge the overlapping debug handles in the intermediate outputs mapping, ensuring that only the last intermediate output is retained for each overlap.

It will be called later when do the mapping between aot_intermediate_outputs and runtime_intermediate_outputs as the first step to do pre-processing.

Reviewed By: larryliu0820

Differential Revision: D76304528
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot merged commit 0d244f9 into pytorch:main Jun 12, 2025
169 of 171 checks passed
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 release notes: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants