-
Notifications
You must be signed in to change notification settings - Fork 758
[executorch] Migrate runtime/core tests to new namespace #4608
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
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]
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: [D60428952](https://our.internmc.facebook.com/intern/diff/D60428952/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/4608
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 41f39f8 with merge base 5d151d0 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D60428952 |
… new namespace" 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: [D60428952](https://our.internmc.facebook.com/intern/diff/D60428952/) [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: [D60428952](https://our.internmc.facebook.com/intern/diff/D60428952/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D60428952 |
… new namespace" 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: [D60428952](https://our.internmc.facebook.com/intern/diff/D60428952/) [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: [D60428952](https://our.internmc.facebook.com/intern/diff/D60428952/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D60428952 |
… new namespace" 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: [D60428952](https://our.internmc.facebook.com/intern/diff/D60428952/) [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: [D60428952](https://our.internmc.facebook.com/intern/diff/D60428952/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D60428952 |
… new namespace" 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: [D60428952](https://our.internmc.facebook.com/intern/diff/D60428952/) [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: [D60428952](https://our.internmc.facebook.com/intern/diff/D60428952/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D60428952 |
Stack from ghstack (oldest at bottom):
The previous commit moved headers to the
::executorch::runtimenamespace. This diff updates the tests for those changes. After this, these tests should not use::torch::executorfor the updated names.Differential Revision: D60428952