-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[PyTorch] Add IValue::toTupleRef() #65504
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
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
You can add a comment to the PR and tag @pytorchbot with the following commands: # ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun
# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slowFor more information, please take a look at the CI Flow Wiki. |
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 35ce5f9 (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. |
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) ghstack-source-id: 138792846 Pull Request resolved: #65504
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
…:toTupleRef()" We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
Pull Request resolved: #65504 We should be able to borrow a Tuple from an IValue without incurring refcount bumps. ghstack-source-id: 140913605 Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/)
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
We should be able to borrow a Tuple from an IValue without incurring refcount bumps. Differential Revision: [D31130570](https://our.internmc.facebook.com/intern/diff/D31130570/) [ghstack-poisoned]
Summary: Pull Request resolved: #65504 We should be able to borrow a Tuple from an IValue without incurring refcount bumps. ghstack-source-id: 142065833 Test Plan: Added test coverage. Profiled static runtime on the local_ro net for ctr_mobile_feed. Inclusive time spent in VarTupleUnpack decreased about 0.3%, which roughly matches with the 0.36% of runtime that was previously spent in IValue::toTuple(). Reviewed By: hlu1 Differential Revision: D31130570 fbshipit-source-id: afa14f46445539e449068fd908d547b8da7f402c
Stack from ghstack:
We should be able to borrow a Tuple from an IValue without incurring refcount bumps.
Differential Revision: D31130570