Published

Announcing Flower 1.2

Photo of Daniel J. Beutel
Daniel J. Beutel
Co-Creator of Flower

The Flower Team is excited to announce the release of Flower 1.2 stable. Flower is a friendly framework for collaborative AI and data science. It makes novel approaches such as federated learning, federated evaluation, federated analytics, and fleet learning accessible to a wide audience of researchers and engineers.

Thanks to our contributors

We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):

Adam Narozniak, Charles Beauville, Daniel J. Beutel, Edoardo, L. Jiang, Ragy, Taner Topal, dannymcy

What's new?

  • Introduce new Flower Baseline: FedAvg MNIST (#1497, #1552)

    Over the coming weeks, we will be releasing a number of new reference implementations useful especially to FL newcomers. They will typically revisit well known papers from the literature, and be suitable for integration in your own application or for experimentation, in order to deepen your knowledge of FL in general. Today's release is the first in this series. Read more.

  • Improve GPU support in simulations (#1555)

    The Ray-based Virtual Client Engine (start_simulation) has been updated to improve GPU support. The update includes some of the hard-earned lessons from scaling simulations in GPU cluster environments. New defaults make running GPU-based simulations substantially more robust.

  • Improve GPU support in Jupyter Notebook tutorials (#1527, #1558)

    Some users reported that Jupyter Notebooks have not always been easy to use on GPU instances. We listened and made improvements to all of our Jupyter notebooks! Check out the updated notebooks here:

  • Introduce optional telemetry (#1533, #1544, #1584)

    After a request for feedback from the community, the Flower open-source project introduces optional collection of anonymous usage metrics to make well-informed decisions to improve Flower. Doing this enables the Flower team to understand how Flower is used and what challenges users might face.

    Flower is a friendly framework for collaborative AI and data science. Staying true to this statement, Flower makes it easy to disable telemetry for users that do not want to share anonymous usage metrics. Read more..

  • Introduce (experimental) Driver API (#1520, #1525, #1545, #1546, #1550, #1551, #1567)

    Flower now has a new (experimental) Driver API which will enable fully programmable, async, and multi-tenant Federated Learning and Federated Analytics applications. Phew, that's a lot! Going forward, the Driver API will be the abstraction that many upcoming features will be built on - and you can start building those things now, too.

    The Driver API also enables a new execution mode in which the server runs indefinitely. Multiple individual workloads can run concurrently and start and stop their execution independent of the server. This is especially useful for users who want to deploy Flower in production.

    To learn more, check out the mt-pytorch code example. We look forward to you feedback!

    Please note: The Driver API is still experimental and will likely change significantly over time.

  • Add new Federated Analytics with Pandas example (#1469, #1535)

    A new code example (quickstart-pandas) demonstrates federated analytics with Pandas and Flower. You can find it here: quickstart-pandas.

  • Add new strategies: Krum and MultiKrum (#1481)

    Edoardo, a computer science student at the Sapienza University of Rome, contributed a new Krum strategy that enables users to easily use Krum and MultiKrum in their workloads.

  • Update C++ example to be compatible with Flower v1.2.0 (#1495)

    The C++ code example has received a substantial update to make it compatible with the latest version of Flower.

  • General improvements (#1491, #1504, #1506, #1514, #1522, #1523, #1526, #1528, #1547, #1549, #1560, #1564, #1566)

Flower received many improvements under the hood, too many to list here.

  • Updated documentation (#1494, #1496, #1500, #1503, #1505, #1524, #1518, #1519, #1515)

    As usual, the documentation has improved quite a bit. It is another step in our effort to make the Flower documentation the best documentation of any project. Stay tuned and as always, feel free to provide feedback!

    One highlight is the new first time contributor guide: if you've never contributed on GitHub before, this is the perfect place to start!

Incompatible changes

None