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-Mini-3B-2507 with a TurboQuant-compatible KV-cache profile. Tuned for Apple Silicon (M-series) inference via mlx-lm / mlx.| Device | VRAM / RAM | Recommendation |
|---|---|---|
| Apple M4 Max 128 GB | ~3.9 GB | recommended — headroom for long context |
| Apple M3 Max 64 GB | ~3.9 GB | comfortable |
| Apple M2 Max 32 GB | ~3.6 GB | fits |
mistralai/Voxtral-Mini-3B-2507 — 3B speech-understanding modelpip install mlx-lm1from mlx_lm import load, generate
2
3model, tokenizer = load("majentik/Voxtral-Mini-3B-2507-TurboQuant-MLX-8bit")
4
5# Voxtral ingests audio; pass audio features through the processor pipeline
6prompt = tokenizer.apply_chat_template(
7 [{"role": "user", "content": [{"type": "audio", "path": "sample.wav"},
8 {"type": "text", "text": "Transcribe this."}]}],
9 add_generation_prompt=True,
10)
11text = generate(model, tokenizer, prompt=prompt, max_tokens=256)
12print(text)| Field | Value |
|---|---|
| Parameters | 3B |
| Weight bits | 8 |
| Group size | 64 |
| Cache profile | TurboQuant |
| Size on disk | ~3 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 | Batch transcription | Streaming / code-switching |
majentik/Voxtral-Mini-3B-2507-TurboQuant-MLX-4bitmajentik/Voxtral-Mini-3B-2507-TurboQuant-MLX-2bitmajentik/Voxtral-Mini-3B-2507-RotorQuant-MLX-8bitmistralai/Voxtral-Mini-3B-2507 — upstream base model