ailuntz commited on
Commit
09d8745
·
verified ·
1 Parent(s): ed32d78

Fix MLX bridge quick start

Browse files
Files changed (1) hide show
  1. README.md +8 -6
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
- python -m venv .venv
40
- .venv/bin/pip install -U pip
41
- .venv/bin/pip install -r requirements.txt mlx safetensors huggingface_hub hf_transfer
 
42
 
43
- HF_HUB_ENABLE_HF_TRANSFER=1 .venv/bin/hf download mlx-community/SoulX-Singer-bf16 --local-dir ./models/SoulX-Singer-bf16
 
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
- .venv/bin/python scripts/inference_mlx_bridge.py \
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
- .venv/bin/python scripts/inference_mlx_bridge.py \
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 \