- Notifications
You must be signed in to change notification settings - Fork26.3k
[Memory Viz] Add Compile Context to Visualizer#152862
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
pytorch-botbot commentedMay 5, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
🔗 Helpful Links🧪 See artifacts and rendered test results athud.pytorch.org/pr/152862
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit46c3488 with merge base2b4fe9f ( BROKEN TRUNK - The following job failed but were present on the merge base:👉Rebase onto the `viable/strict` branch to avoid these failures
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
facebook-github-bot commentedMay 5, 2025
This pull request wasexported from Phabricator. Differential Revision:D74202811 |
Summary:Adds PT2 info to visualizer. Also makes sure we have a case when compile context is not in pickle file.Test Plan: {F1977637362}Differential Revision: D74202811facebook-github-bot commentedMay 5, 2025
This pull request wasexported from Phabricator. Differential Revision:D74202811 |
| text=`${text}, Total memory used after allocation:${formatSize( | ||
| elem.max_allocated_mem, | ||
| )}`; | ||
| constcontext=elem?.compile_context??'None'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I think if statements may be easier to follow when checking elem.compile_context !== null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I did it this way just because I also want to set the default value as well if it doesn't show up and this is a nice one liner haha
facebook-github-bot commentedMay 6, 2025
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
pytorchmergebot commentedMay 6, 2025
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in thewiki. Questions? Feedback? Please reach out to thePyTorch DevX Team |
Summary: Adds PT2 info to visualizer. Also makes sure we have a case when compile context is not in pickle file.
Test Plan: {F1977637362}
Differential Revision: D74202811