-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Support CPU Parallel in DataParallel Interface by GLOO to speed up training #35745
Merged
gongweibao
merged 23 commits into
PaddlePaddle:develop
from
2742195759:user_specified_backend
Oct 21, 2021
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
50464c2
add gloo parallel training support in dist.spawn() and dist.launch
2742195759 25a05bb
add 2 testcase: test_cpuonly_spawn and test_cpuonly_launch
2742195759 103688b
change namespace to hasattr judge
2742195759 dd04b7a
fix bug
2742195759 b831674
fix for code review
2742195759 970c8fa
fix bug
2742195759 c15cce0
add env
2742195759 0400eca
if not gloo and not cpuonly, will not execute the cpuonly mode
2742195759 9036ae1
fix bug
2742195759 8b1e643
functional commit, finish spawn and launch for customized backend
2742195759 b7caaf3
change cmakefile list
2742195759 8af32d6
remove testcase
2742195759 2b2a01c
Merge branch 'spawn' into user_specified_backend
2742195759 947fd53
fix block windows and mac function
2742195759 2bca5a7
change cmakelists.txt
2742195759 ecc4e31
move backend deduction logic to _get_env_list
2742195759 23e9512
fix bug
2742195759 32ca400
1. change gloo_context to support sparse embedding gradient allreduce…
2742195759 668c92e
merge develop
2742195759 ae04c8a
add support for coverage
2742195759 54baec2
add timeout
2742195759 3112725
add TIMEOUT of resnext_gloo to 900
2742195759 550a74e
remove resnext_gloo testcase
2742195759 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
Oops, something went wrong.
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.
这个地方是 Throw Exception?
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.
这个保持了gloo_wrapper的其他接口的处理范式,参见line 221行