-
Notifications
You must be signed in to change notification settings - Fork 152
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
Add support to traverse all python collection objects (#84079) #773
Conversation
This pull request was exported from Phabricator. Differential Revision: D39357886 |
Summary: Pull Request resolved: pytorch#773 Fixes pytorch#752 This PR makes `traverse` function supporting more collections data structures from Python. The `getstate_hook` will be invoked after custom `__getstate__` function X-link: pytorch/pytorch#84079 Differential Revision: D39357886 Pulled By: ejguan fbshipit-source-id: 61f8011a028306978185cc0aa1e78b2e7b166a12
03fec95
to
93fcede
Compare
This pull request was exported from Phabricator. Differential Revision: D39357886 |
Summary: Pull Request resolved: pytorch#773 Fixes pytorch#752 This PR makes `traverse` function supporting more collections data structures from Python. The `getstate_hook` will be invoked after custom `__getstate__` function X-link: pytorch/pytorch#84079 Differential Revision: D39357886 Pulled By: ejguan fbshipit-source-id: b4976d225d259607a9580c2fb9c7820a3fbe85dd
93fcede
to
1e8138d
Compare
This pull request was exported from Phabricator. Differential Revision: D39357886 |
Summary: Pull Request resolved: pytorch#773 Fixes pytorch#752 This PR makes `traverse` function supporting more collections data structures from Python. The `getstate_hook` will be invoked after custom `__getstate__` function X-link: pytorch/pytorch#84079 Differential Revision: D39357886 Pulled By: ejguan fbshipit-source-id: d4d1b961a933b42a27e5243c1be487c954be65a8
1e8138d
to
2dc6056
Compare
This pull request was exported from Phabricator. Differential Revision: D39357886 |
Summary: X-link: pytorch/data#773 Fixes pytorch/data#752 This PR makes `traverse` function supporting more collections data structures from Python. The `getstate_hook` will be invoked after custom `__getstate__` function Pull Request resolved: pytorch#84079 Differential Revision: D39357886 Pulled By: ejguan fbshipit-source-id: 3c0629f7a355d2f7a67c7224a49b2b2721592778
This looks like a possible offender of the failures we are currently seeing in |
@pmeier I am investigating the internal synchronization problem. The corresponding PR from PT Core has not been landed pytorch/pytorch#84079 |
Summary:
Fixes #752
This PR makes
traverse
function supporting more collections data structures from Python. Thegetstate_hook
will be invoked after custom__getstate__
functionX-link: pytorch/pytorch#84079
Differential Revision: D39357886
Pulled By: ejguan