-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[PyTorch] Use c10::Synchronized<T> in RWSafeLeftRightWrapper #74109
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
As the title says - to prevent unintentional usage of the `data_` member without the lock held. Differential Revision: [D34822913](https://our.internmc.facebook.com/intern/diff/D34822913/) [ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 36ffebe (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
As the title says - to prevent unintentional usage of the `data_` member without the lock held. Differential Revision: [D34822913](https://our.internmc.facebook.com/intern/diff/D34822913/) [ghstack-poisoned]
Summary: Pull Request resolved: #74109 As the title says - to prevent unintentional usage of the `data_` member without the lock held. ghstack-source-id: 151471742 Test Plan: Build using: ``` buck build -c pt.disable_per_op_profiling=0 -c pt.enable_record_kernel_dtype=1 --show-output xplat/caffe2/fb/model_tracer:model_tracer ``` Reviewed By: malfet Differential Revision: D34822913 fbshipit-source-id: 956fbe78956cf556fd6c8481b910acf557fbe608
Stack from ghstack (oldest at bottom):
As the title says - to prevent unintentional usage of the
data_member without the lock held.Differential Revision: D34822913