awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
flwrlabs avatar

flwrlabs/flower

0
View on GitHub↗
flower.ai
↗

Flower

Flower is a federated learning framework for training machine learning models across many decentralized clients, so raw data stays on each device and only model updates are shared. A central server samples clients each round, sends them the current model, and aggregates their locally trained updates. It is framework-agnostic: PyTorch, TensorFlow, JAX, scikit-learn, XGBoost, Hugging Face Transformers, or even raw NumPy can take part without rewriting existing model code.

What distinguishes it is that the same client and server application runs unchanged in a local simulation engine or on real, separate machines. Simulation runs many virtual clients on one machine, with configurable CPU and GPU shares per client. Deployment connects real server and client nodes, with optional TLS-encrypted communication, node authentication, and Docker packaging. Aggregation strategies are pluggable, so averaging, adaptive server-side optimizers, or custom weighting can be swapped without touching client code. Clients can also keep persistent per-client state between rounds, which supports personalized layers.

The project also covers dataset handling and research use. A partitioning toolkit downloads public datasets and splits them into per-client shards using IID, Dirichlet, class-count, natural-group, and other schemes, with plots for inspecting the splits and support for custom partitioners. A large collection of baselines reproduces published federated learning papers on image, speech, and tabular data, each packaged with its own environment. Other areas include federated fine-tuning of large language, speech, and vision models, federated analytics, sample-level differential privacy, and training on Android, iOS, Raspberry Pi, and Jetson devices.

Runnable quickstart and advanced examples are provided for each supported framework and platform. Experiment settings can be defined in a project configuration file and overridden from the command line at launch.

Features

  • Federated Learning Platforms - Provides a framework for training models across many decentralized clients so raw data stays local and is never gathered centrally.
  • Federated Dataset Partitions - Splits any dataset into per-client shards with built-in partitioners such as Dirichlet or Pathological, simulating decentralized data.
  • Federated Round Orchestration - A central server samples clients each round, sends them the current model, and aggregates their locally trained updates.
  • Framework-Agnostic Training Integrations - Plugs PyTorch, TensorFlow, JAX, scikit-learn, XGBoost and Hugging Face Transformers into federated training without rewriting existing model code.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
