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):

Main weakness: prefill when the long prompt must come from SSD — the next thing they're working on.

Original post →

More from Infra

Infra channel →