Add async sgd document#8474
Merged
Yancey0623 merged 5 commits intoPaddlePaddle:developfrom Feb 28, 2018
Merged
Conversation
typhoonzero
reviewed
Feb 21, 2018
| is_async=False, | ||
| model_average=None, | ||
| gradient_clipping_threshold=None): | ||
| gradient_clipping_threshold=None, |
Contributor
There was a problem hiding this comment.
Seems these changes broke the CI unit tests
wangkuiyi
reviewed
Feb 22, 2018
doc/howto/cluster/cmd_argument_cn.md
Outdated
|
|
||
| ## 异步 SGD 更新 | ||
|
|
||
| 您可以修改 `optimize` 的参数来支持异步SGD更新,示例如下: |
Collaborator
There was a problem hiding this comment.
下文里没有一个叫做 optimize 的参数呀?
doc/howto/cluster/cmd_argument_en.md
Outdated
|
|
||
| ## Async SGD Update | ||
|
|
||
| You can modify the parameters of `optimize` to support Async SGD update, for example: |
Collaborator
There was a problem hiding this comment.
I don't see a parameter named optimize in the following code snippet. Do you mean
We can set some parameters of the optimizer to make it support async SGD update. For example, we can set the
is_asyncandasync_lagged_grad_discard_ratioof theAdaGradoptimizer:
Contributor
Author
There was a problem hiding this comment.
Thanks, this description is clearer.
| value larger than some value, will be | ||
| clipped. | ||
| :type gradient_clipping_threshold: float | ||
| :param async_lagged_grad_discard_ratio: async sgd gradient commit control, |
| :type gradient_clipping_threshold: float | ||
| :param async_lagged_grad_discard_ratio: async sgd gradient commit control, | ||
| when async_lagged_grad_discard_ratio * num_gradient_servers commit passed, | ||
| current async gradient will be discard silently. |
Collaborator
There was a problem hiding this comment.
will be discard silently
==>
is discarded
| :type gradient_clipping_threshold: float | ||
| :param async_lagged_grad_discard_ratio: async sgd gradient commit control, | ||
| when async_lagged_grad_discard_ratio * num_gradient_servers commit passed, | ||
| current async gradient will be discard silently. |
Collaborator
There was a problem hiding this comment.
current sgd gradient
==>
the current SGD gradient
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.
Fixed #8268