tandem.cpp update: DeepSeek-V4.1 on a 64 GB PC with a 16 GB GPU, plus AMD ROCm support
tandem.cpp is a llama.cpp patch set that keeps hot MoE experts on the GPU and offloads the rest to the CPU, streaming from SSD when the model exceeds RAM. The author reports DeepSeek-V4.1-Flash going from 7.4 to 14.2 tok/s on an RTX 5070 Ti with 64 GB RAM…
Why it matters
It makes very large MoE models noticeably more usable on consumer hardware with limited VRAM and RAM.
What happened
1 min readtandem.cpp is a llama.cpp patch set that keeps hot MoE experts on the GPU and offloads the rest to the CPU, streaming from SSD when the model exceeds RAM. The author reports DeepSeek-V4.1-Flash going from 7.4 to 14.2 tok/s on an RTX 5070 Ti with 64 GB RAM, and 1.4-2.1x gains for gpt-oss-120b, GLM-4.5-Air and Qwen3.6. The patch now builds with HIP for AMD cards, matching stock Strata on an RX 7900 XTX.
Our analysis
Hot-expert caching isn't new, but the benchmarks use the same quant on every engine with no expert skipping, which makes the comparison fairer than most. All numbers come from the author on a handful of machines, there is a known bug in auto mode with 128 GB RAM, Vulkan isn't supported, and AMD-specific engines remain faster on older CPUs. Worth trying if you run local models on a 16 GB card.