Qwen3.5-35B-A3B-Q5K-IQ3XXS-GGUF
Q5_K dense layers + IQ3_XXS / IQ4_XS routed experts.
A single GGUF of Qwen/Qwen3.5-35B-A3B tuned for single-stream decode on 24 GB Apple Silicon Macs: it fits the GPU working set, decodes ~18 % faster than the common Q3_K_M file, and keeps its perplexity.
| file | size | dense layers | routed experts |
|---|---|---|---|
Qwen3.5-35B-A3B-Q5K_IQ3XXS.gguf | 15.7 GB | Q5_K | IQ3_XXS gate/up, IQ4_XS down |
Why this mix
A 35B-A3B MoE reads only 8 of 256 experts per token, so the dense tensors
(Gated DeltaNet and attention projections, the shared expert, lm_head)
dominate what each token has to stream. Popular low-bit files keep those dense
tensors at Q8_0: 1.5 GB of the 2.56 GB read per token. Moving them to Q5_K
cuts the per-token read to 1.84 GB with no measurable quality cost; going down
to Q4_K costs 3.4 % perplexity.
The routed experts are byte-for-byte the imatrix quants from unsloth/Qwen3.5-35B-A3B-GGUF (Q3_K_M); only the dense tensors were requantized. The MoE router stays F32.
Measurements
Apple M5 Pro, 24 GB. Decode: 256-token greedy generation, short prompt,
tempo9, two interleaved rounds.
Perplexity: llama-perplexity, 24 × 2048-token chunks of English technical
prose (relative comparison only).
| file | read / token | decode tok/s | PPL |
|---|---|---|---|
| unsloth Q3_K_M (dense Q8_0) | 2.56 GB | 63.5–64.8 | 6.785 |
| this file (dense Q5_K) | 1.84 GB | 74.1–76.9 | 6.801 |
| dense Q6_K | 2.10 GB | 69.0–70.2 | 6.784 |
| dense Q4_K | 1.60 GB | 80.5–83.8 | 7.014 |
Use
tempo9 (OpenAI / Anthropic-compatible local server):
tempo9 --hf thinkspread/Qwen3.5-35B-A3B-Q5K-IQ3XXS-GGUF
To ask about images, add the model's vision encoder, compiled for Core ML:
thinkspread/Qwen3.5-35B-A3B-Vision-CoreML-fp16.
With tempo9 1.2.2 or later, --tower auto fetches it:
tempo9 --hf thinkspread/Qwen3.5-35B-A3B-Q5K-IQ3XXS-GGUF --tower auto
Both fit a 24 GB Mac together at the default settings. The encoder's card has a request example, and the way to keep the encoder in a directory of your own.
llama.cpp:
llama-server -hf thinkspread/Qwen3.5-35B-A3B-Q5K-IQ3XXS-GGUF:Q5K_IQ3XXS -ngl 99 -fa on
How it was made
llama-quantize --allow-requantize --pure \
--imatrix experts_ones.imatrix \
--tensor-type ffn_gate_exps=iq3_xxs --tensor-type ffn_up_exps=iq3_xxs \
--tensor-type ffn_down_exps=iq4_xs \
--output-tensor-type q5_K --token-embedding-type q5_K \
Qwen3.5-35B-A3B-Q3_K_M.gguf Qwen3.5-35B-A3B-Q5K_IQ3XXS.gguf Q5_K
The expert tensors keep their type and are copied unchanged. llama-quantize
insists on an importance matrix whenever an IQ3 type appears among the targets,
so a placeholder matrix of ones that covers only the expert tensors is passed;
it is never applied, and the dense tensors are quantized without one.
License
Apache 2.0, inherited from the base model.