Views
No views yet
pip install -U mlx-audiomlx_audio.tts.generate --model mlx-community/Irodori-TTS-v4.1-Small-8bit --text "こんにちは、Irodori TTSのMLX版です。" --ref_audio reference.wav1from mlx_audio.tts.generate import generate_audio
2
3generate_audio(
4 text="こんにちは、Irodori TTSのMLX版です。",
5 model="mlx-community/Irodori-TTS-v4.1-Small-8bit",
6 ref_audio="reference.wav",
7 file_prefix="output",
8)dacvae/, so inference needs
no additional downloads.| Text | Tokens | v4 caption only | v4.1 caption only |
|---|---|---|---|
| こんにちは。 | 3 | 3.64s | 2.88s |
| 今日はいい天気ですね。 | 5 | 5.60s | 4.72s |
| MLXへの移植が完了しました。 | 7 | 4.08s | 3.84s |
duration_scale /
seconds.mlx.nn.quantize (group size 64). Note that this
covers more layers than the upstream torchao checkpoints, which keep AdaLN,
the projectors and the duration predictor in BF16. Duration predictions stay
within one frame (40 ms) of the fp16 model.