-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Blob doesn't allow access to destroyCall anymore #11548
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
Differential Revision: D9775191 Differential Version: 57535397
Differential Revision: D9775191 Differential Version: 57551488
ezyang
left a comment
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.
You're not allowed to have a diff in a stack of diffs that breaks. Every diff has to continue compiling. So use site fixes need to be squashed into this diff.
Differential Revision: D9775191 Differential Version: 57670061
|
@ezyang The diffs fixing use sites had some fbcode-only diffs. I removed them from the stack because the ghexport script didn't support that yet. I'll land them separately and then rebase this stack on top of new master. |
Differential Revision: D9775191 Differential Version: 57695971
Differential Revision: D9775191 Differential Version: 57757836
Differential Revision: D9775191 Differential Version: 57851522
Differential Revision: D9775191 Differential Version: 58048806
Differential Revision: D9775191 Differential Version: 58501789
Differential Revision: D9775191 Differential Version: 58691279
Differential Revision: D9775191 Differential Version: 58749272
Differential Revision: D9775191 Differential Version: 58780866
Differential Revision: D9775191 Differential Version: 58857361
Differential Revision: D9775191 Differential Version: 58899990
Differential Revision: D9775191 Differential Version: 58901385
Summary: Pull Request resolved: pytorch/pytorch#11548 This removes getting/setting the DestroyCall of a Blob, paving the way to removing DestroyCall from Blob entirely and using the destructor stored in TypeMeta instead. Use sites have been fixed in diffs stacked below this. Reviewed By: dzhulgakov Differential Revision: D9775191 fbshipit-source-id: 97d72d0c62843849057f295c27f391e63c99c521
* upstream/master: (117 commits) Add full namespace resolution in CAFFE_DURATION (pytorch#12065) T33898723: Simple put operators for caffe2 stats (pytorch#12057) add narrow() support for sparse tensors re: pytorch#8853 (pytorch#11342) Fix ONNX bug, add symbolic for full Enable tracing of tensor factories with an out argument Fix warnings emitted when testing distributions (pytorch#12038) Unify versions across setup.py, libtorch, and libcaffe2 (pytorch#12053) add autodiff expressions for common operations (pytorch#11832) Blob doesn't allow access to destroyCall anymore (pytorch#11548) IValue can store Blob (pytorch#11414) Move Blob to ATen/core (pytorch#11924) Use tempfile during serialized test comparison (pytorch#12021) fix segfault when grad to a hook fn is None (pytorch#12028) Fallback CreateMutex/AtomicIter operators for mkl-dnn Unify all *_EXPORT and *_IMPORT macros across c++ backend (pytorch#12019) Add safety asserts for methods on TensorImpl which don't work on Variable. (pytorch#12058) Make USE_IDEEP work again (pytorch#12026) Fix "identifier following the 'template' keyword does not refer to a template" (pytorch#12037) Delete some unused variables. (pytorch#12059) Support TypeIdentifier::name() (pytorch#12036) ...
Stack:
:white_circle: #11924 Move Blob to ATen/core 💚
:white_circle: #11414 IValue can store Blob 💚
:black_circle: #11548 Blob doesn't allow access to destroyCall anymore 💚
:white_circle: #11500 Use TypeMeta::dtor() instead of Blob::DestroyCall 💛
:white_circle: #11925 Serialization takes pointers instead of Blob 💛
:white_circle: #11926 Remove Blob::ShareExternal from serialization 💚
This removes getting/setting the DestroyCall of a Blob,
paving the way to removing DestroyCall from Blob entirely and using the destructor stored in TypeMeta instead.
Use sites have been fixed in diffs stacked below this.
Differential Revision: D9775191