tandem.cpp benchmark: 1.5-3x faster MoE decode than Strata and Maya when models exceed RAM
smflx · reddit · 2026-11-23
tandem.cpp is a llama.cpp patch set for MoE models that don't fit in VRAM or RAM: hottest experts live in a VRAM cache, the CPU computes a share of the misses, and the rest stream from SSD. It runs anything llama.cpp runs.
Quality first: the authors measured each recommended quant via KL divergence and top-1 agreement against original weights. Qwen3.8 works at IQ3S (78GiB, KL 0.0259 / 94.8%) but degrades below 3 bits; DeepSeek-V4.1's official FP4 weights hold up at 2 bits — "at least Q4" is advice for Qwen3.8, not a universal rule. A control shows tandem.cpp and Strata compute the same file with near-identical fidelity, so speed rows compare like with like.
Speed (cold start, greedy):
- Qwen3.8 IQ3S: when the model fits in RAM, Strata wins by 5-18% with 2x faster long-prompt prefill; once it exceeds RAM (5070 Ti + 32GB RAM, model 2.5x RAM), tandem.cpp decodes 52.4 vs 30.2-35.4 tok/s (1.5x).
- DeepSeek-V4.1 Maya-S (2.8x RAM): tandem.cpp is faster on every row, 3x faster after long prompts (9.4 vs 6.0 tok/s).
Main weakness: prefill when the long prompt must come from SSD — the next thing they're working on.
More from Infra
- Inkling 2 Mini at a glance: 32 KiB/token KV cache, 128 experts pruned from 384, fits a 32 GB laptop — RobertTLange · 2026-11-23
- mlx-dspark nearly doubles Mac local LLM speed: 24.9 to 48 tok/s on M4 Pro, lossless — AIFlow_ML · 2026-11-23
- Treasury Secretary Bessent Says He Isn't Worried About Nvidia's Circular Financing: 'Near Unlimited Demand' for Chips — AlexTensor · 2026-11-23
- Korea exports top $1T on AI chips; PCB materials may stay tight through H1 2027 — 创业邦 · 2026-11-23
- Together AI, Fireworks and OpenRouter all hacked, exposing routing architecture security flaws — AccBalanced · 2026-11-23
- Running GLM-5.3 8-bit locally on an M3 Ultra instead of buying a Vera Rubin rack — AIandDesign · 2026-11-23