[PyTorch] Use c10::FastMap for memoizing in Pickler#96360
[PyTorch] Use c10::FastMap for memoizing in Pickler#96360swolchok wants to merge 2 commits intogh/swolchok/557/basefrom
Conversation
These maps don't rely on reference stability, so FastMap should be fine. Differential Revision: [D43926671](https://our.internmc.facebook.com/intern/diff/D43926671/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/96360
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 48c8dce: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
These maps don't rely on reference stability, so FastMap should be fine. Differential Revision: [D43926671](https://our.internmc.facebook.com/intern/diff/D43926671/) [ghstack-poisoned]
Pull Request resolved: #96360 These maps don't rely on reference stability, so FastMap should be fine. ghstack-source-id: 182387391 Differential Revision: [D43926671](https://our.internmc.facebook.com/intern/diff/D43926671/)
|
@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 |
|
@pytorchbot revert -m "Breaks internal tests, see D43926671" -c nosignal |
|
@pytorchbot successfully started a revert job. Check the current status here. |
|
Can't revert PR that was landed via phabricator as D43926671. Please revert by going to the internal diff and clicking Unland. |
…#96547) This reverts commit 69d3fa2. Reason: breaks internal meta tests. See [D43926671](https://www.internalfb.com/diff/D43926671) Pull Request resolved: #96547 Approved by: https://github.com/seemethere, https://github.com/malfet
These maps don't rely on reference stability, so FastMap should be fine. Differential Revision: [D43926671](https://our.internmc.facebook.com/intern/diff/D43926671/) Pull Request resolved: pytorch/pytorch#96360 Approved by: https://github.com/ezyang
These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D43995796/)! [ghstack-poisoned]
These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D43995796/)! ghstack-source-id: 182737118 Pull Request resolved: #96688
Pull Request resolved: #96688 These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. ghstack-source-id: 183500502 Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/)
… memoizing in Pickler" These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D43995796/)! [ghstack-poisoned]
…ckler" These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D43995796/)! [ghstack-poisoned]
… memoizing in Pickler" These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D43995796/)! [ghstack-poisoned]
…ckler" These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D43995796/)! [ghstack-poisoned]
… memoizing in Pickler" These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D43995796/)! [ghstack-poisoned]
…ckler" These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D43995796/)! [ghstack-poisoned]
Pull Request resolved: #96688 These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. ghstack-source-id: 184199588 Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/)
These maps don't rely on reference stability, so FastMap should be fine. First try (#96360) was reverted because it broke internal tests. Differential Revision: [D43995796](https://our.internmc.facebook.com/intern/diff/D43995796/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D43995796/)! Pull Request resolved: #96688 Approved by: https://github.com/malfet
Stack from ghstack (oldest at bottom):
These maps don't rely on reference stability, so FastMap should be fine.
Differential Revision: D43926671