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

[Workflow Interface] FederatedRuntime: Refactor DirectorClient into DirectorClient and RuntimeDirectorClient #1291

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

refai06
Copy link
Contributor

@refai06 refai06 commented Jan 21, 2025

PR Description

In current FederatedRuntime implementation a single DirectorClient is used by both Envoys and Experiment Manager for communicating with Director

This PR refactors the DirectorClient class by splitting it into two distinct classes:

  • DirectorClient: Used to manage communication between Envoys and Director
  • RuntimeDirectorClient: Used to manage communication between Experiment Manager and Director

Modified

Source Code

  • openfl/experimental/workflow/transport/grpc/director_client.py
  • openfl/experimental/workflow/runtime/federated_runtime.py

Packages

  • openfl/experimental/workflow/transport/__init__.py
  • openfl/experimental/workflow/transport/grpc/__init__.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants