Skip to content

Conversation

@zdevito
Copy link
Contributor

@zdevito zdevito commented Jun 13, 2025

Stack from ghstack (oldest at bottom):

Moving around the rank logic so that the send API is still clean.

Now every PythonMessage has a "rank: Optional[usize]" which is set for any message that is a response from a PythonActor that identifies the returning rank. The python PortReceiver object is the one that decides whether to expose the rank in the message or just return the message.

Differential Revision: D76617694

Moving around the rank logic so that the `send` API is still clean.

Now every PythonMessage has a "rank: Optional[usize]" which is set for any message that is a response from a PythonActor that identifies the returning rank. The python PortReceiver object is the one that decides whether to expose the rank in the message or just return the message.

Differential Revision: [D76617694](https://our.internmc.facebook.com/intern/diff/D76617694/)

[ghstack-poisoned]
zdevito added a commit that referenced this pull request Jun 13, 2025
Moving around the rank logic so that the `send` API is still clean.

Now every PythonMessage has a "rank: Optional[usize]" which is set for any message that is a response from a PythonActor that identifies the returning rank. The python PortReceiver object is the one that decides whether to expose the rank in the message or just return the message.

Differential Revision: [D76617694](https://our.internmc.facebook.com/intern/diff/D76617694/)

ghstack-source-id: 290319653
Pull Request resolved: #265
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 13, 2025
@facebook-github-bot
Copy link
Contributor

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

Moving around the rank logic so that the `send` API is still clean.

Now every PythonMessage has a "rank: Optional[usize]" which is set for any message that is a response from a PythonActor that identifies the returning rank. The python PortReceiver object is the one that decides whether to expose the rank in the message or just return the message.

Differential Revision: [D76617694](https://our.internmc.facebook.com/intern/diff/D76617694/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 7186689.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants