Repository navigation
[Dist Profiling] Support shape recording for profiling collectives in gloo - #51822
Closed
rohan-varma wants to merge 13 commits into
Closed
rohan-varma wants to merge 13 commits into
rohan-varma wants to merge 13 commits into
Conversation
… gloo Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
rohan-varma
requested review from
mingzhe09088,
mrshenli,
pritamdamania87 and
zhaojuanmao
as code owners
February 6, 2021 00:58
Contributor
💊 CI failures summary and remediationsAs of commit 1792fb2 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
rohan-varma
added a commit
that referenced
this pull request
Feb 6, 2021
… gloo Pull Request resolved: #51822 Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. ghstack-source-id: 121182347 Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/)
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
rohan-varma
added a commit
that referenced
this pull request
Feb 6, 2021
… gloo Pull Request resolved: #51822 Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. ghstack-source-id: 121192657 Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/)
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
mrzzd
reviewed
Feb 9, 2021
| std::vector<c10::IValue> inputs; | ||
| if (inputTensors) { | ||
| for (const auto& tensor : *inputTensors) { | ||
| inputs.push_back(tensor); |
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
rohan-varma
added a commit
that referenced
this pull request
Feb 9, 2021
Pull Request resolved: #51822 Adds support for shape recording for profiling distributed collectives, for nccl/gloo backends. Added both cpp and python tests to ensure that shapes are recorded properly. Note that we don't add `ProcessGroupNCCLTest`s since they need to be modified to support single process per device and > 1 world size. ghstack-source-id: 121313647 Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/)
mrzzd
approved these changes
Feb 9, 2021
mrzzd
left a comment
Contributor
There was a problem hiding this comment.
Great, thanks. Just that some tests fail.
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
rohan-varma
added a commit
that referenced
this pull request
Feb 10, 2021
Pull Request resolved: #51822 Adds support for shape recording for profiling distributed collectives, for nccl/gloo backends. Added both cpp and python tests to ensure that shapes are recorded properly. Note that we don't add `ProcessGroupNCCLTest`s since they need to be modified to support single process per device and > 1 world size. ghstack-source-id: 121396768 Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/)
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
…lectives in gloo" Adds support for shape recording for profiling distributed collectives, for gloo. Added both cpp and python tests to ensure that shapes are recorded properly. Differential Revision: [D26291739](https://our.internmc.facebook.com/intern/diff/D26291739/) [ghstack-poisoned]
Contributor
Author
|
CI passed, looks like its just rate limiting the completion though. |
This was referenced Feb 22, 2021
xsacha
pushed a commit
to xsacha/pytorch
that referenced
this pull request
Mar 31, 2021
…ytorch#51822) Summary: Pull Request resolved: pytorch#51822 Adds support for shape recording for profiling distributed collectives, for nccl/gloo backends. Added both cpp and python tests to ensure that shapes are recorded properly. Note that we don't add `ProcessGroupNCCLTest`s since they need to be modified to support single process per device and > 1 world size. ghstack-source-id: 121507509 Test Plan: CI Reviewed By: mrzzd Differential Revision: D26291739 fbshipit-source-id: 5f7bd54d8c36d17a4a29e172b25266ca3dbd8fbd
wubai
pushed a commit
to wubai/pytorch
that referenced
this pull request
Aug 6, 2023
…ytorch#51822) Summary: Pull Request resolved: pytorch#51822 Adds support for shape recording for profiling distributed collectives, for nccl/gloo backends. Added both cpp and python tests to ensure that shapes are recorded properly. Note that we don't add `ProcessGroupNCCLTest`s since they need to be modified to support single process per device and > 1 world size. ghstack-source-id: 121507509 Test Plan: CI Reviewed By: mrzzd Differential Revision: D26291739 fbshipit-source-id: 5f7bd54d8c36d17a4a29e172b25266ca3dbd8fbd
wubai
pushed a commit
to wubai/pytorch
that referenced
this pull request
Aug 8, 2023
…ytorch#51822) Summary: Pull Request resolved: pytorch#51822 Adds support for shape recording for profiling distributed collectives, for nccl/gloo backends. Added both cpp and python tests to ensure that shapes are recorded properly. Note that we don't add `ProcessGroupNCCLTest`s since they need to be modified to support single process per device and > 1 world size. ghstack-source-id: 121507509 Test Plan: CI Reviewed By: mrzzd Differential Revision: D26291739 fbshipit-source-id: 5f7bd54d8c36d17a4a29e172b25266ca3dbd8fbd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack:
Adds support for shape recording for profiling distributed collectives, for gloo. Added
both cpp and python tests to ensure that shapes are recorded properly.
Differential Revision: D26291739