FedML
FedML copied to clipboard
FedML installation of AWS EC2 Ubuntu Instance
Hi!
I am trying to install fedml on AWS EC2 instances. I am facing this issue when I tried pip install fedml-
Please let me know how to install fedml. Thank you.
Did you used Python ver 3.10? I have tested with this version and got an error the same with you.
Remove it and install below 3.8 or 3.7, that's fine :)
Hope help you
@pranavgundewar @khoaanhtran yeah, we are trying to migrate it to Python in the next iteration. Please try 3.8 or 3.7 first.
Hi @chaoyanghe @khoaanhtran Thank you for the suggestions. It worked for me.
I am facing one more question. I have 3 EC2 instanced running on AWS. 1 is for a server and another 2 are for 2 separate clients each with 1 GPU. How to create GPU mapping and config for such an arrangement?
Please let me know. Thank you.
@pranavgundewar have you solved the issue? You can configure your GPU mapping in each silo separately. Please refer to this example and related configuration at: https://github.com/FedML-AI/FedML/tree/master/python/examples/cross_silo/mqtt_s3_fedavg_hierarchical_mnist_lr_example
and https://github.com/FedML-AI/FedML/blob/master/python/examples/cross_silo/mqtt_s3_fedavg_hierarchical_mnist_lr_example/config/fedml_config.yaml
@pranavgundewar were you able to resolve your issue?