Gossip Learning Simulation

Hi, I wanted to know if there is a way to handle gossip learning simulation with Flower where I have a P2P network and the nodes of the network can interact with each other.

Thank you

Hi @khiro
Flower doesn’t support a fully p2p setup out of the box. You can still simulate gossip learning by writing a custom strategy: keep the network topology on the server side, choose which nodes interact at each round, and send each node the model and updates from its selected neighbors. The nodes won’t talk directly to each other, but the behavior can be modeled through Flower’s message passing.

Hi,

Thank you so much for your answer !