Skip to content

Conversation

manuelcandales
Copy link
Contributor

Build system changes:

  • Add EXECUTORCH_BUILD_METAL build option in default.cmake
  • Fix AOTI linker flags for Apple platforms (use -export_dynamic)
  • Extend AOTI build support to Metal backend
  • Register Metal backend and configure Metal framework linkage
  • Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:

  • Add main Metal backend runtime providing entry point for AOTI-compiled
    model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Oct 10, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 3 New Failures, 3 Pending

As of commit 57d9e45 with merge base 896178e (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

manuelcandales added a commit that referenced this pull request Oct 10, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.


ghstack-source-id: 32be451
ghstack-comment-id: 3392300655
Pull-Request: #15024
@manuelcandales manuelcandales requested review from mergennachin and removed request for cccclai, kirklandsign and shoumikhin October 10, 2025 21:02
@meta-cla meta-cla 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 10, 2025
[ghstack-poisoned]
manuelcandales added a commit that referenced this pull request Oct 10, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

ghstack-source-id: dd5866f
ghstack-comment-id: 3392300655
Pull-Request: #15024
[ghstack-poisoned]
manuelcandales added a commit that referenced this pull request Oct 11, 2025
Build system changes:
- Add EXECUTORCH_BUILD_METAL build option in default.cmake
- Fix AOTI linker flags for Apple platforms (use -export_dynamic)
- Extend AOTI build support to Metal backend
- Register Metal backend and configure Metal framework linkage
- Add PyTorch AOTI headers and OpenMP library detection with rpath

Runtime implementation:
- Add main Metal backend runtime providing entry point for AOTI-compiled
  model execution on Metal devices

This commit ties together all Metal backend components and enables
building the complete backend.

ghstack-source-id: cde20a4
ghstack-comment-id: 3392300655
Pull-Request: #15024
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant