Skip to content

Migrate backends/arm to the new namespace #5904

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 Oct 4, 2024

Summary:
Move the Arm backend out of the torch:: namespace, and update to avoid using the torch:: or exec_aten:: namespaces.

Also, move the VelaBinStream code into a namespace to avoid declaring symbols in the global namespace.

Differential Revision: D63923290

Copy link

pytorch-bot bot commented Oct 4, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 4ea2808 with merge base 6e871c3 (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

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

@zingo zingo added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk labels Oct 5, 2024
@mergennachin mergennachin self-requested a review October 5, 2024 14:04
@zingo
Copy link
Collaborator

zingo commented Oct 7, 2024

PR seem to miss a fix here
trunk / test-arm-backend-delegation / linux-job (gh)
/pytorch/executorch/backends/arm/runtime/ArmBackendEthosU.cpp:161:19: error: 'is_contiguous_dim_order' was not declared in this scope

Summary:

Move the Arm backend out of the `torch::` namespace, and update to avoid using the `torch::` or `exec_aten::` namespaces.

Also, move the VelaBinStream code into a namespace to avoid declaring symbols in the global namespace.

Reviewed By: mergennachin

Differential Revision: D63923290
@dbort dbort force-pushed the export-D63923290 branch from 09f9a61 to 4ea2808 Compare October 7, 2024 22:16
@facebook-github-bot
Copy link
Contributor

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

@dbort dbort requested a review from zingo October 7, 2024 22:20
@dbort
Copy link
Contributor Author

dbort commented Oct 7, 2024

@zingo Thanks; I just pushed a new version that fixes that issue, and I verified it locally.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 03e4516.

@dbort dbort deleted the export-D63923290 branch October 8, 2024 05:04
@dbort
Copy link
Contributor Author

dbort commented Oct 8, 2024

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

pytorchbot pushed a commit that referenced this pull request Oct 8, 2024
Summary:
Pull Request resolved: #5904

Move the Arm backend out of the `torch::` namespace, and update to avoid using the `torch::` or `exec_aten::` namespaces.

Also, move the VelaBinStream code into a namespace to avoid declaring symbols in the global namespace.

Reviewed By: mergennachin

Differential Revision: D63923290

fbshipit-source-id: a98e4c1ede8072a9fd96fb7fc2e2fcc4e82bc28a
(cherry picked from commit 03e4516)
@pytorchbot
Copy link
Collaborator

Cherry picking #5904

The cherry pick PR is at #5974 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

@zingo
Copy link
Collaborator

zingo commented Oct 8, 2024

This is already closed but If the CI was happy when adding trunk builds I'm also happy, thanks for fixing this before merging.

jackzhxng pushed a commit that referenced this pull request Oct 8, 2024
Migrate backends/arm to the new namespace (#5904)

Summary:
Pull Request resolved: #5904

Move the Arm backend out of the `torch::` namespace, and update to avoid using the `torch::` or `exec_aten::` namespaces.

Also, move the VelaBinStream code into a namespace to avoid declaring symbols in the global namespace.

Reviewed By: mergennachin

Differential Revision: D63923290

fbshipit-source-id: a98e4c1ede8072a9fd96fb7fc2e2fcc4e82bc28a
(cherry picked from commit 03e4516)

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. fb-exported Merged partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants