Skip to content

Conversation

@jxwr
Copy link

@jxwr jxwr commented Apr 1, 2025

Add limited support for MPS devices to enable partial compatibility with Apple Silicon
Note: ONNX Runtime and TensorRT are not supported, but performance has significantly improved.
Tested on M4 Max.

@exdysa
Copy link

exdysa commented Apr 11, 2025

Add limited support for MPS devices to enable partial compatibility with Apple Silicon Note: ONNX Runtime and TensorRT are not supported, but performance has significantly improved. Tested on M4 Max.

If you are interested in trying my branch #1075 , I have CosyVoice2 support, and I have also changed all the seed routines and caching, though I like your 'get_torch_device()' routine. Would you be interested in adding it to my branch?

@Stonedcs
Copy link

RTF有对比数据吗?

ayutaz pushed a commit to ayutaz/CosyVoice that referenced this pull request Dec 10, 2025
Upstream improvements from FunAudioLLM/CosyVoice:

- PR FunAudioLLM#1640: Support vLLM 0.11.0+ (V1 engine) for better performance
  - First-chunk latency reduced by ~15ms
  - More stable latency with smaller fluctuations
  - Backward compatible with vLLM 0.9.0

- PR FunAudioLLM#1129: Add limited support for MPS devices (Apple Silicon)
  - Enables partial compatibility with M1/M2/M3/M4 Macs
  - Auto-enables JIT on MPS for better performance
  - ONNX models fall back to CPU (ONNX Runtime limitation)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

3 participants