Qwen4-35B-A3B runs on 48GB M4 Pro in 8.42GB RAM at 120 tok/s via dmlx
zouyee · reddit · 2026-12-05
- Open-source dmlx v0.0.9 runs Qwen4-35B-A3B (40L hybrid MoE, 256 experts top-8, 4-bit) on a 48GB M4 Pro with only 8.42GB peak RSS, hitting 119.99 tok/s decode on math (104.78 tok/s on code).
- Key techniques: native Metal DFlash2 speculative decoding (single CB, 8-bit, 98K vocab) and parallel ANE + GPU prefill — ANE handles 40L shared layers while GPU runs the 256-expert MoE, lifting prefill from 760 to 883/871 tok/s (2K/8K contexts).
- 11.5GB of weights are kept off-GPU with 12-thread pread; 8-bit KV cache cuts KV memory 46.88%. Reference: Qwen3-8B-27B at 44.50 tok/s.
- Project: github.com/zouyee/dmlx
More from Infra
- Indie-built SculptAttention skips most attention: 4.27x faster prefill at 660K context — fsn007 · 2026-12-05
- llama.cpp bug: quantized KV cache allocates more memory than f16 on Metal — PM_ME_YOUR_ROSY_LIPS · 2026-12-05
- Qwen 35B at 38 t/s decode on an RTX 3060 via Unsloth Desktop — Desther · 2026-12-05
- Blogger accuses Neocloud execs and NVIDIA's CFO of misleading investors at UBS Tech Conference ahead of 10-Q delay — churchkey · 2026-12-05
- Dev says he made FAISS 1.5-2x faster at best-match search; Facebook shipped it — imdigitalashish · 2026-12-05
- Should I keep an 8GB Ada + 16GB Blackwell dual-GPU rig for local LLMs? — clduab11 · 2026-12-05