-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[follow-up] Python Attr Serialization #88913
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
[follow-up] Python Attr Serialization #88913
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/88913
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 FailuresAs of commit fa63eaf: NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@albanD do you think it would be good to merge this now? Is this past FC period? |
|
@pytorchbot merge |
Merge failedReason: PR #88913 has not been reviewed yet (Rule superuser) Details for Dev Infra teamRaised by workflow job |
|
Oops, Sorry! Wrong PR 😓🙏 Also, ping @albanD |
albanD
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.
Thanks!
|
@pytorchbot merge -g |
Merge startedYour change will be merged once all checks on your PR pass since you used the green (-g) flag (ETA: 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 2 additional jobs have failed, first few of them are: trunk ,trunk / cuda11.6-py3.10-gcc7-sm86 / test (default, 1, 4, linux.g5.4xlarge.nvidia.gpu) Details for Dev Infra teamRaised by workflow job |
|
pytorchbot merge -f"Unrelated CI failure: RuntimeError: test_jit_cuda_fuser failed! Received signal: SIGSEGV" |
|
@pytorchbot merge -f"Unrelated CI failure: RuntimeError: test_jit_cuda_fuser failed! Received signal: SIGSEGV" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot revert -m="Diff reverted internally" -c="ghfirst" This Pull Request has been reverted by a revert inside Meta. To re-land this change, please open another pull request, assign the same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk).) |
|
@pytorchbot successfully started a revert job. Check the current status here. |
|
@kshitij12345 your PR has been successfully reverted. |
This reverts commit 086b251. Reverted #88913 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally
|
@kshitij12345 Unfortunately this PR had to been reverted as the earlier changes haven't been released yet to production owing to the code freeze. @singlaiiit can add more context if I missed anything. |
|
For now, I have updated The distributed tests are passing. Only failure in the Windows CI is unrelated. |
albanD
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.
Looks pretty clean!
Sounds good to me!
|
@pytorchbot merge |
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 |
Merge failedReason: The following mandatory check(s) failed (Rule Dig deeper by viewing the failures on hud Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge -f"Unrelated Windows CI failure" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…pickling errors After #88913, user-defined parameter states will be pickled. For a FlatParameter, this means `_local_shard` will also be pickled. Since state_dict and load_state_dict only require the tensor, returning the full FlatParameter does not give us any extra benefit. This PR changes the behavior to simply return a view of the FlatParameter. Differential Revision: [D43205127](https://our.internmc.facebook.com/intern/diff/D43205127/) [ghstack-poisoned]
…of FlatParameters to avoid pickling errors" After #88913, user-defined parameter states will be pickled. For a FlatParameter, this means `_local_shard` will also be pickled. Since state_dict and load_state_dict only require the tensor, returning the full FlatParameter does not give us any extra benefit. This PR changes the behavior to simply return a view of the FlatParameter. Differential Revision: [D43205127](https://our.internmc.facebook.com/intern/diff/D43205127/) [ghstack-poisoned]
…pickling errors Pull Request resolved: #94637 After #88913, user-defined parameter states will be pickled. For a FlatParameter, this means `_local_shard` will also be pickled. Since state_dict and load_state_dict only require the tensor, returning the full FlatParameter does not give us any extra benefit. This PR changes the behavior to simply return a view of the FlatParameter. ghstack-source-id: 179983735 Differential Revision: [D43205127](https://our.internmc.facebook.com/intern/diff/D43205127/)
…s to avoid pickling errors" After #88913, user-defined parameter states will be pickled. For a FlatParameter, this means `_local_shard` will also be pickled. Since state_dict and load_state_dict only require the tensor, returning the full FlatParameter does not give us any extra benefit. This PR changes the behavior to simply return a view of the FlatParameter. Differential Revision: [D43205127](https://our.internmc.facebook.com/intern/diff/D43205127/) [ghstack-poisoned]
…pickling errors (#94637) After #88913, user-defined parameter states will be pickled. For a FlatParameter, this means `_local_shard` will also be pickled. Since state_dict and load_state_dict only require the tensor, returning the full FlatParameter does not give us any extra benefit. This PR changes the behavior to simply return a view of the FlatParameter. Differential Revision: [D43205127](https://our.internmc.facebook.com/intern/diff/D43205127/) Pull Request resolved: #94637 Approved by: https://github.com/rohan-varma
This reverts commit 745fe35. [ghstack-poisoned]
Ref: #81616 (comment)
cc @ezyang @gchanan