Skip to main content

Flower - A Friendly Federated Learning Research Framework

Project description

Flower (flwr) - A Friendly Federated Learning Research Framework

GitHub license PRs Welcome Build

Flower (flwr) is a research framework for building federated learning systems. The design of Flower is based on a few guiding principles:

  • Customizable: Federated learning systems vary wildly from one use case to another. Flower allows for a wide range of different configurations depending on the needs of each individual use case.

  • Extendable: Flower originated from a research project at the Univerity of Oxford, so it was build with AI research in mind. Many components can be extended and overridden to build new state-of-the-art systems.

  • Framework-agnostic: Different machine learning frameworks have different strengths. Flower can be used with any machine learning framework, for example, PyTorch, TensorFlow, or even raw NumPy for users who enjoy computing gradients by hand.

  • Understandable: Flower is written with maintainability in mind. The community is encouraged to both read and contribute to the codebase.

Note: Even though Flower is used in production, it is published as pre-release software. Incompatible API changes are possible.

Documentation

Flower Usage Examples

A number of examples show different usage scenarios of Flower (in combination with popular machine learning frameworks such as PyTorch or TensorFlow). To run an example, first install the necessary extras:

Usage Examples Documentation

Available examples:

Flower Baselines

Coming soon - curious minds can take a peek at src/py/flwr_experimental/baseline.

Contributing to Flower

We welcome contributions. Please see CONTRIBUTING.md to get started!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flwr-0.4.0.tar.gz (84.3 kB view details)

Uploaded Source

Built Distribution

flwr-0.4.0-py3-none-any.whl (158.6 kB view details)

Uploaded Python 3

File details

Details for the file flwr-0.4.0.tar.gz.

File metadata

  • Download URL: flwr-0.4.0.tar.gz
  • Upload date:
  • Size: 84.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.7.8 Linux/5.4.0-42-generic

File hashes

Hashes for flwr-0.4.0.tar.gz
Algorithm Hash digest
SHA256 531c7a25024d8c86f1d0a5ccdbb01f9a929b10c5c2592bb654bf06d340196e9a
MD5 582a1ea71f2e51b10ea449f58fcea9f0
BLAKE2b-256 d91ac667114c7f80f1e5a603bc98ad63dee79dce5cfff441d33cf5df0ed9392b

See more details on using hashes here.

File details

Details for the file flwr-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: flwr-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 158.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.7.8 Linux/5.4.0-42-generic

File hashes

Hashes for flwr-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23ff859c6656ddce49c246c13b71e232de3b8c9a9dd1cda7d5f1e819646ed319
MD5 41ebe93a928bbcd44292232e9c2ac04f
BLAKE2b-256 0300ae8ee7447dc675c5f9eb02afde95dcadb4442abbeb64f3656b19874e47de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page