Skip to content

Add Mac MPS accelerated inference support#17

Open
HenkPoley wants to merge 3 commits into
Robbyant:mainfrom
HenkPoley:codex/mps-sdpa-compat
Open

Add Mac MPS accelerated inference support#17
HenkPoley wants to merge 3 commits into
Robbyant:mainfrom
HenkPoley:codex/mps-sdpa-compat

Conversation

@HenkPoley

@HenkPoley HenkPoley commented Apr 18, 2026

Copy link
Copy Markdown

Tested locally on an Apple Silicon M1 Mac with PyTorch 2.11.

@HenkPoley

Copy link
Copy Markdown
Author

Just for giggles updated this PR, since #88 mentioned this.

I mostly ended up with this PR, since I wanted to try the project for a bit when it was new, but don't have current Nvidia GPUs laying around. So I had Codex hack until it somewhat worked. Same thing now with the update.

@HenkPoley

HenkPoley commented Jul 18, 2026

Copy link
Copy Markdown
Author

Ported the fp32->bf16 fixes from #88 to this PR.

It's about 1.3× faster on M1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant