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

Enable placing ProxyActor to specific Nodes #134

Open
NKcqx opened this issue Jun 21, 2023 · 1 comment
Open

Enable placing ProxyActor to specific Nodes #134

NKcqx opened this issue Jun 21, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@NKcqx
Copy link
Collaborator

NKcqx commented Jun 21, 2023

ProxyActor need a external port to send / recv RPCs across parties, and in many senarioes, the port can only be opened on certain Nodes for safety reasons.
However, as a Ray Actor, the inner proxy actor is hidden by RayFed and can't be explicitly placed.

@NKcqx NKcqx added the enhancement New feature or request label Jun 21, 2023
@NKcqx NKcqx self-assigned this Jun 21, 2023
@NKcqx
Copy link
Collaborator Author

NKcqx commented Jun 21, 2023

The solution is: using ActorClass.options to declare ProxyActor's resources so that it can be scheduled (by Ray) to certain Nodes having that resources.

The plan is:

  1. [1/N] Gives a parameter to set ProxyActor's resource.
  2. [2/N] As there're too many ProxyActor related configs in fed.init, merging them into one "XXConfig" entity and exposing as a whole to user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant