-
Notifications
You must be signed in to change notification settings - Fork 441
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
[executorch] Migrate runtime/core to new namespace #4607
Conversation
Migrate these headers to the new `::executorch::runtime` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally. The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work. Differential Revision: [D60418073](https://our.internmc.facebook.com/intern/diff/D60418073/) [ghstack-poisoned]
The previous commit moved headers to the `::executorch::runtime` namespace. This diff updates the tests for those changes. After this, these tests should not use `::torch::executor` for the updated names. Differential Revision: [D60428953](https://our.internmc.facebook.com/intern/diff/D60428953/) [ghstack-poisoned]
Migrate these headers to the new `::executorch::runtime` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally. The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work. Because `EValue` changed namespaces, I also needed to update print_evalue: the `operator<<()` for a type needs to live in its primary namespace. This shows that the aliases aren't perfect, but very few other users should be defining their own `operator<<` for our types. This is the only scenario where I've seen the namespace aliases break down. Differential Revision: [D60428951](https://our.internmc.facebook.com/intern/diff/D60428951/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/4607
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (4 Unrelated Failures)As of commit b1e29db with merge base 5d151d0 ( FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D60428951 |
…amespace" Migrate these headers to the new `::executorch::runtime` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally. The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work. Because `EValue` changed namespaces, I also needed to update print_evalue: the `operator<<()` for a type needs to live in its primary namespace. This shows that the aliases aren't perfect, but very few other users should be defining their own `operator<<` for our types. This is the only scenario where I've seen the namespace aliases break down. Differential Revision: [D60428951](https://our.internmc.facebook.com/intern/diff/D60428951/) [ghstack-poisoned]
Migrate these headers to the new `::executorch::runtime` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally. The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work. Because `EValue` changed namespaces, I also needed to update print_evalue: the `operator<<()` for a type needs to live in its primary namespace. This shows that the aliases aren't perfect, but very few other users should be defining their own `operator<<` for our types. This is the only scenario where I've seen the namespace aliases break down. Differential Revision: [D60428951](https://our.internmc.facebook.com/intern/diff/D60428951/) [ghstack-poisoned]
…amespace" Migrate these headers to the new `::executorch::runtime` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally. The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work. Because `EValue` changed namespaces, I also needed to update print_evalue: the `operator<<()` for a type needs to live in its primary namespace. This shows that the aliases aren't perfect, but very few other users should be defining their own `operator<<` for our types. This is the only scenario where I've seen the namespace aliases break down. Differential Revision: [D60428951](https://our.internmc.facebook.com/intern/diff/D60428951/) [ghstack-poisoned]
Migrate these headers to the new `::executorch::runtime` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally. The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work. Because `EValue` changed namespaces, I also needed to update print_evalue: the `operator<<()` for a type needs to live in its primary namespace. This shows that the aliases aren't perfect, but very few other users should be defining their own `operator<<` for our types. This is the only scenario where I've seen the namespace aliases break down. Differential Revision: [D60428951](https://our.internmc.facebook.com/intern/diff/D60428951/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D60428951 |
…amespace" Migrate these headers to the new `::executorch::runtime` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally. The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work. Because `EValue` changed namespaces, I also needed to update print_evalue: the `operator<<()` for a type needs to live in its primary namespace. This shows that the aliases aren't perfect, but very few other users should be defining their own `operator<<` for our types. This is the only scenario where I've seen the namespace aliases break down. Differential Revision: [D60428951](https://our.internmc.facebook.com/intern/diff/D60428951/) [ghstack-poisoned]
Migrate these headers to the new `::executorch::runtime` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally. The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work. Because `EValue` changed namespaces, I also needed to update print_evalue: the `operator<<()` for a type needs to live in its primary namespace. This shows that the aliases aren't perfect, but very few other users should be defining their own `operator<<` for our types. This is the only scenario where I've seen the namespace aliases break down. Differential Revision: [D60428951](https://our.internmc.facebook.com/intern/diff/D60428951/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D60428951 |
…amespace" Migrate these headers to the new `::executorch::runtime` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally. The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work. Because `EValue` changed namespaces, I also needed to update print_evalue: the `operator<<()` for a type needs to live in its primary namespace. This shows that the aliases aren't perfect, but very few other users should be defining their own `operator<<` for our types. This is the only scenario where I've seen the namespace aliases break down. Differential Revision: [D60428951](https://our.internmc.facebook.com/intern/diff/D60428951/) [ghstack-poisoned]
Migrate these headers to the new `::executorch::runtime` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally. The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work. Because `EValue` changed namespaces, I also needed to update print_evalue: the `operator<<()` for a type needs to live in its primary namespace. This shows that the aliases aren't perfect, but very few other users should be defining their own `operator<<` for our types. This is the only scenario where I've seen the namespace aliases break down. Differential Revision: [D60428951](https://our.internmc.facebook.com/intern/diff/D60428951/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D60428951 |
Stack from ghstack (oldest at bottom):
Migrate these headers to the new
::executorch::runtime
namespace. Add temporary aliases from the old::torch::executor
namespace so we can migrate users incrementally.The tests for these headers are updated in the next diff to help demonstrate that the backwards-compatibility aliases work.
Because
EValue
changed namespaces, I also needed to update print_evalue: theoperator<<()
for a type needs to live in its primary namespace. This shows that the aliases aren't perfect, but very few other users should be defining their ownoperator<<
for our types. This is the only scenario where I've seen the namespace aliases break down.Differential Revision: D60428951