-
Couldn't load subscription status.
- Fork 25.7k
Add missing C10_API to dispatch key TLS setter/getters #32557
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
Signed-off-by: Edward Z. Yang <ezyang@fb.com> [ghstack-poisoned]
💊 CircleCI build failures summary and remediationsAs of commit 67890aa: None of the build failures appear to be your fault.
Detailed failure analysisOne may explore the probable reasons each build failed interactively on the Dr. CI website. ❄️ 3 failures recognized as flakyThe following build failures have been detected as flaky and may not be your fault:
|
Signed-off-by: Edward Z. Yang <ezyang@fb.com> Differential Revision: [D19579853](https://our.internmc.facebook.com/intern/diff/D19579853) [ghstack-poisoned]
Signed-off-by: Edward Z. Yang <ezyang@fb.com> Differential Revision: [D19579853](https://our.internmc.facebook.com/intern/diff/D19579853) [ghstack-poisoned]
Signed-off-by: Edward Z. Yang <ezyang@fb.com> Differential Revision: [D19579853](https://our.internmc.facebook.com/intern/diff/D19579853) [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.
It would be nice to have an explanation why we need this change
|
@pbelevich Without the annotation I can't actually use these methods from an external library, because they get hidden visibility. |
|
@ezyang I know that, I don't know who and why is going to use them :) |
|
Oh! I wanted to use them in the example code in #32558 to toggle dispatch keys manually (as I needed some non-standard behavior that the pre-canned guards couldn't do) but I couldn't. |
Signed-off-by: Edward Z. Yang <ezyang@fb.com> ghstack-source-id: 2177553 Pull Request resolved: pytorch/pytorch#32557
Summary: Pull Request resolved: pytorch#32557 Signed-off-by: Edward Z. Yang <ezyang@fb.com> Test Plan: Imported from OSS Differential Revision: D19579853 Pulled By: ezyang fbshipit-source-id: 45f83a7a5ead0344e4c13526abb5fafdedaed4a4
Summary: Pull Request resolved: pytorch#32557 Signed-off-by: Edward Z. Yang <ezyang@fb.com> Test Plan: Imported from OSS Differential Revision: D19579853 Pulled By: ezyang fbshipit-source-id: 45f83a7a5ead0344e4c13526abb5fafdedaed4a4
Stack from ghstack:
Signed-off-by: Edward Z. Yang ezyang@fb.com
Differential Revision: D19579853