Skip to content

[pytorch] Minor tweaks to rpc message api #28326

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

Closed
wants to merge 1 commit into from

Conversation

jjlilley
Copy link
Contributor

@jjlilley jjlilley commented Oct 18, 2019

Stack from ghstack:

  • Message::type() should return a MessageType, not const MessageType&,
    since MessageType is just an enum.
  • Add moveTensors() method for parallelism with movePayload().

Differential Revision: D18021692

- Message::type() should return a MessageType, not const MessageType&,
   since MessageType is just an enum.
 - Add moveTensors() method for parallelism with movePayload().

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

[ghstack-poisoned]
jjlilley pushed a commit that referenced this pull request Oct 18, 2019
- Message::type() should return a MessageType, not const MessageType&,
   since MessageType is just an enum.
 - Add moveTensors() method for parallelism with movePayload().

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

ghstack-source-id: 92236443
Pull Request resolved: #28326
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6fcefc9.

@facebook-github-bot facebook-github-bot deleted the gh/jjlilley/10/head branch October 28, 2019 22:16
thiagocrepaldi pushed a commit to thiagocrepaldi/pytorch that referenced this pull request Feb 4, 2020
Summary:
Pull Request resolved: pytorch#28326

 - Message::type() should return a MessageType, not const MessageType&,
   since MessageType is just an enum.
 - Add moveTensors() method for parallelism with movePayload().
ghstack-source-id: 92236443

Test Plan: buck test mode/dev-nosan caffe2/test/...

Differential Revision: D18021692

fbshipit-source-id: 5b2f5806f104a221de8df0282f3e395d15e5bfe4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants