-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[torch package] Treat builtins as default extern module #88385
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/88385
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 71c4d5a: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D40958730 |
Summary: Pull Request resolved: pytorch#88385 When using torch deploy, if we do fx transformation and then try to pickle/unpickle a fx GraphModule, it's possible that the GraphModule's code depends on `builtins` but we didn't add it to extern module. Reviewed By: PaliC Differential Revision: D40958730 fbshipit-source-id: 7676fb33bfbf952cee827cb39523102cc647288f
02ed59a
to
71c4d5a
Compare
This pull request was exported from Phabricator. Differential Revision: D40958730 |
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
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary: When using torch deploy, if we do fx transformation and then try to pickle/unpickle a fx GraphModule, it's possible that the GraphModule's code depends on `builtins` but we didn't add it to extern module. Reviewed By: PaliC Differential Revision: D40958730 Pull Request resolved: pytorch#88385 Approved by: https://github.com/PaliC
Summary: When using torch deploy, if we do fx transformation and then try to pickle/unpickle a fx GraphModule, it's possible that the GraphModule's code depends on `builtins` but we didn't add it to extern module. Reviewed By: PaliC Differential Revision: D40958730 Pull Request resolved: pytorch#88385 Approved by: https://github.com/PaliC
Summary: When using torch deploy, if we do fx transformation and then try to pickle/unpickle a fx GraphModule, it's possible that the GraphModule's code depends on
builtins
but we didn't add it to extern module.Reviewed By: PaliC
Differential Revision: D40958730