• Docs >
  • FedML Octopus Examples

FedML Octopus Examples

Horizontal Federated Learning

Hierarchical Federated Learning

  • hierarchical_fedavg_mnist_lr_example: an example to illustrate running hierarchical federated learning in data silos (hospitals, banks, etc.). As shown in the figure below, here hierarchical implies that each FL Client (data silo) has multiple GPUs that can run local distributed training with PyTorch DDP, and the FL server then aggregates globally from the results received from all FL Clients.