Skip to content

About

A PyTorch implementation of the Federated Averaging (FedAvg) algorithm for decentralized neural network training with client-side local training and server-side weighted model aggregation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

FedAvg in PyTorch

A from-scratch PyTorch implementation of the Federated Averaging (FedAvg) algorithm introduced in Communication-Efficient Learning of Deep Networks from Decentralized Data.

Project

  • Simulated client-server federated learning on MNIST
  • Local client training with SGD
  • Weighted model aggregation (FedAvg)
  • Modular architecture with separate Client, Server, and Model classes
  • Timestamped model checkpointing
  • Separate training and evaluation scripts

References

McMahan, B., Moore, E., Ramage, D., Hampson, S., & Aguera y Arcas, B. (2017). Communication-Efficient Learning of Deep Networks from Decentralized Data.

About

A PyTorch implementation of the Federated Averaging (FedAvg) algorithm for decentralized neural network training with client-side local training and server-side weighted model aggregation.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages