-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[kineto] add SOFT_ASSERT when logging metdata #98442
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/98442
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 0181ec3: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D44513152 |
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, reviewed internally
Summary: Pull Request resolved: pytorch#98442 having a valid `kineto_activity_` before logging metadata is a crucial invariant worthy of asserts Test Plan: ## Test with D44362040 Verify that we get SOFT_ASSERT logs before and after the diff ## Log ``` W0329 11:29:34.269824 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.270107 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.270385 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.270653 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.270941 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.271199 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.271476 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.271724 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.272003 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.272280 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.272553 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.272822 718148 profiler_kineto.cpp:122] Warning: (function operator()) W0329 11:29:34.273092 718148 profiler_kineto.cpp:122] Warning: (function operator()) ``` Reviewed By: aaronenyeshi Differential Revision: D44513152 fbshipit-source-id: 60eb53248290993f3128ad8dc89c55bda58e2691
This pull request was exported from Phabricator. Differential Revision: D44513152 |
93b1302
to
0181ec3
Compare
@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 |
Summary: having a valid
kineto_activity_
before logging metadata is a crucial invariant worthy of assertsTest Plan:
Test with D44362040
Verify that we get SOFT_ASSERT logs before and after the diff
Log
Reviewed By: aaronenyeshi
Differential Revision: D44513152