CoolFace
Modelpublic

mlx-community/higgs-audio-v2-3B-mlx-q8

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
2likes210downloads
Model Card

Higgs Audio v2 — MLX 8-bit

MLX port of `bosonai/higgs-audio-v2-generation-3B-base` quantized to 8-bit. 3B Llama-3.2-backed text-to-speech with multi-codebook acoustic tokens and delay-pattern streaming. Real-time voice cloning on Apple Silicon.

Install

Requires the Higgs Audio v2 code from `Blaizzy/mlx-audio` (pending upstream merge — currently on the higgs-audio-v2-port branch at `kaioct-labs/mlx-audio`).

Usage

python
from mlx_audio.tts.models.higgs_audio import HiggsAudioServer
import soundfile as sf

server = HiggsAudioServer.from_pretrained(
    model_path="mlx-community/higgs-audio-v2-3B-mlx-q8",
    codec_path="mlx-community/higgs-audio-v2-tokenizer",
)

result = server.generate(
    target_text="Hello from Higgs Audio on MLX.",
    reference_audio_path="reference.wav",
    reference_text="Transcript of the reference audio.",
)
sf.write("output.wav", result.pcm, result.sampling_rate)

Benchmark (M5 Max, warm, long-prompt)

variantRTFsize
bf160.60×6.8 GB
q80.36×6.18 GB
q60.33×4.75 GB

Quantization

Selective — Llama backbone and text head at 8-bit, audio_codebook_embeddings and audio_decoder_proj.audio_lm_head kept at bf16 to preserve voice character. Config in config.json → quantization block, automatically honored by HiggsAudioServer.from_pretrained.

License

Apache-2.0 (inherits from base model).