-
Notifications
You must be signed in to change notification settings - Fork 24.9k
[jit] Enable copy.deepcopy
and copy.copy
for RecursiveScriptModule
#32685
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
💊 CI failures summary and remediationsAs of commit 80b0641 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 176 times. |
Can you mark this PR as BC-breaking |
Summary: att Test Plan: . Reviewers: . Subscribers: Tasks: Tags: ghstack-source-id: 429f79e Pull Request resolved: pytorch/pytorch#32685
Summary: att Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
Summary: att Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
Summary: att Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
Summary: att Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
Summary: att Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
Summary: att Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
Summary: Enable `copy.deepcopy` and `copy.copy` and remove `copy` Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
copy
from public API…ScriptModule" Summary: Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
copy.deepcopy
and copy.copy
for RecursiveScriptModule
…ScriptModule" Summary: Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
…ScriptModule" Summary: Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
Got this:
I think it's because I removed |
That test is checking that there is an error with a reasonable error message for saving a module with TorchScript submodules. It looks like this change broke the friendly error message and made it something less understandable. |
…ScriptModule" Summary: Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
Fixed. |
…ScriptModule" Summary: Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
…ScriptModule" Summary: Test Plan: . Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D21220755](https://our.internmc.facebook.com/intern/diff/D21220755) [ghstack-poisoned]
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.
Looks good
This pull request has been merged in f652abc. |
Stack from ghstack:
copy.deepcopy
andcopy.copy
for RecursiveScriptModule #32685 [jit] Enablecopy.deepcopy
andcopy.copy
for RecursiveScriptModuleSummary:
Test Plan:
.
Reviewers:
.
Subscribers:
Tasks:
Tags:
Differential Revision: D21220755