-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Use multipy.package in multipy/runtime (#111)
#82690
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
Summary: This change points multipy::runtime to use multipy.package instead of torch.package by copying `_deploy.py` (which is used in order to pass objects in and out of interpreters) into multipy as well as making the neccessary changes to allow `multipy::runtime` to access `multipy.package` and `_deploy.py`. X-link: meta-pytorch/multipy#111 Reviewed By: d4l3k Differential Revision: D38337551 Pulled By: PaliC fbshipit-source-id: 44faa10a8b995b47f257d6fe20d9caa335237c9e
🔗 Helpful links
✅ No Failures (7 Pending)As of commit fb7e715 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
This pull request was exported from Phabricator. Differential Revision: D38337551 |
d4l3k
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.
sounds reasonable, just one nit
| def write_to_zip(file_path, strip_file_path, zf): | ||
| stripped_file_path = remove_prefix(file_path, strip_file_dir + "/") | ||
| def write_to_zip(file_path, strip_file_path, zf, prepend_str=""): | ||
| stripped_file_path = prepend_str + remove_prefix(file_path, strip_file_dir + "/") |
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.
nit: prefix_path might be a better name for these instead of prepend_str
|
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
|
@pytorchbot successfully started a merge job. Check the current status here |
Summary: X-link: pytorch/pytorch#82690 This change points multipy::runtime to use multipy.package instead of torch.package by copying `_deploy.py` (which is used in order to pass objects in and out of interpreters) into multipy as well as making the neccessary changes to allow `multipy::runtime` to access `multipy.package` and `_deploy.py`. Pull Request resolved: #111 Reviewed By: d4l3k Differential Revision: D38337551 Pulled By: PaliC fbshipit-source-id: dec35e0f07efa1c989f6356dd073dfddd12a186e
|
Hey @PaliC. |
Summary: Pull Request resolved: #82690 This change points multipy::runtime to use multipy.package instead of torch.package by copying `_deploy.py` (which is used in order to pass objects in and out of interpreters) into multipy as well as making the neccessary changes to allow `multipy::runtime` to access `multipy.package` and `_deploy.py`. X-link: meta-pytorch/multipy#111 Reviewed By: d4l3k Differential Revision: D38337551 Pulled By: PaliC fbshipit-source-id: dec35e0f07efa1c989f6356dd073dfddd12a186e
Summary: X-link: pytorch/pytorch#82690 This change points multipy::runtime to use multipy.package instead of torch.package by copying `_deploy.py` (which is used in order to pass objects in and out of interpreters) into multipy as well as making the neccessary changes to allow `multipy::runtime` to access `multipy.package` and `_deploy.py`. Pull Request resolved: meta-pytorch#111 Reviewed By: d4l3k Differential Revision: D38337551 Pulled By: PaliC fbshipit-source-id: dec35e0f07efa1c989f6356dd073dfddd12a186e
Use multipy.package in `multipy/runtime` (#82690) Summary: X-link: pytorch/pytorch#82690 This change points multipy::runtime to use multipy.package instead of torch.package by copying `_deploy.py` (which is used in order to pass objects in and out of interpreters) into multipy as well as making the neccessary changes to allow `multipy::runtime` to access `multipy.package` and `_deploy.py`. Pull Request resolved: meta-pytorch#111 Reviewed By: d4l3k Differential Revision: D38337551 Pulled By: PaliC fbshipit-source-id: dec35e0f07efa1c989f6356dd073dfddd12a186e
Use multipy.package in `multipy/runtime` (#82690) Summary: X-link: pytorch/pytorch#82690 This change points multipy::runtime to use multipy.package instead of torch.package by copying `_deploy.py` (which is used in order to pass objects in and out of interpreters) into multipy as well as making the neccessary changes to allow `multipy::runtime` to access `multipy.package` and `_deploy.py`. Pull Request resolved: meta-pytorch#111 Reviewed By: d4l3k Differential Revision: D38337551 Pulled By: PaliC fbshipit-source-id: dec35e0f07efa1c989f6356dd073dfddd12a186e
Summary:
This change points multipy::runtime to use multipy.package instead of torch.package by copying
_deploy.py(which is used in order to pass objects in and out of interpreters) into multipy as well as making the neccessary changes to allowmultipy::runtimeto accessmultipy.packageand_deploy.py.X-link: meta-pytorch/multipy#111
Reviewed By: d4l3k
Differential Revision: D38337551
Pulled By: PaliC