[WIP] Dispatch Friendly collectives#93379
Closed
wconstab wants to merge 10 commits intopytorch:masterfrom
Closed
Conversation
wconstab
commented
Jan 31, 2023
wconstab
commented
Jan 31, 2023
wconstab
commented
Jan 31, 2023
wconstab
commented
Jan 31, 2023
| self: grad.reshape_symint(self.sym_sizes()) | ||
| result: auto_linear | ||
|
|
||
| - name: all_reduce(Tensor self, str reduceOp, str tag, int[] ranks, int stride) -> Tensor |
Contributor
Author
There was a problem hiding this comment.
have you thought about how to handle str reduceOp?
i think it is OK to leave it as str instead of a new C++ type.
however, we need a way to translate between str/enum, and I didn't think about where to put that translator yet.
currently, i think we only need this in python (since inductor also calls into py api), so maybe we can keep it together with the pg mapping utils.
Contributor
There was a problem hiding this comment.
I think it should be in the same place as the op implementation.
added 2 commits
January 31, 2023 21:12
wconstab
commented
Feb 1, 2023
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 8, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 9, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 9, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 9, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 9, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 9, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 9, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 9, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 9, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 10, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 10, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 13, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 13, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 15, 2023
…ce Support" NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
wconstab
added a commit
that referenced
this pull request
Feb 15, 2023
NOTE: this is a hacked squashed version of Rodrigo's PR (#93379) designed to unblock inductor impl work. Wait for real PR to land then rebase the inductor stuff on top of that. [ghstack-poisoned]
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.
See #93173
cc @mlazos @soumith @voznesenskym @yanboliang @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @chunyuan-w @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @desertfire