7,195 stars·1,248 forks·Python·Apache-2.0·8 views
  • Simulated Federated Clients - Runs a full federated training experiment on one machine by simulating many virtual clients, optionally accelerated on a GPU.
  • Federated Cluster Deployers - Runs the same federated app unchanged across separate machines through a deployment engine, with optional TLS, node authentication and Docker setup.
  • Simulation-to-Deployment Run Modes - Runs the same project code unchanged either as a single-machine simulation or as a real deployment, with simulation as the simple default.
  • Simulation-to-Deployment Code Sharing - The same client and server application runs unchanged in a local simulation engine or on real, separate machines.
  • Client State Persistence Records - Stores per-client state in a persistent record between rounds so each client can keep personalized layers and local data.
  • Deep Learning Frameworks - Keep your current model code by plugging in a wide range of machine learning libraries, from deep learning and gradient boosting to plain NumPy, without switching tools.
  • Federated Dataset Partitioners - Provides an abstract partitioner interface with interchangeable Dirichlet, class-count, and natural-group schemes for splitting datasets into per-client shards.
  • Mobile and Edge Device Clients - Demonstrates federated training on Android, iOS, Raspberry Pi, and Jetson devices so models learn where the data lives.
  • Federated Aggregation Strategies - Offers server-side strategy objects that combine client updates, so averaging, adaptive optimizers, or custom weighting can be swapped without changing client code.
  • Federated Fine-Tuning - Instruction-tunes pre-trained language models across decentralized clients in general language, finance, medical, and code domains without pooling data.
  • Custom Federated Strategies - Lets developers extend a built-in federated averaging strategy with custom logic such as a learning rate that decays across rounds.
  • ML Framework Integrations - Connects PyTorch, TensorFlow, scikit-learn, JAX, Hugging Face Transformers or raw NumPy to federated training without rewriting existing models.
  • Finetuning Workflows - Shows how to adapt pretrained language, speech, and vision transformer models to downstream tasks across decentralized clients without pooling their data.
  • Published Baseline Reproductions - Provides ready-to-run implementations of published federated learning methods with their models, datasets, partitioning and step-size settings for comparison with the original papers.
  • Published Result Reproductions - Replicates the experiments of a published federated learning paper on CIFAR-10 and CIFAR-100 to verify reported accuracy.
  • Non-IID Client Shards - Splitting datasets into uneven, realistic per-client shards using Dirichlet, pathological, or natural-group schemes to simulate heterogeneous decentralized data.
  • Docker-Packaged Nodes - Runs the same federated app on separate machines with TLS encryption, node authentication and Docker-packaged server and client nodes.
  • Simulation-to-Deployment Portability - Runs the same federated app unchanged in a local simulation engine or on real separate machines with a single run command.
  • Client Node Connections - Launches a client node on each device pointed at the coordinating server address, with per-device settings so the right client logic runs on local data.
  • Reproducible Research Documents - Ships self-contained federated learning baselines replicating research-paper experiments, with documented setup steps and expected results to compare against.
  • Star history

    Star history chart for flwrlabs/flowerStar history chart for flwrlabs/flower

    How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

    Frequently asked questions

    What does flwrlabs/flower do?

    Flower is a federated learning framework for training machine learning models across many decentralized clients, so raw data stays on each device and only model updates are shared. A central server samples clients each round, sends them the current model, and aggregates their locally trained updates. It is framework-agnostic: PyTorch, TensorFlow, JAX, scikit-learn, XGBoost, Hugging Face Transformers, or even raw NumPy can take part without rewriting existing model code.

    What are the main features of flwrlabs/flower?

    The main features of flwrlabs/flower are: Federated Learning Platforms, Federated Dataset Partitions, Federated Round Orchestration, Framework-Agnostic Training Integrations, Simulated Federated Clients, Federated Cluster Deployers, Simulation-to-Deployment Run Modes, Simulation-to-Deployment Code Sharing.

    Which projects share features with flwrlabs/flower?

    Projects with overlapping indexed features include: fractal-compute-orchestrations/fractalandroid — FractalAndroid is an Android application that turns a phone into a federated learning and edge compute node. The… fractal-compute-orchestrations/fractalworkspace — FractalWorkspace is an orchestration workspace for pooling spare compute from phones and other edge devices to train… deepjavalibrary/djl — Deep Java Library is a Java deep learning framework and JVM model inference engine. It provides a high-level API for… adap/flower — Flower is a federated learning framework and distributed machine learning orchestrator designed to train models across… kulbear/deep-learning-coursera — This repository contains programming assignments and lecture notes from Andrew Ng's foundational deep learning course… federatedai/fate — FATE is an open-source federated learning platform that enables multiple organizations to collaboratively train…

    Projects sharing features with Flower

    These projects share indexed features with Flower. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
    • fractal-compute-orchestrations/fractalandroidFractal-Compute-Orchestrations avatar

      Fractal-Compute-Orchestrations/FractalAndroid

      4,876View on GitHub↗

      FractalAndroid is an Android application that turns a phone into a federated learning and edge compute node. The device registers with a central coordinator, polls it for assigned machine-learning work, trains models locally, and sends back only parameter updates instead of raw data. Images and sensor feeds stay in local storage, and uploads travel to the aggregator over encrypted HTTPS. The app is built to protect the hardware it runs on. Before and during work it reads battery level, temperature, charging state, network type, and memory pressure, then starts, pauses, throttles, or backs off

      Kotlinandroiddistributed-systemsedge-ai
      View on GitHub↗4,876
    • fractal-compute-orchestrations/fractalworkspaceFractal-Compute-Orchestrations avatar

      Fractal-Compute-Orchestrations/FractalWorkspace

      9,233View on GitHub↗

      FractalWorkspace is an orchestration workspace for pooling spare compute from phones and other edge devices to train and run large language models. A central control plane queues work, dispatches it to registered Android nodes that poll over secure connections, and tracks each device's compute budget. Training follows a federated approach: datasets are split into segments, each device trains on its own slice, and only model weight checkpoints return to the server, which merges them into a global model by federated averaging. Raw user data is never ingested by the server. For models too large

      Pythoncompute-orchestrationdistributed-systemsedge-computing
      View on GitHub↗9,233
    • deepjavalibrary/djldeepjavalibrary avatar

      deepjavalibrary/djl

      4,861View on GitHub↗

      Deep Java Library is a Java deep learning framework and JVM model inference engine. It provides a high-level API for building and deploying deep learning models within the Java ecosystem, acting as a cross-platform runtime for executing models across CPUs, GPUs, and mobile devices. The library is engine-agnostic, allowing users to switch between different deep learning engines such as PyTorch, TensorFlow, and MXNet while maintaining a single unified API. This enables the deployment of the same model across different backends without changing the application code. The framework supports the f

      Java
      View on GitHub↗4,861
    • adap/floweradap avatar

      adap/flower

      6,971View on GitHub↗

      Flower is a federated learning framework and distributed machine learning orchestrator designed to train models across decentralized devices. It functions as a privacy-preserving toolkit that enables model training and data analysis on local hardware, ensuring raw data remains on the device while contributing to a synchronized global model. The system employs an agnostic wrapper and integrator to connect diverse machine learning libraries, allowing different frameworks to operate within the same training loop. It uses a remote procedure call orchestrator to manage the exchange of model weight

      Python
      View on GitHub↗6,971
    Compare all 30 related projects→