flower

Flower: A Friendly Federated AI Framework

What is flower?

Flower: A Friendly Federated AI Framework

Overview of flower

What it is

Flower (flwr) is a framework for building federated AI systems. It originated from a research project at the University of Oxford and is designed to be customizable, extendable, framework-agnostic, and understandable. Flower can be used with any machine learning framework, including PyTorch, TensorFlow, Hugging Face Transformers, PyTorch Lightning, scikit-learn, JAX, TFLite, MONAI, fastai, MLX, XGBoost, CatBoost, LeRobot, Pandas, or raw NumPy.

Key features

  • Customizable: Allows a wide range of configurations depending on the needs of each use case.
  • Extendable: Many components can be extended and overridden to build new state-of-the-art systems.
  • Framework-agnostic: Works with any machine learning framework.
  • Understandable: Written with maintainability in mind; the community is encouraged to read and contribute to the codebase.

Use cases

Federated learning research and development, building federated AI systems, reproducing experiments from federated learning publications (via Flower Baselines), and integrating federated learning with various machine learning frameworks. Example use cases include federated finetuning of large language models, vision transformers, and OpenAI's Whisper, as well as vertical federated learning and federated analytics with Pandas.

Getting started

See the repository README for installation and quickstart guides for TensorFlow, PyTorch, Hugging Face, PyTorch Lightning, Pandas, fastai, JAX, scikit-learn, Android (TFLite), iOS (CoreML), MLX, XGBoost, CatBoost, and other examples.

License and pricing

License: Apache-2.0. Pricing: open source (no cost).

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/flwrlabsflower.svg)](https://yunodb.com/tools/flwrlabsflower?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/flwrlabsflower?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/flwrlabsflower.svg" alt="Featured on YunoDB" height="20"></a>