-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[reland] Always use intrusive_ptr for Message (2 out of 2) #59206
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
Reland of #58423 This is part 2 of the previous PR. Here we address the remaining occurrences of "raw" Message, namely the ones within toMessageImpl. And since they're the last ones, we make the constructor of Message private, to prevent new usages from emerging. Differential Revision: [D28623892](https://our.internmc.facebook.com/intern/diff/D28623892/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D28623892/)! [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit dedea70 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
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.
reviewed the previous attempt. The change in reland is updating internal related code to use intrusive_ptr as well.
|
This pull request has been merged in b07d68e. |
…9206) Summary: Pull Request resolved: pytorch#59206 Reland of pytorch#58423 This is part 2 of the previous PR. Here we address the remaining occurrences of "raw" Message, namely the ones within toMessageImpl. And since they're the last ones, we make the constructor of Message private, to prevent new usages from emerging. ghstack-source-id: 130202848 Test Plan: CI Reviewed By: mrshenli Differential Revision: D28623892 fbshipit-source-id: f815cf6b93e488c118e5d2298473e6e9d9f4c132
Stack from ghstack:
Reland of #58423
This is part 2 of the previous PR. Here we address the remaining occurrences of "raw" Message, namely the ones within toMessageImpl. And since they're the last ones, we make the constructor of Message private, to prevent new usages from emerging.
Differential Revision: D28623892
NOTE FOR REVIEWERS: This PR has internal Facebook specific changes or comments, please review them on Phabricator!