Views
No views yet
| Model | Wall time | Audio duration | RTF | Quality |
|---|---|---|---|---|
| 1.7B fp32 (this) | ~25s | ~9s | 2.8x | Best |
| 1.7B bf16 | ~25s | ~9s | 2.8x | Good |
| 0.6B fp32 | ~15s | ~8s | 1.8x | Noticeably worse |
mlx-audio>=0.3.2 and transformers==5.0.0rc3:pip install git+https://github.com/Blaizzy/mlx-audio.git transformers==5.0.0rc31from mlx_audio.tts.utils import load_model
2import mlx.core as mx
3import numpy as np
4import soundfile as sf
5
6model = load_model("cr2k2/Qwen3-TTS-12Hz-1.7B-Base-fp32")
7
8results = list(model.generate(
9 text="Hello, this is a test of voice cloning.",
10 ref_audio="reference.wav",
11 ref_text="Transcript of the reference audio.",
12))
13
14audio = np.concatenate([np.array(r.audio, copy=False) for r in results])
15sf.write("output.wav", audio.astype(np.float32), 24000)1pip install git+https://github.com/Blaizzy/mlx-audio.git
2python -m mlx_audio.convert --hf-path Qwen/Qwen3-TTS-12Hz-1.7B-Base --mlx-path models/Qwen3-TTS-12Hz-1.7B-Base-fp32 --dtype float32