Qwen3.6-35B-A3B-Q5K-IQ3XXS-GGUF
Q5_K / Q6_K dense layers + IQ3_XXS / IQ4_XS routed experts.
A single GGUF of Qwen/Qwen3.6-35B-A3B tuned for single-stream decode on 24 GB Apple Silicon Macs: it fits the GPU working set and decodes ~19 % faster than the unsloth UD-Q3_K_M file it is built from, at +0.6 % perplexity. Text only; no vision projector.
| file | size | dense layers | routed experts |
|---|---|---|---|
Qwen3.6-35B-A3B-Q5K_IQ3XXS.gguf | 16.0 GB | Q5_K; attention, shared expert, embedding Q6_K | IQ3_XXS gate/up, IQ4_XS down (Q6_K down in layers 34, 38, 39) |
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. The source file keeps those dense
tensors at Q8_0: 2.02 GB of the 2.46 GB read per token.
Qwen3.6's dense tensors are more sensitive than Qwen3.5's. The recipe of our Qwen3.5 file (every dense tensor at Q5_K) cost Qwen3.5 0.24 % perplexity but costs Qwen3.6 1.0 %. Raising one tensor group at a time to Q6_K showed the loss is spread across groups rather than concentrated in one. Attention and the shared expert recover the most per byte, and the token embedding costs nothing per token (one row is read), so those three go to Q6_K. That recovers about 40 % of the loss for 52 MB more per token. Dense Q6_K everywhere keeps perplexity but gives back half of the speed gain.
The routed experts and the router are byte-for-byte the imatrix quants from unsloth/Qwen3.6-35B-A3B-GGUF (UD-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 1.2.1, 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 UD-Q3_K_M (dense Q8_0) | 2.46 GB | 80.4–80.8 | 6.415 |
| dense Q6_K | 2.10 GB | 88.1–89.2 | 6.418 |
| this file | 1.90 GB | 95.5–96.1 | 6.452 |
| dense Q5_K (the Qwen3.5 recipe) | 1.85 GB | 97.6–97.8 | 6.479 |
| dense Q4_K | 1.61 GB | — | 6.612 |
Use
tempo9 (OpenAI / Anthropic-compatible local server):
tempo9 --hf thinkspread/Qwen3.6-35B-A3B-Q5K-IQ3XXS-GGUF
To ask about images, add the model's vision encoder, compiled for Core ML:
thinkspread/Qwen3.6-35B-A3B-Vision-CoreML-fp16.
With tempo9 1.2.2 or later, --tower auto fetches it:
tempo9 --hf thinkspread/Qwen3.6-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.6-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 'attn_q\.weight=q6_K' --tensor-type 'attn_k\.weight=q6_K' \
--tensor-type 'attn_v\.weight=q6_K' --tensor-type attn_output=q6_K \
--tensor-type shexp=q6_K \
--tensor-type ffn_gate_exps=iq3_xxs --tensor-type ffn_up_exps=iq3_xxs \
--tensor-type 'blk\.(34|38|39)\.ffn_down_exps=q6_K' \
--tensor-type ffn_down_exps=iq4_xs \
--output-tensor-type q5_K --token-embedding-type q6_K \
Qwen3.6-35B-A3B-UD-Q3_K_M.gguf Qwen3.6-35B-A3B-Q5K_IQ3XXS.gguf Q5_K
The expert tensors keep their type and are copied unchanged, including the
three Q6_K down projections unsloth chose for layers 34, 38 and 39 (the
layer-specific rule comes first because the first matching rule wins).
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.