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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

FedSGD with virtual batching #43

Open
JohnlNguyen opened this issue Apr 6, 2022 · 0 comments
Open

FedSGD with virtual batching #43

JohnlNguyen opened this issue Apr 6, 2022 · 0 comments

Comments

@JohnlNguyen
Copy link
Contributor

馃殌 Feature

Motivation

Create a memory efficient client to run FedSGD. If a client has many examples, running FedSGD (taking the gradient of the model based on all of the client's data) can lead to OOM. In this PR, we fix this problem by still calling optimizer.step once at the end of local training to simulate the effect of FedSGD.>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant