Skip to content

feat: Apple Silicon MPS support (bf16, no autocast) - #56

Open
yhsung wants to merge 1 commit into
OpenMOSS:mainfrom
yhsung:main
Open

feat: Apple Silicon MPS support (bf16, no autocast)#56
yhsung wants to merge 1 commit into
OpenMOSS:mainfrom
yhsung:main

Conversation

@yhsung

@yhsung yhsung commented Sep 7, 2026

Copy link
Copy Markdown
  • resolve_device auto now prefers cuda, then mps, then cpu
  • pass device through to audio processor on mps
  • keep autocast cuda-only: autocast on mps produces degenerate all-zero output, bf16 weights run correctly without it
  • README dtype example updated for mps

Measured on M-series Mac: 10-min audio in ~4:20 (RTF ~0.44), ~2.4x faster than CPU, identical segments.

Closes fork ahead by 1 commit (dc42ba3).

- resolve_device auto now prefers cuda, then mps, then cpu
- pass device through to audio processor on mps
- keep autocast cuda-only: autocast on mps produces degenerate
  all-zero output, bf16 weights run correctly without it

Measured on M-series Mac: 10-min audio in ~4:20 (RTF ~0.44),
~2.4x faster than CPU, identical segments.
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