Examples for Running a Federation

OpenFL currently offers three ways to set up and run experiments with a federation: the Task Runner API, the Interactive API, and the experimental workflow interface. The Interactive API introduces a convenient way to set up a federation and brings “long-lived” components in a federation (“Director” and “Envoy”), while the Task Runner API workflow is advised for scenarios where the workload needs to be verified prior to execution. In contrast, the experimental workflow interface is introduce to provide significant flexility to researchers and developers in the construction of federated learning experiments.

Task Runner API

Formulate the experiment as a series of tasks, or a flow.

See Task Runner API: Federated PyTorch MNIST

Interactive API

Setup long-lived components to run many experiments in series.

See Interactive API: MNIST Classification Tutorial

Workflow Interface (Experimental)

Formulate the experiment as a series of tasks, or a flow.

See Workflow Interface: Federated PyTorch MNIST

Note

Please visit repository for a full list of tutorials