4-bit base mixed-precision quantization of
Qwen/Qwen3.6-27B for Apple Silicon, using the
Unsloth Dynamic quantization strategy via
mlx-node.
Decode is memory-bandwidth bound on Apple Silicon — fewer bytes per token directly translates to higher throughput. The hybrid architecture interleaves linear attention (gated delta net, 48/64 layers) with full attention (16/64 layers).
Based on
Unsloth Dynamic 2.0 per-tensor KLD analysis. Sensitive layers get higher bits with AWQ correction, while the bulk of FFN weights are aggressively quantized. imatrix AWQ pre-scaling amplifies important weight channels and fuses inverse scales into preceding layer norms (zero inference overhead).
1import { loadSession } from '@mlx-node/lm';
2
3const session = await loadSession('./Qwen3.6-27B-UD-Q4_K_XL-mlx');
4
5for await (const event of session.sendStream('Explain the hybrid attention mechanism in Qwen3.6.', {
6 config: { maxNewTokens: 2048, temperature: 0.6, reasoningEffort: 'low' },
7})) {
8 if (!event.done) process.stdout.write(event.text);
9}
1mlx convert \
2 -i Qwen3.6-27B \
3 -o Qwen3.6-27B-UD-Q4_K_XL-mlx \
4 -q --q-bits 4 --q-recipe unsloth \
5 --imatrix-path imatrix_unsloth.gguf
Apache 2.0 (inherited from base model).