Views
No views yet
mx.fast.metal_kernel
implementation (code/). 11.53 GB, measurably better than scalar quantization at the same size.mlx>=0.31 only, no compilation).| build | size | think-ja PPL vs bf16 | multilingual |
|---|---|---|---|
| GPTQ-3.5bpw (scalar) | 15.35 GB | +6.6% | +6.9% |
| GPTQ-2.7bpw (scalar) | 12.03 GB | +17.5% | +15.4% |
| VQ-2.4bpw — for 16 GB Macs | 10.49 GB | +19.5% | +21.6% |
| this (VQ) | 11.53 GB | +12.4% | +12.2% |
lm_head 6bit, routers 8bit, embeddings 4bit — inherited from the 2.7bpw scalar build.switch_mlp.*.vq_codes (LSB-first packed 8/12-bit indices, int32) +
vq_scales (fp16 per-128 group) + vq_codebooks.safetensors; metadata in config.json["vq"].1pip install "mlx>=0.31" "mlx-lm>=0.31"
2hf download aquaman164/Qwen3.6-35B-A3B-MLX-VQ-2.6bpw --local-dir qwen-vq
3
4# OpenAI-compatible server
5python qwen-vq/code/vq_serve.py --model qwen-vq --port 8090
6# then: curl http://127.0.0.1:8090/v1/chat/completions -d '{"model":"qwen-vq", ...}'
7# (use the model id returned by /v1/models)
8
9# or a one-shot generation test
10python qwen-vq/code/vq_generate.py qwen-vq 100code/vq_switch.py exposes load_vq_model(path) -> (model, config) if you want to embed it.
Thinking mode is on by default (Qwen3.6 native); pass enable_thinking=False via the chat
template for direct answers.