ZZ Si

Results 13 comments of ZZ Si

@brendancol this is awesome, do you have an example use case and data in mind to demo? Happy to help put together a jupyter notebook.

Hi @leeloodub, apologies for my delayed reply. P2p is also a great option we considered but opted for a central storage for its simplicity. Doing an architecture proposal and PR...

@WilliamLindskog yes, will do, appreciate it!

@WilliamLindskog I have some work in progress, [half done](https://github.com/zzsi/flower/tree/serverless), sorry for the delay. We only had a tensorflow example and I would like to add a torch quickstart. I will...

@WilliamLindskog I am looking into simulating a serverless federated run. The current tool seems to assume client/server. Do you have recommendations or a particular way to simulation you prefer?

Thanks @WilliamLindskog and @Spaarsh for the great suggestions. I agree an empty ServerApp or a simple ServerApp as a client registry would be a good way to simulate. I created...

@WilliamLindskog and @Spaarsh I added an empty server and a client that does serverless federation in `examples/serverless-pytorch`. In that directory, when I do `flwr run .`, the client app does...

@WilliamLindskog thanks for trying it out. For the `serverless-pytorch/` example, `python run_simulation.py` will simulate the serverless training for 20 epochs. And yes, test accuracy is expected to be roughly 75%,...

@WilliamLindskog currently both torch and tensorflow are supported. As to the examples, `serverless-pytorch/` is more optimized. `python run_simulation.py` will use [`torch.nn` Resnet](https://github.com/zzsi/flower/blob/serverless/examples/serverless-pytorch/net.py#L25). I realize that my `TorchFederatedLearningRunner` class is confusing....

The torch example still uses tensorflow to load the cifar10 dataset. Pushed a change to clean up imports and dataset loading, to avoid accidentally importing tensorflow.