Simulation Examples
Simulation with a Single Process (Standalone)
- sp_fedavg_mnist_lr_example: Simulating FL using a single process in your personal laptop or server. This is helpful when researchers hope to try a quick algorithmic idea in small synthetic datasets (MNIST, shakespeare, etc.) and small models (ResNet-18, Logistic Regression, etc.).
Simulation with Message Passing Interface (MPI)
- mpi_torch_fedavg_mnist_lr_example: MPI-based Federated Learning for cross-GPU/CPU servers.
More examples can be found at: https://github.com/FedML-AI/FedML/blob/master/python/examples/README.md