[Profiler] Break metadata generation into multiple visitors#83033
[Profiler] Break metadata generation into multiple visitors#83033robieta wants to merge 12 commits intogh/robieta/97/basefrom
Conversation
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
🔗 Helpful links
❌ 1 New FailuresAs of commit adaa9cb (more details on the Dr. CI page): Expand to see more
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages
|
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) ghstack-source-id: 163868318 Pull Request resolved: #83033
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
Pull Request resolved: #83033 This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) ghstack-source-id: 163978390 Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/)
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
Pull Request resolved: #83033 This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) ghstack-source-id: 164009732 Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/)
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
| while (parent && !parent_id.has_value()) { | ||
| parent->visit_if_base<PyExtraFieldsBase>( | ||
| [&](const auto& j) { parent_id = std::to_string(j.id_); }); | ||
| parent = parent->parent_.lock(); |
There was a problem hiding this comment.
I discovered to my horror that this was missing meaning this PR could cause infinite loops. (And did for __torch_dispatch__.) Thus I added unit tests and confirmed that they looped until this line was added.
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
|
@pytorchbot merge -l |
|
@pytorchbot successfully started a merge job. Check the current status here. |
|
Merge failed |
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Differential Revision: [D38469409](https://our.internmc.facebook.com/intern/diff/D38469409/) [ghstack-poisoned]
…83033) Summary: This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.) Pull Request resolved: #83033 Approved by: https://github.com/aaronenyeshi Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/37f91d700bcb80c5f254c734a420ad89928771f4 Original Phabricator Test Plan: Existing unit tests. Reviewed By: aaronenyeshi, seemethere Differential Revision: D38469409 Pulled By: robieta fbshipit-source-id: 143a45044782e7120802948fba3274e905e65af8
Stack from ghstack (oldest at bottom):
This is a no-op change which establishes a base class to handle Result to Kineto details, and then splits the existing logging logic. (With the idea that at some point we'll probably conditionally run things to manage trace size.)
Differential Revision: D38469409