Fuse Adam And SGD ops#15933
Merged
chengduoZH merged 29 commits intoPaddlePaddle:developfrom Mar 28, 2019
Merged
Conversation
test=develop
6919fac to
f4efaca
Compare
f4efaca to
53a0a35
Compare
test=develop
8dd7300 to
c7f55b6
Compare
test=develop
c7f55b6 to
85cf7f0
Compare
test=develop
panyx0718
reviewed
Feb 27, 2019
|
|
||
| bool fuse_elewise_add_act_ops_{false}; | ||
|
|
||
| bool fuse_all_optimizer_ops_{false}; |
Contributor
Author
There was a problem hiding this comment.
I'm not sure if this pass can improve performance on all models, today I'll turn it on and run on CE.
Contributor
Author
There was a problem hiding this comment.
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%.
test=develop
ff90563 to
cba8090
Compare
added 3 commits
March 3, 2019 19:52
b9e4192 to
344f7bc
Compare
added 2 commits
March 10, 2019 16:43
test=develop
test=develop
58cc69b to
9043b7e
Compare
test=develop
9043b7e to
1517287
Compare
added 4 commits
March 11, 2019 09:22
test=develop
added 2 commits
March 11, 2019 16:19
test=develop
51dd690 to
a8284aa
Compare
added 9 commits
March 12, 2019 16:14
test=develop
test=develop
… fuse_optimizer_ops test=develop
… fuse_optimizer_ops
… fuse_optimizer_ops_debug21
test=develop
test=develop
panyx0718
previously approved these changes
Mar 28, 2019
added 2 commits
March 28, 2019 14:41
… fuse_optimizer_ops test=develop
test=develop
panyx0718
previously approved these changes
Mar 28, 2019
test=develop
panyx0718
approved these changes
Mar 28, 2019
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.
Code separated from #15497
Transformer: