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
[Kineto] Fix the Chrome trace loading issue with all_to_all input split length > 30 #113392
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/113392
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit e0ea3ef with merge base bb06725 (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D51167843 |
This PR needs a
|
…it length > 30 (pytorch#113392) Summary: This change fixes the Chrome trace loading issue with all_to_all input split length > 30. Now when the `all_to_all` input split size is larger than 30 we truncate the content and adding `...` at the end, which caused trouble when loading with Chrome trace. Test Plan: **Trace with length = 2**: - Link: https://fburl.com/perfdoctor/b94u4x82 {F1145436735} **Looking into the json file**: ``` Before: "In split size": [6058496, 5942784] After "In split size": "[6058496, 5942784]" ``` {F1145551691} Reviewed By: aaronenyeshi Differential Revision: D51167843
59b7d29
to
e0ea3ef
Compare
This pull request was exported from Phabricator. Differential Revision: D51167843 |
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.
LGTM
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…it length > 30 (pytorch#113392) Summary: This change fixes the Chrome trace loading issue with all_to_all input split length > 30. Now when the `all_to_all` input split size is larger than 30 we truncate the content and adding `...` at the end, which caused trouble when loading with Chrome trace. Test Plan: **Trace with length = 2**: - Link: https://fburl.com/perfdoctor/b94u4x82 {F1145436735} **Looking into the json file**: ``` Before: "In split size": [6058496, 5942784] After "In split size": "[6058496, 5942784]" ``` Reviewed By: aaronenyeshi Differential Revision: D51167843 Pull Request resolved: pytorch#113392 Approved by: https://github.com/aaronenyeshi
Summary:
This change fixes the Chrome trace loading issue with all_to_all input split length > 30.
Now when the
all_to_all
input split size is larger than 30 we truncate the content and adding...
at the end, which caused trouble when loading with Chrome trace.Test Plan:
Trace with length = 2:
{F1145436735}
Looking into the json file:
Reviewed By: aaronenyeshi
Differential Revision: D51167843