Views
No views yet
[!TIP] KV-cache quantization without any fork (recommended, 2026): upstream llama.cpp/Ollama now cover this natively — use-ctk q8_0 -ctv q8_0(~half KV memory, negligible quality loss: perplexity +0.002–0.05) or-ctk q4_0 -ctv q4_0(~quarter memory, ≈7.6% perplexity increase). In Ollama:OLLAMA_KV_CACHE_TYPE=q8_0withOLLAMA_FLASH_ATTENTION=1. Keep K and V types symmetric to stay on the fast fused Flash-Attention path. Since April 2026, mainline llama.cpp also applies Hadamard rotation to KV activations (PR #21038), which greatly improves low-bit KV quality (opt-out:LLAMA_ATTN_ROT_DISABLE=1).The RotorQuant/TurboQuant fork flow below is experimental/legacy: the TurboQuant llama.cpp PR was closed without merging (June 2026) and the fork is unmaintained relative to mainline. It is NOT required to use this model.
mistralai/Voxtral-4B-TTS-2603 with a TurboQuant KV-cache profile. Recommended default for TTS on Apple Silicon.| Device | VRAM / RAM | Recommendation |
|---|---|---|
| Apple M4 Max 128 GB | ~2.6 GB | recommended — headroom for long context |
| Apple M3 Max 64 GB | ~2.6 GB | comfortable |
| Apple M2 Max 32 GB | ~2.4 GB | fits |
mistralai/Voxtral-4B-TTS-2603 — 4B multilingual TTS with zero-shot voice cloningpip install mlx-lm1from mlx_lm import load, generate
2
3model, tokenizer = load("majentik/Voxtral-4B-TTS-2603-TurboQuant-MLX-4bit")
4
5prompt = tokenizer.apply_chat_template(
6 [{"role": "user", "content": [
7 {"type": "audio", "path": "reference_voice.wav"},
8 {"type": "text", "text": "Hello, this is a cloned voice."},
9 ]}],
10 add_generation_prompt=True,
11)
12audio_tokens = generate(model, tokenizer, prompt=prompt, max_tokens=2048)| Field | Value |
|---|---|
| Parameters | 4B |
| Weight bits | 4 |
| Group size | 64 |
| Cache profile | TurboQuant |
| Languages | 9 |
| Voice cloning | Zero-shot |
| Size on disk | ~2 GB |
| Target hardware | Apple Silicon (M1/M2/M3/M4) |
| License | Apache 2.0 |
| TurboQuant | RotorQuant | |
|---|---|---|
| Strategy | Per-head static calibration | Rotational online re-basis |
| Memory reduction | ~3.5x on KV-cache | ~4x on KV-cache |
| Best for | Single-voice sessions | Multi-voice / multi-language batches |
majentik/Voxtral-4B-TTS-2603-TurboQuant-MLX-8bitmajentik/Voxtral-4B-TTS-2603-TurboQuant-MLX-2bitmajentik/Voxtral-4B-TTS-2603-RotorQuant-MLX-4bitmistralai/Voxtral-4B-TTS-2603 — upstream base model