Dense vs MoE MLX vs llama.cpp decode on Apple silicon

Parent: Mac local LLMs: Benchmarking and comparisons · Published reference · snapshot 2026-10-05

↓ Facts as markdownall context files

MLX MoE decode path (mlx-lm switch_layers.py): SwitchGLU makes three separate mx.gather_qmm calls per layer (up_proj, gate_proj, down_proj), then the activation. Each call takes the routed expert indices as a runtime input, so only routed experts are read.

These notes link each claim to its source. A source may be a research report hosted on this site rather than the primary document. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Facts

Children

← the whole tree · 3D view· how to read this page