Skip to content
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 most of extension/... to new namespace #4617

Merged
merged 27 commits into from
Aug 22, 2024

Conversation

dbort
Copy link
Contributor

@dbort dbort commented Aug 9, 2024

Stack from ghstack (oldest at bottom):

Migrate these headers to the new ::executorch::extension namespace. Add temporary aliases from the old ::torch::executor namespace so we can migrate users incrementally.

Differential Revision: D60938936

dbort added 13 commits August 8, 2024 17:34
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]
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: [D60532173](https://our.internmc.facebook.com/intern/diff/D60532173/)

[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: [D60532174](https://our.internmc.facebook.com/intern/diff/D60532174/)

[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.

Differential Revision: [D60557624](https://our.internmc.facebook.com/intern/diff/D60557624/)

[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: [D60557625](https://our.internmc.facebook.com/intern/diff/D60557625/)

[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

Differential Revision: [D60626392](https://our.internmc.facebook.com/intern/diff/D60626392/)

[ghstack-poisoned]
Migrate this header to the new `::executorch::runtime` namespace and update its only users.

Differential Revision: [D60703364](https://our.internmc.facebook.com/intern/diff/D60703364/)

[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.

Differential Revision: [D60703365](https://our.internmc.facebook.com/intern/diff/D60703365/)

[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: [D60703363](https://our.internmc.facebook.com/intern/diff/D60703363/)

[ghstack-poisoned]
Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Aug 9, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/4617

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 Cancelled Job, 2 Unrelated Failures

As of commit b484ea9 with merge base b66d62a (image):

CANCELLED JOB - The following job was cancelled. Please retry:

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.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 9, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60938936

dbort added 2 commits August 8, 2024 18:20
…to new namespace"

Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60938936

dbort added 2 commits August 8, 2024 19:00
…to new namespace"

Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60938936

dbort added 2 commits August 9, 2024 12:31
…to new namespace"

Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60938936

dbort added 2 commits August 14, 2024 16:52
…to new namespace"

Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60938936

@dbort dbort changed the base branch from gh/dbort/52/base to gh/dbort/51/head August 15, 2024 16:54
dbort added 2 commits August 16, 2024 11:24
…to new namespace"

Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60938936

dbort added 2 commits August 20, 2024 16:13
…to new namespace"

Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60938936

dbort added a commit that referenced this pull request Aug 20, 2024
Pull Request resolved: #4617

Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

ghstack-source-id: 239024277
@exported-using-ghexport

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)
@dbort dbort changed the base branch from gh/dbort/51/head to main August 20, 2024 23:14
@dbort dbort changed the title [executorch] Migrate extension/test_utils to new namespace [executorch] Migrate most of extension/... to new namespace Aug 20, 2024
dbort added 2 commits August 21, 2024 11:32
…. to new namespace"

Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)

[ghstack-poisoned]
dbort added a commit that referenced this pull request Aug 21, 2024
Pull Request resolved: #4617

Migrate these headers to the new `::executorch::extension` namespace. Add temporary aliases from the old `::torch::executor` namespace so we can migrate users incrementally.

ghstack-source-id: 239152036
@exported-using-ghexport

Differential Revision: [D60938936](https://our.internmc.facebook.com/intern/diff/D60938936/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60938936

@facebook-github-bot facebook-github-bot merged commit 288e758 into main Aug 22, 2024
95 of 100 checks passed
@dbort dbort deleted the gh/dbort/52/head branch August 22, 2024 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants