Qwen3.5-9B-LayerFit-MLX-3bit

Qwen/Qwen3.5-9B, Qwen's 9B model with image input, for Apple Silicon, built with LayerFit™: a per-layer search that spends the bits where the model needs them most. 4.8 GB on disk, text and image input.

Build Size Suggested Mac memory
netprojects/Qwen3.5-9B-LayerFit-MLX-3bit (this build) 4.8 GB 8 GB

LayerFit: same size, closer to the original

A standard quant gives every layer the same bits. LayerFit measures how much each part of the model suffers at low bits (attention, the linear-attention blocks and the MLP of every layer, the embeddings and the output head), then fills the same size budget where it helps most:

Same size, same test Top-1 agreement with bf16 Error (KL) GSM8K (20)
Standard 3-bit (same bits in every layer) 77.2% 0.2926 16/20
LayerFit 3-bit 84.0% 0.1403 (52% lower) 19/20

Our harness: language-model weights against our bf16 MLX conversion, held-out passages in several languages, GSM8K with thinking off. The exact recipe is in layerfit-recipe.json. Measured on a MacBook Pro M5 Max, 28 November 2026.

What the original model scores

Published by Qwen for Qwen3.5-9B (full precision): LiveCodeBench v6 65.6, OJBench 29.2, BFCL-V4 66.1, TAU2-Bench 79.1. See the original card for the setup.

Use

pip install -U mlx-vlm
python -m mlx_vlm.generate --model netprojects/Qwen3.5-9B-LayerFit-MLX-3bit --max-tokens 4096 \
  --prompt "Write a Python function that checks if a string is a palindrome."

OpenAI-compatible server:

python -m mlx_vlm.server --model netprojects/Qwen3.5-9B-LayerFit-MLX-3bit --port 8080
  • The model thinks before it answers (<think> ... </think>) by default.
  • See the original card for the recommended sampling settings.
  • Images: add --image path/to/file.png to mlx_vlm.generate.

Tested with mlx-vlm 0.7.11 on a MacBook Pro M5 Max.

Licence

Apache-2.0, as Qwen/Qwen3.5-9B. LICENSE is the licence text; NOTICE describes the conversion.

All LayerFit builds, one pick per model: [LayerFit MLX builds](https://huggingface.co/collections/netprojects/layerfit-mlx-builds-6b0ad24ace6f450872d036e5).

Built by Paris Michalas, NetProjects. LayerFit™ is a NetProjects trademark. Not affiliated with Qwen.

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

Quantized

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

Model tree for netprojects/Qwen3.5-9B-LayerFit-MLX-3bit

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

Collections including netprojects/Qwen3.5-9B-LayerFit-MLX-3bit