Skip to content
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

[dist_optim] add distributed functional sgd optimizer #50618

Closed
wants to merge 7 commits into from

Conversation

wanchaol
Copy link
Contributor

@wanchaol wanchaol commented Jan 15, 2021

Stack from ghstack:

Differential Revision: D25932778

Copy link
Member

@rohan-varma rohan-varma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good as it matches the implementation in #45597

@@ -207,3 +207,5 @@ def test_dist_optim(self):
def test_dist_optim_functional(self):
self._test_dist_optim_base(optim.Adagrad, lr=0.05)
self._test_dist_optim_base(optim.Adam, lr=1e-2, amsgrad=True)
self._test_dist_optim_base(optim.SGD, lr=0.05)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this test now duplicated with the one on line 203 of this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes you are right, right now we are defaulting to use the torchscripted version of optimizer, let me merge these two.

@facebook-github-bot
Copy link
Contributor

@wanchaol merged this pull request in cd20675.

@facebook-github-bot facebook-github-bot deleted the gh/wanchaol/152/head branch January 26, 2021 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed Merged oncall: distributed Add this issue/PR to distributed oncall triage queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants