Skip to content

Conversation

@zzzwen
Copy link
Contributor

@zzzwen zzzwen commented Nov 19, 2019

Summary: To enable share_memory over RPC, add an internal helper that overrides the default RPC pickler

Test Plan: python test/test_rpc_spawn RpcTestWithSpawn.test_use_rpc_pickler

Differential Revision: D18598974

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@mrshenli mrshenli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Added some nits. Will stamp when test pass.

test/rpc_test.py Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move one line above

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, any reason for using camel here?

@rohan-varma
Copy link
Contributor

rohan-varma commented Nov 19, 2019

Could you update the test plan with how an OSS user could run this test? Something like python test/test_rpc_spawn RpcTestWithSpawn.test_use_rpc_pickler would be great

@facebook-github-bot
Copy link
Contributor

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

Summary:
Pull Request resolved: #30107

To enable share_memory over RPC, add an internal helper that overrides the default RPC pickler

Test Plan: `buck test mode/dev-nosan //caffe2/test:rpc_spawn -- test_use_rpc_pickler`

Differential Revision: D18598974

fbshipit-source-id: d5a6583e94f1c98fa0db2c1d6f0e66ff5c6141d9
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@mrshenli mrshenli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests passed but there are conflicts in rpc_test.py. Please address and make sure tests pass after that before landing.

Copy link
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing approval until the conflict is resolved and tests pass.

@facebook-github-bot
Copy link
Contributor

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

2 similar comments
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

@zzzwen
Copy link
Contributor Author

zzzwen commented Nov 20, 2019

Github does not pickup the rebased version. Close this PR and re-exporting...

@zzzwen zzzwen closed this Nov 20, 2019
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

@zzzwen
Copy link
Contributor Author

zzzwen commented Nov 20, 2019

Reopen as #30173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants