Skip to content

Rename exec_aten:: to executorch::aten:: #5296

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

Closed
wants to merge 2 commits into from

Conversation

dbort
Copy link
Contributor

@dbort dbort commented Sep 12, 2024

Summary: Modify any files that declare a namespace exec_aten to use the new executorch::aten namespace, and add an alias for the old namespace. Migration of users will happen in later diffs.

Differential Revision: D62528437

dbort and others added 2 commits September 11, 2024 17:41
Summary:
Most code should use the exec_aten:: types: only aten-mode-aware code should refer directly to e.g. torch::executor::Tensor.

ArrayRef is a little different because it's also a core type, but in that case it should be called executorch::runtime::ArrayRef.

Differential Revision: D62476845
Summary: Modify any files that declare a `namespace exec_aten` to use the new `executorch::aten` namespace, and add an alias for the old namespace. Migration of users will happen in later diffs.

Differential Revision: D62528437
Copy link

pytorch-bot bot commented Sep 12, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 3ef1d33 with merge base a4be79f (image):
💚 Looks good so far! There are no failures yet. 💚

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 Sep 12, 2024
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 905df29.

swolchok added a commit that referenced this pull request Jan 28, 2025
fastmod 'exec_aten::' 'executorch::aten::'
Manually fix op_sdpa.cpp to use ::executorch::aten, run lintrunner.

(FWIW, I disagree with our use of nested namespaces for the reasons outlined in https://abseil.io/tips/130, but we can always find/replace back and leaving the migration unfinished seems worse.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants