-
Notifications
You must be signed in to change notification settings - Fork 728
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
Refactor get sbp signature #9304
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d7c11bc
Add a GetSbpSignature with use parallel num
Yipeng1994 f30f29d
Get sbp_sig_list for each dimension of hierarchy
Yipeng1994 fdc7ee8
Add test script and print out information
Yipeng1994 e1b4a96
Remove parallel description in GetSbpSignature()
Yipeng1994 dc23ff7
Fix small bug
Yipeng1994 195b0ea
Disable InferNdSbp for reshape op
Yipeng1994 3f6d981
Merge branch 'master' into refactor-GetSbpSignature
Yipeng1994 f7d29d1
Revert "Add test script and print out information"
Yipeng1994 5f37956
Add hierarchy value
Yipeng1994 f92e330
Address comments
Yipeng1994 0c0954c
parallel num j-> hierarchy value for reshape op
Yipeng1994 16973bb
Static analysis
Yipeng1994 ccd8c57
refine
Yipeng1994 f471774
Update user_op.cpp
Yipeng1994 64832e4
Update operator.cpp
Yipeng1994 657c79e
Merge branch 'master' into refactor-GetSbpSignature
Yipeng1994 582d20a
auto format by CI
oneflow-ci-bot 8f7ca2f
Revert Update operator.cpp
Yipeng1994 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
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.
hierarchy_value 这个名字我觉得还是有点怪,hierarchy 本身就不是太精确,后来 pytorch 取了 device mesh 这个名字。你的专业英文比较好,感觉应该能想出更加精确的名字来?
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.
hierarchy直译就是分级的意思,emmm,hierarchy的一个分量,就直译了hierarchy value了,从一开始我其实也不知道取什么名,第一版随便取了一个hierarchy num,然后现在改成value,阔以说只要oneflow内部还在用着这个hierarchy,基本上没什么好的选择了
我记得以前还在周会上讨论过这个问题,当时也有建议过mesh,后来决定在外部用rank,内部就无所谓了
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.
我同意在未来将 hierarchy 重命名为 device mesh