Skip to content

Conversation

@dulinriley
Copy link
Contributor

Summary:
In order to stop the remote process allocation, we need to call Alloc::stop, which is
done when the ProcMesh created from the allocation is itself stopped.
This should ensure jobs finish entirely.

Note that the Drop for ProcMesh and Drop for RemoteProcessAlloc both do not try to stop
the underlying allocation, which is why this is necessary.

Differential Revision: D87264086

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

meta-codesync bot commented Nov 20, 2025

@dulinriley has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87264086.

Summary:
In order to stop the remote process allocation, we need to call `Alloc::stop`, which is
done when the ProcMesh created from the allocation is itself stopped.
This should ensure jobs finish entirely.

Note that the Drop for ProcMesh and Drop for RemoteProcessAlloc both do not try to stop
the underlying allocation, which is why this is necessary.

Reviewed By: pzhan9

Differential Revision: D87264086
@meta-codesync
Copy link

meta-codesync bot commented Nov 24, 2025

This pull request has been merged in b1aeca9.

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