Skip to content

Conversation

@matthewdouglas
Copy link
Member

Updates our packaging workflow to build and publish wheels for macOS 14+ on arm64.

We've had passing tests on M1 CPU in our CI for quite a while now, and these tests also pass on the MPS device on an M4 MacBook Pro.

All of the MPS ops have naive/slower implementations in pure PyTorch, while some CPU ops have implementations in C++. For now this will provide a baseline implementation that can bring some parity to macOS for development/testing purposes. We'll continue to explore the addition of Metal kernels to improve performance in the future.

It's important to note that the 32bit and 8bit optimizers are not yet supported on CPU on any platform. On macOS they are also not yet supported for MPS.

Resolves #1020, #252

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@matthewdouglas matthewdouglas linked an issue Dec 2, 2025 that may be closed by this pull request
@matthewdouglas matthewdouglas added this to the v0.49.0 milestone Dec 2, 2025
@matthewdouglas matthewdouglas merged commit 4dc08e6 into main Dec 2, 2025
134 of 136 checks passed
@matthewdouglas matthewdouglas deleted the enable-macos-wheels branch December 2, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC] Cross-Platform Refactor: Mac M1 support Support for Apple silicon

1 participant