Downloads · 30 days
166
100% of all-time downloads
luisarn/MOSS-TTS-v1.5-MLX-8bit
MOSS-TTS-v1.5-MLX-8bit is a text-to-speech model from luisarn. Use it when you need text read aloud. It is set up for mlx-audio. The card lists the license as apache-2.0.
8-bit affine quantization (group size 64) of OpenMOSS-Team/MOSS-TTS-v1.5 converted to MLX format for local inference on Apple Silicon with mlx-audio.
Downloads · 30 days
166
100% of all-time downloads
All-time downloads
166
Public
Parameters
8.5B
9.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors9.1 GB · 100%
How the weights are stored.
U328.4B · 98%
From the Hugging Face model README
8-bit affine quantization (group size 64) of OpenMOSS-Team/MOSS-TTS-v1.5 converted to MLX format for local inference on Apple Silicon with mlx-audio.
Converted with mlx_audio.convert (--q-bits 8, affine mode, group size 64), mlx-audio 0.5.5 / mlx 0.32.2.
As of conversion, no quantized MLX release of the MOSS-TTS v1.5 8B delay model existed on mlx-community (only the Local-Transformer v1.5 variants), so this repo fills that gap.
from mlx_audio.audio_io import write as audio_write
from mlx_audio.tts import load
model = load("luisarn/MOSS-TTS-v1.5-MLX-8bit", lazy=True)
result = next(model.generate(
text="Hello, this is MOSS-TTS v1.5 running on MLX.",
max_tokens=300,
))
audio_write("output.wav", result.audio, result.sample_rate)
Voice cloning:
result = next(model.generate(
text="Cloned speech generated locally on a Mac.",
ref_audio="speaker.wav",
language="Cantonese", # optional language tag, e.g. Cantonese, Portuguese, French
max_tokens=400,
))
CLI:
python -m mlx_audio.tts.generate \
--model luisarn/MOSS-TTS-v1.5-MLX-8bit \
--text "Hello from MLX." \
--output_path outputs
Measured on an Apple M4 Max (128 GB), warm cache, single sentence (5-6 s of audio): ~1.5x realtime, vs ~0.8x realtime for the bf16 weights.