flame

module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2023 License: Apache-2.0

README ΒΆ

flame logo

πŸ”₯ Quickstart! (Ubuntu) πŸ”₯

πŸ”₯ Quickstart! (macOS) πŸ”₯

Flame is a platform that enables developers to compose and deploy federated learning (FL) training workloads easily. The system is comprised of a service (control plane) and a python library (data plane). The service manages machine learning workloads, while the python library facilitates composition of ML workloads. And the library is also responsible for executing FL workloads. With extensibility of its library, Flame can support various experimentations and use cases.

Prerequisites

The target runtime environment is Linux. Development has been mainly conducted under macOS environment. One should first set up a development environment. For more details, refer to here.

This repo has the following directory structure:

flame
 β”œβ”€β”€ CODE_OF_CONDUCT.md
 β”œβ”€β”€ CONTRIBUTING.md
 β”œβ”€β”€ LICENSE
 β”œβ”€β”€ Makefile -> build/Makefile
 β”œβ”€β”€ README.md
 β”œβ”€β”€ api (specification of REST API for flame apiserver)
 β”œβ”€β”€ build (configuration files for building flame binaries and container image)
 β”œβ”€β”€ cmd (source files for flame control plane)
 β”œβ”€β”€ docs (document folder)
 β”œβ”€β”€ examples (example folder)
 β”œβ”€β”€ fiab (dev/test env in a single box)
 β”œβ”€β”€ go.mod
 β”œβ”€β”€ go.sum
 β”œβ”€β”€ lib (python library for core flame data plane)
 β”œβ”€β”€ lint.sh
 β”œβ”€β”€ pkg (go packages for cmd)
 └── scripts (utility scripts)

Supported Algorithms/Mechanisms

Method Note
FedAvg https://arxiv.org/pdf/1602.05629.pdf
FedYogi https://arxiv.org/pdf/2003.00295.pdf
FedAdam https://arxiv.org/pdf/2003.00295.pdf
FedAdaGrad https://arxiv.org/pdf/2003.00295.pdf
FedProx https://arxiv.org/pdf/1812.06127.pdf
FedBuff Asynchronous FL (https://arxiv.org/pdf/2106.06639.pdf and https://arxiv.org/pdf/2111.04877.pdf); secure aggregation is excluded
FedDyn https://arxiv.org/pdf/2111.04263.pdf
OORT https://arxiv.org/pdf/2010.06081.pdf; client selection algorithm / mechanism; experimental release
Hierarchical FL https://arxiv.org/pdf/1905.06641.pdf; a simplified version where k2 = 1; support both synchronous and asynchronous FL
Hybrid FL A hybrid approach to combine federated learning with ring-reduce; topology motivated from https://openreview.net/pdf?id=H0oaWl6THa

Documentation

A full document can be found here. The document will be updated on a regular basis.

Support

We welcome feedback, questions, and issue reports.

Citation

@inproceedings{flame2023,
    author = {Harshit Daga and Jaemin Shin and Dhruv Garg and Ada Gavrilovska and Myungjin Lee and Ramana Rao Kompella},
    title = {Flame: Simplifying Topology Extension in Federated Learning},
    year = {2023},
    booktitle = {Proceedings of the 2023 ACM Symposium on Cloud Computing},
    keywords = {Federated Learning, Distributed Machine Learning},
    series = {SoCC '23}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL