Skip to content

Conversation

manuelcandales
Copy link
Contributor

@manuelcandales manuelcandales commented Oct 10, 2025

Implement Python-side Metal backend interface including:

  • MetalBackend: AOT compilation with MPS device support
  • MetalPartitioner: Graph partitioning for Metal delegation

Add unit tests for partitioner and backend preprocessing.

[ghstack-poisoned]
[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/15015

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:

❌ 5 New Failures, 7 Unrelated Failures

As of commit 89d3f14 with merge base 9560800 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

BROKEN TRUNK - The following jobs 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.

manuelcandales added a commit that referenced this pull request Oct 10, 2025
Implement Python-side Metal backend interface including:
- MetalBackend: AOT compilation with MPS device support
- MetalPartitioner: Graph partitioning for Metal delegation

Add comprehensive unit tests for partitioner and backend preprocessing.


ghstack-source-id: dfe25a4
ghstack-comment-id: 3392174694
Pull-Request: #15015
@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
@manuelcandales manuelcandales requested review from Gasoonjia, larryliu0820 and mergennachin and removed request for cccclai and shoumikhin October 10, 2025 20:16
[ghstack-poisoned]
manuelcandales added a commit that referenced this pull request Oct 10, 2025
Implement Python-side Metal backend interface including:
- MetalBackend: AOT compilation with MPS device support
- MetalPartitioner: Graph partitioning for Metal delegation

Add comprehensive unit tests for partitioner and backend preprocessing.

ghstack-source-id: 53b4c00
ghstack-comment-id: 3392174694
Pull-Request: #15015
@mergennachin mergennachin requested a review from angelayi October 12, 2025 15:46
Copy link
Contributor

@mergennachin mergennachin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a readme in backends/apple/metal/README.md

Say that this is an experimental backend

[ghstack-poisoned]
[ghstack-poisoned]
Base automatically changed from gh/manuelcandales/137/head to main October 13, 2025 16:59
[ghstack-poisoned]
@manuelcandales manuelcandales added the release notes: none Do not include this in the release notes label Oct 13, 2025
manuelcandales added a commit to manuelcandales/executorch-1 that referenced this pull request Oct 14, 2025
Implement Python-side Metal backend interface including:
- MetalBackend: AOT compilation with MPS device support
- MetalPartitioner: Graph partitioning for Metal delegation

Add comprehensive unit tests for partitioner and backend preprocessing.

ghstack-source-id: 5a16e51
ghstack-comment-id: 3392174694
Pull-Request: pytorch#15015
@manuelcandales manuelcandales merged commit bb4f7ae into main Oct 14, 2025
134 of 152 checks passed
@manuelcandales manuelcandales deleted the gh/manuelcandales/138/head branch October 14, 2025 22:35
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. release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants