-
Notifications
You must be signed in to change notification settings - Fork 24.5k
[Profiler] Handle events from Kineto in the unified result class. #80797
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
At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/) [ghstack-poisoned]
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 2cb5879 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/) ghstack-source-id: 160534632 Pull Request resolved: #80797
… class." At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/) [ghstack-poisoned]
Pull Request resolved: #80797 At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. ghstack-source-id: 160544694 Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/)
… class." At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/) [ghstack-poisoned]
… class." At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/) [ghstack-poisoned]
… class." At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/) [ghstack-poisoned]
… class." At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/) [ghstack-poisoned]
Pull Request resolved: #80797 At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. ghstack-source-id: 161652344 Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/)
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
… class." At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
… class." At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) Pull Request resolved: #81895 Approved by: https://github.com/slgong-fb, https://github.com/davidchencsl
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) Pull Request resolved: #81895 Approved by: https://github.com/slgong-fb, https://github.com/davidchencsl
… class." At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Differential Revision: [D37406956](https://our.internmc.facebook.com/intern/diff/D37406956/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which colle 8000 ctively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
@pytorchbot merge -l |
@pytorchbot successfully started a merge job. Check the current status here |
Hey @robieta. |
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Differential Revision: [D38038122](https://our.internmc.facebook.com/intern/diff/D38038122/) [ghstack-poisoned]
Summary: In the course of trying to get #80797 out the door, I've wound up making a number of minor tweaks to `test_profiler_tree` which collectively have made it much easier to debug. It's also revealed what seems to be a correctness issue with how profiler assigns lineage on certain platforms. So I've decided to pull those testing improvements into a standalone PR. Pull Request resolved: #81895 Approved by: https://github.com/slgong-fb, https://github.com/davidchencsl Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/8d14b06c059548a969db360e50d13cf76e394bff Original Phabricator Test Plan: $ EXPECTTEST_ACCEPT=1 buck run mode/opt //caffe2/test:profiler -- -r test_profiler_experimental_tree Reviewed By: osalpekar, slgong-fb Differential Revision: D38038122 Pulled By: robieta fbshipit-source-id: 5453226849223f9e8dca527627877ae2b5d9e7b3
…0797) (#80797) Summary: At long last, `torch::profiler::impl::Result` can handle all data for the profiler. The principle change is that `collection.cpp` now extracts events that Kineto collected rather than `profiler_kineto.cpp`, and there is now an `ExtraFields<Kineto>` type added to the Result variant. Pull Request resolved: #80797 Approved by: https://github.com/aaronenyeshi Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/61b21f28d87cce11c5d25ee252b63906bd6e0b20 Original Phabricator Test Plan: Added a unit test to `test_profiler_tree` Reviewed By: aaronenyeshi, osalpekar Differential Revision: D37406956 Pulled By: robieta fbshipit-source-id: 7109d07b066d9defbb09e60858577efd55a4e220
Stack from ghstack (oldest at bottom):
tag
property toResult
#81965At long last,
torch::profiler::impl::Result
can handle all data for the profiler. The principle change is thatcollection.cpp
now extracts events that Kineto collected rather thanprofiler_kineto.cpp
, and there is now anExtraFields<Kineto>
type added to the Result variant.Differential Revision: D37406956