Skip to content

Plumb actor supervision events into actor mesh #280

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vidhyav
Copy link

@vidhyav vidhyav commented Jun 16, 2025

Summary:
This diff pipes actor supervision events
received in the proc mesh (for now) into the respective actor
meshes. In order to do that, we have the following:

  1. ActorMesh::next() which should be used to observe lifecycle events of
    the actor and handle them. (next diff does the actual lifecycle
    observer running in the background) and the handling logic.
  2. ProcMesh should only react to unhandled supervision events
    that should appear as exactly that.

Differential Revision: D76734454

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 16, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76734454

Summary:
Pull Request resolved: pytorch-labs#280

This diff pipes actor supervision events
received in the proc mesh (for now) into the respective actor
meshes. In order to do that, we have the following:

1) ActorMesh::next() which should be used to observe lifecycle events of
the actor and handle them. (next diff does the actual lifecycle
observer running in the background) and the handling logic.
2) ProcMesh should only react to unhandled supervision events
that should appear as exactly that.

Differential Revision: D76734454
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76734454

@vidhyav vidhyav force-pushed the export-D76734454 branch from 9c6b972 to a5bc98e Compare June 17, 2025 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants