qvex-q4

A 4-bit MLX quantization of Qwen/Qwen3.5-9B, built with an importance matrix (imatrix) for the QVex inference engine.

Each matrix is quantized from the original bf16 weights, weighting input channels by how active they are on real text (Italian, English, code, chat). The format is standard MLX 4-bit, so it has the same size, speed and memory as the stock MLX 4-bit.

Results

Measured on 40 held-out windows (never used for calibration), KL against the original bf16 model, on a MacBook Air M5 (16 GB):

Model KL ↓ Same top token Perplexity
bf16 original 0 100% 5.75
qvex-q4 0.026 91.9% 5.89
LM Studio MLX 4-bit 0.069 86.7% 5.98

The largest gain is on Italian text (KL 0.029 vs 0.084). The task check used only 24 verifiable tasks, so treat it as a sanity check rather than a benchmark. Everything was tested on one machine.

Usage

The model is designed for QVex. See the repository for the engine, the quantization pipeline (quant/) and how to rebuild it.

License

Apache-2.0, inherited from Qwen3.5-9B.

Downloads last month
-
Safetensors
Model size
9B params
Tensor type
U32
·
BF16
·
F32
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Ry682/qvex-q4

Finetuned
Qwen/Qwen3.5-9B
Quantized
(592)
this model