whisper-large-v3-turbo-mlx-GPTQ-Hessian-q4
whisper-large-v3-turbo-mlx-GPTQ-Hessian-q4 is a 4-bit MLX affine speech-to-text checkpoint (bits: 4, group_size: 32) derived from openai/whisper-large-v3-turbo for low-latency, low-memory local transcription on Apple Silicon Metal.
Unlike naive Round-To-Nearest (mlx.core.quantize) 4-bit conversions — which noticeably soften short consonants and palatal endings in morphologically rich languages such as Polish — this checkpoint is quantized using empirical activation Hessian-weighted Cholesky block error compensation (GPTQ) combined with 81-point asymmetric optimal range clipping against the full-precision FP16 teacher across both the 32-layer audio encoder and 4-layer text decoder (including the tied 51866 × 1280 token_embedding projection).
Highlights
- Compact unified-memory footprint:
513.5 MB(489.70 MiB)weights.safetensors— 68.3% smaller than upstream FP16 (1.62 GB) and 43.8% smaller thanLibraxisAI/whisper-large-v3-turbo-mlx-q8(913.7 MB). - Standard MLX affine wire format:
bits = 4,group_size = 32(U32packed 4-bit codes +F16per-group scales +F16per-group biases). Drop-in compatible withmlx_whisper,LibraxisAI/mlx-batch-server, and the native Metal affine kernels invetcoders/x9bus— zero custom dequantization metadata required. - Preserves fragile acoustic boundaries: Eliminates the 4-bit RTN consonant-softening failure mode on isolated Polish numerals while preserving mixed-language technical terminology (
English+Polishcode-switching). - Complete self-contained bundle: Ships
weights.safetensors,config.json,tokenizer.json, and 128-binmel_filters.npzin one repository.
Quantization methodology
| Stage | Details |
|---|---|
| Teacher checkpoint | openai/whisper-large-v3-turbo (F16, d_model = 1280, 32 encoder blocks, 4 decoder blocks, 128 mel bins) |
| Calibration signal | Multilingual (pl + en) clean and noise-augmented speech mel-spectrograms (24,000 encoder frames + full teacher-forced autoregressive decoder token trajectories), strictly disjoint from evaluation clips |
| Second-order statistics | Per-layer empirical input Gram matrices H = X^T X + λI with adaptive ridge damping λ = 0.01 * mean(diag(H)) across all 233 quantized projections (self-attention, cross-attention, MLP, and tied vocabulary embedding) |
| Group range search | 81-point asymmetric (α, β) in [0.88, 1.00]^2 clipping grid per 32-weight group minimizing 4-bit reconstruction MSE prior to column error propagation |
| Error compensation | Upper-triangular Cholesky inverse H^-1 = U U^T propagating block quantization residuals (block_size = 32) into remaining unquantized input channels |
| Unquantized layers | encoder.conv1, encoder.conv2, decoder.positional_embedding, all LayerNorm weights/biases (F16), and alignment_heads (I64) |
| Held-out teacher fidelity | Encoder relative feature MSE 0.05339; temperature-scaled (T = 2.0) vocabulary logit KL divergence 0.03982 nats vs. FP16 teacher (monotone validation-gated) |
Evaluation & quality comparison (Apple Silicon Metal)
Evaluated via x9stt (vetcoders/x9bus native Metal backend, greedy decoding, language="pl", zero test-set overlap with calibration):
| Checkpoint | Weights size | Isolated Polish numerals (5× "pięć") | Mixed PL/EN technical speech (2 clips) | Avg. logprob (5× "pięć") |
|---|---|---|---|---|
openai/whisper-large-v3-turbo (FP16) | 1,617.8 MB | Pięć, pięć, pięć, pięć, pięć. | Exact ("session id", "computer use") | -0.21 |
LibraxisAI/whisper-large-v3-turbo-mlx-q8 | 913.7 MB | Pięć, pięć, pięć, pięć, pięć. | Exact (1:1 with FP16) | -0.22 |
Naive RTN MLX Q4 (mx.quantize, bits=4, gs=32) | 513.5 MB | pięk, pięk, pięk, pięk (palatal ć → k degradation + 1 dropped token) | Exact (1:1 with FP16) | -0.47 |
LibraxisAI/whisper-large-v3-turbo-mlx-GPTQ-Hessian-q4 | 513.5 MB | Pięć, pięć, pięć, pięć, pięć. | Exact (1:1 with FP16 & Q8) | -0.24 |
Repository contents & metadata
| Parameter | Value |
|---|---|
| Repository | LibraxisAI/whisper-large-v3-turbo-mlx-GPTQ-Hessian-q4 |
| Base model | openai/whisper-large-v3-turbo |
| Task | automatic-speech-recognition |
| Format | MLX affine (bits: 4, group_size: 32) |
Config model_type | whisper (n_mels: 128, n_audio_layer: 32, n_text_layer: 4, n_vocab: 51866) |
weights.safetensors | 513,487,406 bytes (513.5 MB / 489.70 MiB) |
tokenizer.json | 2,480,617 bytes |
mel_filters.npz | 4,271 bytes (mel_80 + mel_128) |
config.json | 342 bytes |
Tested inference paths
Inference for this checkpoint has been validated on Apple Silicon Metal with
vetcoders/x9bus(x9stt& structuralcodescribe-whisper-validate),LibraxisAI/mlx-batch-server, andmlx-whisper.
| Aspect | Status |
|---|---|
| Tested runtimes | x9bus / x9stt (native Rust + Metal), LibraxisAI/mlx-batch-server, mlx_whisper |
| Target hardware | Apple Silicon (M1 / M2 / M3 / M4) |
| Inference mode | Local / self-hosted |
| Hugging Face Hosted Inference | Disabled (inference: false) |
Usage
1. Python (mlx_whisper)
import mlx_whisper
result = mlx_whisper.transcribe(
"audio.wav",
path_or_hf_repo="LibraxisAI/whisper-large-v3-turbo-mlx-GPTQ-Hessian-q4",
)
print(result["text"])
2. x9bus & x9stt CLI (macOS Apple Silicon)
Download into ~/.x9bus/models/ (or select directly in x9bus Settings › Dictation › Whisper):
hf download LibraxisAI/whisper-large-v3-turbo-mlx-GPTQ-Hessian-q4 \
--local-dir ~/.x9bus/models/whisper-large-v3-turbo-mlx-GPTQ-Hessian-q4
CODESCRIBE_MODEL_PATH=~/.x9bus/models/whisper-large-v3-turbo-mlx-GPTQ-Hessian-q4 \
x9stt transcribe audio.wav -l pl --whisper
Intended use & out-of-scope boundaries
Intended use
- Real-time local dictation, voice-to-agent buses, and offline batch transcription on Apple Silicon Macs with tight unified-memory budgets (
8 GB–16 GBRAM). - Multilingual speech-to-text workflows across languages supported by
openai/whisper-large-v3-turbo, including mixed-language technical dictation.
Out of scope & limitations
- Safety-critical, medical, or legal decisions without human review.
- Non-MLX runtimes (such as
faster-whisper/ CTranslate2 orwhisper.cppGGML), which use incompatible tensor layouts and quantization formats. - Long continuous dictation trade-off (
4-layer decoder at 4-bit): While short commands, isolated numerals, and technical code-switching match 8-bitTurboclosely, multi-minute continuous Polish dictation can exhibit occasional mid-utterance lexical elisions or substitutions (e.g., collapsing repeated"nie wiem, nie wiem"or softening morphological prefixes/idioms such as"nieprzyjemne"/"rzecz biorąc"). When~914–974 MBof unified memory is available and maximum continuous-speech fidelity is preferred, useLibraxisAI/whisper-large-v3-mlx-GPTQ-Hessian-q4(32decoder layers in973.6 MB) orLibraxisAI/whisper-large-v3-turbo-mlx-q8(913.7 MB). - Very quiet or purely silent audio clips without upstream VAD gating can still elicit standard Whisper
<|nospeech|>/ sign-off hallucinations ("Dziękuje za uwagę.","Wszystkie prawa zastrzeżone."); pair with Silero VAD + energy gating in production pipelines.
License
Released under the MIT license, matching upstream openai/whisper-large-v3-turbo.
Citation
@misc{libraxisai-whisper-large-v3-turbo-mlx-gptq-hessian-q4,
title = {whisper-large-v3-turbo-mlx-GPTQ-Hessian-q4: Activation Hessian-Weighted 4-Bit MLX Whisper Turbo for Apple Silicon},
author = {LibraxisAI and Vetcoders},
year = {2026},
howpublished = {\url{https://huggingface.co/LibraxisAI/whisper-large-v3-turbo-mlx-GPTQ-Hessian-q4}},
note = {4-bit GPTQ affine MLX checkpoint published by LibraxisAI}
}
𝚅𝚒𝚋𝚎𝚌𝚛𝚊𝚏𝚝𝚎𝚍. with AI Agents by Vetcoders (c)2024-2026 LibraxisAI