Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

Summary: adds a new "Proc meshes & ProcMeshAgent" chapter to the hyperactor mesh book, documenting the v1 resource-style spawn path end-to-end: how ProcMeshRef::spawn turns a type A into a broadcast CreateOrUpdate<ActorSpec>, how each ProcMeshAgent gates and calls remote.gspawn and records results in actor_states, and how GetRankStatus is used to aggregate the final mesh-wide outcome. fixes a misleading comment in spawn_with_name_inner to explain that RemoteSpawn + remote!(A) provide the SpawnableActor entry that makes Remote::name_of::<A>() succeed.

Differential Revision: D88211074

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 3, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 3, 2025

@shayne-fletcher has exported this pull request. If you are a Meta employee, you can view the originating Diff in D88211074.

shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Dec 3, 2025
Summary:

adds a new "Proc meshes & ProcMeshAgent" chapter to the hyperactor mesh book, documenting the v1 resource-style spawn path end-to-end: how `ProcMeshRef::spawn` turns a type `A` into a broadcast `CreateOrUpdate<ActorSpec>`, how each `ProcMeshAgent` gates and calls `remote.gspawn` and records results in `actor_states`, and how `GetRankStatus` is used to aggregate the final mesh-wide outcome. fixes a misleading comment in `spawn_with_name_inner` to explain that `RemoteSpawn` + `remote!(A)` provide the `SpawnableActor` entry that makes `Remote::name_of::<A>()` succeed.

Differential Revision: D88211074
Summary:

adds a new "Proc meshes & ProcMeshAgent" chapter to the hyperactor mesh book, documenting the v1 resource-style spawn path end-to-end: how `ProcMeshRef::spawn` turns a type `A` into a broadcast `CreateOrUpdate<ActorSpec>`, how each `ProcMeshAgent` gates and calls `remote.gspawn` and records results in `actor_states`, and how `GetRankStatus` is used to aggregate the final mesh-wide outcome. fixes a misleading comment in `spawn_with_name_inner` to explain that `RemoteSpawn` + `remote!(A)` provide the `SpawnableActor` entry that makes `Remote::name_of::<A>()` succeed.

Differential Revision: D88211074
@meta-codesync
Copy link

meta-codesync bot commented Dec 4, 2025

This pull request has been merged in 3b37bda.

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 Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants