Skip to content

Remove stray uses of torch::executor:: from examples/... #5512

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 1 commit into from

Conversation

dbort
Copy link
Contributor

@dbort dbort commented Sep 20, 2024

Example code should use the new executorch:: namespace wherever possible, and should not define code under the torch:: namespace.

Test Plan:

  • Built llava changes with bash .ci/scripts/test_llava.sh

Copy link

pytorch-bot bot commented Sep 20, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 6469add with merge base af098c3 (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 20, 2024
@facebook-github-bot
Copy link
Contributor

@dbort has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@dbort merged this pull request in abe9c36.

@dbort
Copy link
Contributor Author

dbort commented Sep 23, 2024

@pytorchbot cherry-pick --onto release/0.4 -c fixnewfeature

@dbort dbort deleted the examples-cleanup branch September 23, 2024 21:25
pytorchbot pushed a commit that referenced this pull request Sep 23, 2024
Summary:
Example code should use the new `executorch::` namespace wherever possible, and should not define code under the `torch::` namespace.

Pull Request resolved: #5512

Test Plan: - Built llava changes with `bash .ci/scripts/test_llava.sh`

Reviewed By: JacobSzwejbka, larryliu0820

Differential Revision: D63133181

Pulled By: dbort

fbshipit-source-id: 5796b85eef053f3b3e4ba0e27a3a26ae48747b5a
(cherry picked from commit abe9c36)
@pytorchbot
Copy link
Collaborator

Cherry picking #5512

The cherry pick PR is at #5558 and it is recommended to link a fixnewfeature cherry pick PR with an issue. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

jackzhxng pushed a commit that referenced this pull request Sep 24, 2024
Remove stray uses of `torch::executor::` from examples/... (#5512)

Summary:
Example code should use the new `executorch::` namespace wherever possible, and should not define code under the `torch::` namespace.

Pull Request resolved: #5512

Test Plan: - Built llava changes with `bash .ci/scripts/test_llava.sh`

Reviewed By: JacobSzwejbka, larryliu0820

Differential Revision: D63133181

Pulled By: dbort

fbshipit-source-id: 5796b85eef053f3b3e4ba0e27a3a26ae48747b5a
(cherry picked from commit abe9c36)

Co-authored-by: Dave Bort <[email protected]>
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. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants