Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(framework) Enable long-running flwr-clientapp #4039

Merged
merged 5 commits into from
Aug 19, 2024

Conversation

danieljanes
Copy link
Member

Issue

Description

Related issues/PRs

Proposal

Start the system

Start the SuperExec:

flower-superexec --insecure

Start the SuperLink:

flower-superlink --insecure

Start the first SuperNode (try --isolation subprocess to compare):

flower-supernode --insecure --supernode-address 0.0.0.0:9098 --node-config "partition-id=0,num-partitions=2" --isolation process

For the first SuperNode, start the independent ClientApp process:

flwr-clientapp --supernode 0.0.0.0:9098

Start the second SuperNode (try --isolation subprocess to compare):

flower-supernode --insecure --supernode-address 0.0.0.0:9099 --node-config "partition-id=1,num-partitions=2" --isolation process

For the second SuperNode, start the independent ClientApp process:

flwr-clientapp --supernode 0.0.0.0:9099

Run an app

flwr new

Follow the instructions given. Then, configure the SuperExec in federations:

[tool.flwr.federations.se]
address = "0.0.0.0:9093"
insecure = true

Finally, start the app:

flwr run . se

Checklist

  • Implement proposed change
  • Write tests
  • Update documentation
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Any other comments?

Base automatically changed from support-independent-process to main August 19, 2024 10:23
@danieljanes danieljanes marked this pull request as ready for review August 19, 2024 10:36
@danieljanes danieljanes enabled auto-merge (squash) August 19, 2024 10:36
@danieljanes danieljanes merged commit 35d8794 into main Aug 19, 2024
33 checks passed
@danieljanes danieljanes deleted the long-running-flwr-clientapp branch August 19, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants