[Q&A] Does it really work in a real world setting? from Mac server and two linux client? #3774
Replies: 1 comment 2 replies
-
|
@zillurbmb51 thanks for your question! I will suggest you do the following steps: (1) Run just in simulator mode in your mac to ensure you job is running good (3) Then you need to add this FQDN so all your machine can find: (3.2) In your linux machines add: (4) Then you can distribute (for example copy) the startup folder into each sites and run "./startup/start.sh" (5) Then inside your mac you can start the admin console and interact with the system. For a more complete documentation please check: https://nvflare.readthedocs.io/en/2.6/real_world_fl.html |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Python version (
python3 -V)3.11
NVFlare version (
python3 -m pip list | grep "nvflare")2.6.2
NVFlare branch (if running examples, please use the branch that corresponds to the NVFlare version,
git branch)No response
Operating system
MacOS
Have you successfully run any of the following examples?
Please describe your question
I want to run a simple federated linear regression from my Mac in two linux clients. Attached is client_trainer.py and project.yml. Here is my directory structure.
How can I modify the client_trainer.py or project.yml to start nvflare server-client connection, run the training, save the outputs to my Mac and then disconnect the clients
When I use
(nvflare) zillurrahman@Zillurs-MacBook-Pro poc_workspace % bash server/startup/start.shI get
My directory structure:
In my linux client:
Any help? Please. Does it work in a real world settings where my laptop act as a server and admin and two linux machine as clients?
project.yml
client_trainer.py
Beta Was this translation helpful? Give feedback.
All reactions