-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[PyTorch] Adopt IValue::toTupleRef() where obvious #65505
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
Generated with `fastmod command 1` followed by `fastmod command 2` to unbreak 2 callsites. Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)! [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 6ab7eb4 (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. |
Generated with `fastmod command 1` followed by `fastmod command 2` to unbreak 2 callsites. Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)! ghstack-source-id: 138794582 Pull Request resolved: #65505
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Pull Request resolved: #65505 Generated with `fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'` , followed by `fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'` to unbreak 2 callsites. ghstack-source-id: 138888288 Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Pull Request resolved: #65505 Generated with `fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'` , followed by `fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'` to unbreak 2 callsites. ghstack-source-id: 139078757 Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Pull Request resolved: #65505 Generated with `fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'` , followed by `fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'` to unbreak 2 callsites. ghstack-source-id: 139344603 Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Pull Request resolved: #65505 Generated with `fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'` , followed by `fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'` to unbreak 2 callsites. ghstack-source-id: 139448251 Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Pull Request resolved: #65505 Generated with `fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'` , followed by `fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'` to unbreak 2 callsites. ghstack-source-id: 139468092 Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Pull Request resolved: #65505 Generated with `fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'` , followed by `fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'` to unbreak 2 callsites. ghstack-source-id: 139930028 Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
…e::toTupleRef() where obvious"
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Pull Request resolved: #65505 Generated with `fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'` , followed by `fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'` to unbreak 2 callsites. ghstack-source-id: 140983179 Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Generated with
`fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'`
, followed by
`fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'`
to unbreak 2 callsites.
Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/)
**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
[ghstack-poisoned]
Pull Request resolved: #65505 Generated with `fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'` , followed by `fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'` to unbreak 2 callsites. ghstack-source-id: 142065835 Differential Revision: [D31131025](https://our.internmc.facebook.com/intern/diff/D31131025/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D31131025/)!
Summary: Pull Request resolved: #65505 Generated with `fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.'` , followed by `fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'` to unbreak 2 callsites. ghstack-source-id: 142065835 Test Plan: CI Reviewed By: gchanan Differential Revision: D31131025 fbshipit-source-id: 54457ae5bbeb38db9c7f196d469b98521c3d3f34
Stack from ghstack:
Generated with
fastmod -m 'toTuple\(\)(\s*)->' 'toTupleRef()${1}.', followed by
fastmod '(std::move\(.*)toTupleRef\(\).' '${1}toTuple()->'to unbreak 2 callsites.
Differential Revision: D31131025
NOTE FOR REVIEWERS: This PR has internal Facebook specific changes or comments, please review them on Phabricator!