facebookresearch/FLSim

FedSGD with virtual batching

JohnlNguyen opened this issue ยท 0 comments

๐Ÿš€ 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.>