Skip to content

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
@pytorch-bot
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.

✅ No Failures

As of commit 0733d17 with merge base f888bdf (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 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

@facebook-github-bot facebook-github-bot merged commit 292c7b4 into pytorch:main Jun 29, 2025
168 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