Skip to content

Correct debug handle merging logic #12073

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Juntian777
Copy link
Contributor

Summary:
This update refines the merge_overlapping_debug_handles function to handle non-continuous debug handle tuples effectively. Previously, the function assumed that debug handle tuples were continuous. The new implementation:

1.Merges overlapping debug handles by taking the union of their elements, allowing for non-continuous tuples.
2.Selects the value for the merged key based on the debug handle with the highest last element.

Reviewed By: GregoryComer

Differential Revision: D77461675

@Juntian777 Juntian777 requested a review from Gasoonjia as a code owner June 27, 2025 21:30
Copy link

pytorch-bot bot commented Jun 27, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit 0733d17 with merge base f888bdf (image):

NEW FAILURES - The following jobs have failed:

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

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

@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 27, 2025
Summary:

This update refines the merge_overlapping_debug_handles function to handle non-continuous debug handle tuples effectively. Previously, the function assumed that debug handle tuples were continuous. The new implementation:

1.Merges overlapping debug handles by taking the union of their elements, allowing for non-continuous tuples.
2.Selects the value for the merged key based on the debug handle with the highest last element.

Reviewed By: GregoryComer, Gasoonjia

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

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

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