-
Notifications
You must be signed in to change notification settings - Fork 6k
Fuse Adam And SGD ops #15933
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
Merged
chengduoZH
merged 29 commits into
PaddlePaddle:develop
from
chengduoZH:fuse_optimizer_ops
Mar 28, 2019
Merged
Fuse Adam And SGD ops #15933
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
ad3179a
fuse optimizer
699ef1f
Polish code
85cf7f0
refine unit test
cac288f
disable test_batchnorm_fc_with_fuse_op
cba8090
fix travis_ci
c1b3e17
debug
ed625fa
Polish code
344f7bc
Add Alignment
3f3ee45
Polish code
19171a2
Fix Travis CI
1517287
fix alignment
badf059
add no_check_set for test_alloc_continuous_space_op
64e6d99
CPU alignment is zero
7821cc5
Test CE
5d37afe
Add is_compiled_with_cuda
0fb1772
Fix CI
a8284aa
Fix unit test
c32512d
Polish code
d0021e4
fix unit test
6e7a0af
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
af2d76c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
b79cb66
update multi_devices_helper.h
7a83b73
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
5d0cf13
Add Alignment in Fused_all_reduce_op_handle
b6f59ca
fix memory align size
bd60d24
fix apply
ffbb165
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
9bf018f
update Pass::Apply
c8f4fe0
remove unique_ptr of parallel_executor
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 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
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
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
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
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
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.
enable by default?
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.
?
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.
I'm not sure if this pass can improve performance on all models, today I'll turn it on and run on CE.
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.
what's the result?
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.
For some models, the speed can be increased by 19%, for example, the model_object_detection model (in the case of 4 cards), in some models, the speed decreases slightly by 1%.