176K context at 36 t/s on 8GB VRAM: full expert-cache config shared

campaigner_ · reddit · 2026-10-14

A Reddit user shared a complete llama.cpp-style config for running a large-context MoE model on 8GB VRAM + 32GB RAM: 36 t/s decode, 340 t/s prefill, 176128 context.

Key settings: --expert-cache 2000, --kv q40, --spec 2, expert-adaptive scheduling flags (--adapt-every/--adapt-swaps/--adapt-decay), and a 300 MiB VRAM reserve. The crucial tradeoff: sacrificing MTP (minimal impact) and caching 2000 experts fixed the prefill bottleneck. No tool-call issues or looping; stable through 3 compactions at 192K context (with fewer cached experts).

Original post →

More from Infra

Infra channel →