feat: Add limited support for MPS devices#1129
Open
jxwr wants to merge 1 commit intoFunAudioLLM:mainfrom
Open
Conversation
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? |
|
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>
4 tasks
oneliey
pushed a commit
to oneliey/CosyVoice
that referenced
this pull request
Jan 11, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.