The Flower team is excited to announce the release of Flower 1.32 stable, packed with new updates!
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):
Aleksei Balan, Charles Beauville, Chong Shen Ng, Daniel J. Beutel, Daniel Nata Nugraha, Heng Pan, Javier, Julian Ruรmeyer, Micah Sheller, Mohammad Naseri, Patrick Foley, Ruth Galindo, William Lindskog, reducedradius
What's new?
-
Introduce default federations on SuperGrid (#7436, #7437, #7460, #7486, #7488, #7491, #7492)
Introduces default federations for every Flower account in SuperGrid, allowing flwr run commands targeting SuperGrid to run without explicitly specifying --federation. Run your first Flower App on SuperGrid by taking the tutorial.
-
Enable runtime installation of Flower App dependencies (#7372, #7386, #7408, #7410, #7423, #7428, #7469, #7494)
Enables automatic runtime installation of Flower App dependencies by default in SuperLink and improves error handling. For more information, see the runtime dependency installation documentation.
-
Add experimental next-gen Kubernetes executor support (#7269, #7298, #7300, #7367, #7377, #7378, #7463)
Introduces an experimental next-gen Kubernetes executor, a dedicated execution backend designed specifically for Kubernetes environments. It leverages Kubernetes-native mechanisms for task execution, capacity management, and lifecycle handling, providing stronger workload isolation and improved operational control.
-
Expand experimental Flower Agent support in SuperGrid (#7336, #7341, #7344, #7345, #7346, #7351, #7360, #7366, #7379, #7397, #7409, #7418, #7419, #7435, #7440, #7441, #7468)
Expands experimental Flower Agent capabilities in SuperGrid, including connectors for web search, web fetch, and browser use. Improved infrastructure and building blocks are part of the experimental Flower Agent foundation for upcoming enterprise-grade agentic AI workflows.
-
Improve SuperLink high availability (#7308, #7371, #7381, #7387, #7483)
Improves high-availability deployment capabilites for Flower SuperLink to improve the robustness of large-scale Flower SuperGrid deployments. See the documentation for more details.
-
Update and fix Flower examples (#7364, #7447)
Updates UserConfig imports across examples and fixes the loss calculation in the Opacus federated learning example.
-
Show SuperLink name and address in Flower CLI (#7485)
-
Restructure Flower framework packages (#7288, #7342, #7352, #7359, #7363, #7420, #7425, #7429, #7430, #7442, #7443, #7448, #7449, #7450, #7451, #7455, #7457, #7458)
-
Update documentation and translations (#7340, #7358, #7368, #7398, #7416, #7424, #7431, #7446, #7493)
-
General improvements (#6871, #7307, #7317, #7332, #7339, #7361, #7362, #7374, #7400, #7402, #7404, #7413, #7421, #7426, #7432, #7434, #7438, #7439, #7454, #7461, #7462, #7464, #7465, #7466, #7470, #7472, #7474, #7475, #7477, #7481, #7484, #7487)
As always, many parts of the Flower framework and quality infrastructure were improved and updated.
Incompatible changes
-
Remove owner-aid from flwr supernode ls JSON output (#7373)
Removes the SuperNode owner's account ID from the JSON output returned by flwr supernode ls.
-
Default simulations to 2 SuperNodes (#7476, #7478, #7479, #7482)
Changes the default number of SuperNodes in simulation runs from 10 to 2, updates related examples and tutorials, and adds a helper message at startup. See the documentation to customize the number of SuperNodes.
