Flower Framework Documentation#

Welcome to Flower’s documentation. Flower is a friendly federated learning framework.

Join the Flower Community#

The Flower Community is growing quickly - we’re a friendly group of researchers, engineers, students, professionals, academics, and other enthusiasts.

Join us on Slack

Flower Framework#

The user guide is targeted at researchers and developers who want to use Flower to bring existing machine learning workloads into a federated setting. One of Flower’s design goals was to make this simple. Read on to learn more.


A learning-oriented series of federated learning tutorials, the best place to start.

QUICKSTART TUTORIALS: PyTorch | TensorFlow | 🤗 Transformers | JAX | Pandas | fastai | PyTorch Lightning | scikit-learn | XGBoost | Android | iOS

We also made video tutorials for PyTorch:

And TensorFlow:

How-to guides#

Problem-oriented how-to guides show step-by-step how to achieve a specific goal.


Understanding-oriented concept guides explain and discuss key topics and underlying ideas behind Flower and collaborative AI.


Information-oriented API reference and other reference material.


Flower main package.

Contributor docs#

The Flower community welcomes contributions. The following docs are intended to help along the way.

Contributor explanations