MLX Speech Models
Collection
Speech AI models for Apple Silicon via MLX. ASR, TTS, VAD, diarization, speaker embedding. • 94 items • Updated • 5
How to use aufklarer/CSM-1B-MLX-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir CSM-1B-MLX-8bit aufklarer/CSM-1B-MLX-8bit
Sesame CSM-1B (Conversational Speech Model) converted to MLX (int8) for on-device speech generation on Apple Silicon. CSM is a Moshi-family codec model: a Llama-1B backbone predicts the zeroth Mimi codebook, a Llama-100M decoder predicts the rest. It clones a voice from a short reference clip.
| Property | Value |
|---|---|
| Parameters | 1.5B class (backbone 1B + decoder + heads) |
| Quantization | int8 |
| Size | ~1.7 GB |
| Codec | Mimi, 32 codebooks @ 12.5 Hz, 24 kHz |
| Languages | English |
| File | Description |
|---|---|
model.safetensors |
backbone + decoder + heads + embeddings (int8) |
config.json |
architecture + per-module quantization map |
mimi.safetensors |
Kyutai Mimi codec (32 codebooks) |
tokenizer.json |
Llama BPE tokenizer |
| Metric | Value |
|---|---|
| RTF (int8) | ~0.5–0.9 (faster than real time) |
| First-audio latency (streaming) | ~120 ms |
Quantization lowers memory bandwidth, so int8/int5 are both smaller and faster than fp16 on Apple GPUs.
import CSM
let pipeline = try await CSMPipeline(directory: modelDir)
let audio = pipeline.synthesize(
text: "Hello from on-device speech.",
refAudio: referenceSamples, // 24 kHz mono
refText: "transcript of the reference",
temperature: 0.9, topK: 50)
Converted from sesame/csm-1b (Apache-2.0).
Quantized
Base model
sesame/csm-1b