Add fuse momenutum ops#16745
Merged
chengduoZH merged 7 commits intoPaddlePaddle:developfrom Apr 23, 2019
Merged
Conversation
test=develop
37b352e to
f5efe60
Compare
test=develop
f5efe60 to
571175e
Compare
added 2 commits
April 12, 2019 20:16
… add_fuse_momentum test=develop
test=develop
added 3 commits
April 22, 2019 19:34
… add_fuse_momentum test=develop
… add_fuse_momentum test=develop
bbb9133 to
4634bea
Compare
tensor-tang
reviewed
Apr 23, 2019
| // NOTE: fused_var is only exist in scope, so the graph doesn't have | ||
| // fused_var node. | ||
|
|
||
| VLOG(7) << "Insert adam to graph "; |
| } | ||
|
|
||
| VLOG(10) << "Find " << fuse_op_type << " operators: " << opt_ops.size(); | ||
| VLOG(6) << "Find " << fuse_op_type << " operators: " << opt_ops.size(); |
Contributor
There was a problem hiding this comment.
sometimes 5, sometimes 6?
Any reason?
ceci3
pushed a commit
to ceci3/Paddle
that referenced
this pull request
Apr 24, 2019
* Add fuse momenutum ops
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.
Test script:
Env:
For 1 card, because the momentum ops are fused, so the throughput is increased.
For 4 card, because the momentum ops are fused, so the execution of momentum ops are delayed, so the throughput is increased.