Text-to-Audio
MLX
Safetensors
apple-silicon
singing-voice-synthesis
singing-voice-conversion
soulx-singer
Instructions to use mlx-community/SoulX-Singer-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/SoulX-Singer-bf16 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir SoulX-Singer-bf16 mlx-community/SoulX-Singer-bf16
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
Fix MLX bridge quick start
Browse files
README.md
CHANGED
|
@@ -36,11 +36,13 @@ This is not a pure end-to-end MLX audio runtime yet. The weights are converted t
|
|
| 36 |
```bash
|
| 37 |
git clone https://github.com/ailuntx/SoulX-Singer-MLX.git
|
| 38 |
cd SoulX-Singer-MLX
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
| 42 |
|
| 43 |
-
HF_HUB_ENABLE_HF_TRANSFER=1
|
|
|
|
| 44 |
```
|
| 45 |
|
| 46 |
Run a short SVS bridge test:
|
|
@@ -48,7 +50,7 @@ Run a short SVS bridge test:
|
|
| 48 |
```bash
|
| 49 |
PYTORCH_ENABLE_MPS_FALLBACK=1 \
|
| 50 |
SOULX_WHISPER_MODEL=pretrained_models/openai__whisper-base \
|
| 51 |
-
|
| 52 |
--model ./models/SoulX-Singer-bf16 \
|
| 53 |
--component svs \
|
| 54 |
--device mps \
|
|
@@ -66,7 +68,7 @@ Run an SVC bridge test:
|
|
| 66 |
```bash
|
| 67 |
PYTORCH_ENABLE_MPS_FALLBACK=1 \
|
| 68 |
SOULX_WHISPER_MODEL=pretrained_models/openai__whisper-base \
|
| 69 |
-
|
| 70 |
--model ./models/SoulX-Singer-bf16 \
|
| 71 |
--component svc \
|
| 72 |
--device mps \
|
|
|
|
| 36 |
```bash
|
| 37 |
git clone https://github.com/ailuntx/SoulX-Singer-MLX.git
|
| 38 |
cd SoulX-Singer-MLX
|
| 39 |
+
conda create -n soulxsinger-mlx -y python=3.10
|
| 40 |
+
conda activate soulxsinger-mlx
|
| 41 |
+
python -m pip install -U pip
|
| 42 |
+
python -m pip install -r requirements.txt mlx safetensors huggingface_hub hf_transfer
|
| 43 |
|
| 44 |
+
HF_HUB_ENABLE_HF_TRANSFER=1 hf download mlx-community/SoulX-Singer-bf16 --local-dir ./models/SoulX-Singer-bf16
|
| 45 |
+
hf download openai/whisper-base --local-dir pretrained_models/openai__whisper-base
|
| 46 |
```
|
| 47 |
|
| 48 |
Run a short SVS bridge test:
|
|
|
|
| 50 |
```bash
|
| 51 |
PYTORCH_ENABLE_MPS_FALLBACK=1 \
|
| 52 |
SOULX_WHISPER_MODEL=pretrained_models/openai__whisper-base \
|
| 53 |
+
python scripts/inference_mlx_bridge.py \
|
| 54 |
--model ./models/SoulX-Singer-bf16 \
|
| 55 |
--component svs \
|
| 56 |
--device mps \
|
|
|
|
| 68 |
```bash
|
| 69 |
PYTORCH_ENABLE_MPS_FALLBACK=1 \
|
| 70 |
SOULX_WHISPER_MODEL=pretrained_models/openai__whisper-base \
|
| 71 |
+
python scripts/inference_mlx_bridge.py \
|
| 72 |
--model ./models/SoulX-Singer-bf16 \
|
| 73 |
--component svc \
|
| 74 |
--device mps \
|