Tutorials#

FedLab standardizes FL simulation procedure, including synchronous algorithm, asynchronous algorithm [1] and communication compression [4]. FedLab provides modular tools and standard implementations to simplify FL research.

Learn Distributed Network Basics

Step-by-step guide on distributed network setup and package transmission.

How to Customize Communication Strategy?

Use NetworkManager to customize communication strategies, including synchronous and asynchronous communication.

How to Customize Federated Optimization?

Define your own model optimization process for both server and client.

Federated Datasets and Data Partitioner

Get federated datasets and data partition for IID and non-IID setting.