-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Add RPC internal helper that overrides the default pickler #30107
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
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D18598974 |
|
This pull request was exported from Phabricator. Differential Revision: D18598974 |
mrshenli
left a comment
There was a problem hiding this 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move one line above
torch/distributed/rpc/api.py
Outdated
There was a problem hiding this comment.
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?
|
Could you update the test plan with how an OSS user could run this test? Something like |
|
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
|
This pull request was exported from Phabricator. Differential Revision: D18598974 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D18598974 |
mrshenli
left a comment
There was a problem hiding this 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.
pietern
left a comment
There was a problem hiding this 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.
|
This pull request was exported from Phabricator. Differential Revision: D18598974 |
2 similar comments
|
This pull request was exported from Phabricator. Differential Revision: D18598974 |
|
This pull request was exported from Phabricator. Differential Revision: D18598974 |
|
Github does not pickup the rebased version. Close this PR and re-exporting... |
|
This pull request was exported from Phabricator. Differential Revision: D18598974 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D18598974 |
|
Reopen as #30173 |
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_picklerDifferential Revision: D18598974