llama.cpp merged PR #29887, an LRU cache of MoE experts in VRAM exploiting routing locality of reference. On a 94GB Qwen3.8-Flash-Next Q4_0 model, it lifts RTX 5090 throughput from 30.8 to 67.8 tok/s. SGLang merged the same idea as 'paged experts' 12 days later.
A developer implemented a --moe-direct-io feature in llama.cpp that predicts which MoE experts the next token needs and prefetches them, running Qwen 3.8 Flash Next (68GB IQ2_XS) at 20-24 tok/s on an RTX 3060 12GB with only 16GB DDR4 RAM. Output is bit-exact to stock llama.cpp, avoiding the expert-pruning tradeoff that made an earlier attempt unusable. The speedup is roughly 10-15x over stock mmap-based llama.cpp, which hit 1.4-2.1 tok/s on the same setup.
A developer implemented a --moe-direct-io feature in llama.cpp that predicts which MoE experts the next token needs and prefetches them, running Qwen 3.8 Flash Next (68GB IQ2_XS) at 20-24 tok/s on an RTX 3060 12GB with only 16GB DDR4 RAM. Output is bit-exact to stock llama.cpp, avoiding the expert-pruning tradeoff that made an earlier attempt unusable. The speedup is roughly 10-15x over stock mmap-based llama.cpp, which hit 1.4-2.1 tok/s on the same setup.
A llama.cpp pull request (#26563) introduces a heatmap that tracks frequently used MoE experts and caches them in GPU VRAM while cold experts run on CPU. On Qwen3.6-35B-A3B with 8GB VRAM, the author reports speedups from 33.25 to 56.0 tok/s (Q2_M) and 17.34 to 35.93 tok/s (Q5_K_P). However, some models like Qwen3.5-122B-A10B and Laguna-S-2.1 were slower with caching enabled, indicating the technique is not universally beneficial.
A llama.cpp pull request (#26563) introduces a heatmap that tracks frequently used MoE experts and caches them in GPU VRAM while cold experts run on CPU. On Qwen3.6-35B-A3B with 8GB VRAM, the author reports speedups from 33.25 to 56.0 tok/s (Q2_M) and 17.34 to 35.93 tok/s (Q5_K_P). However, some models like Qwen3.5-122B-A10B and Laguna-S-2.1 were slower with caching enabled, indicating the technique is not universally beneficial.
A developer shared a llama.cpp fork that boosts token generation from 20 to 30 tokens per second (50%) for MoE models that don't fit in VRAM, by offloading only frequently used 'hot' experts to the GPU instead of whole layers. The approach exploits the observation that expert activation groups stay stable across coding workloads. It matters to practitioners running large MoE models locally on limited VRAM.
A developer shared a llama.cpp fork that boosts token generation from 20 to 30 tokens per second (50%) for MoE models that don't fit in VRAM, by offloading only frequently used 'hot' experts to the GPU instead of whole layers. The approach exploits the observation that expert activation groups stay stable across coding workloads. It matters to practitioners running large MoE models locally on limited VRAM.
A Reddit user benchmarked Qwen3.8-Flash-Next on one workstation across llama.cpp, SGLang, and FreeToken, varying engine, weight format, and memory placement while holding hardware and model family fixed. The tests found large time-to-first-token gaps (35s vs 258s at full context) and evaluated upcoming engine PRs including speculative decoding patches. For practitioners, the results suggest engine choice and PR-level patches substantially affect inference latency on local setups.
A Reddit user benchmarked Qwen3.8-Flash-Next on one workstation across llama.cpp, SGLang, and FreeToken, varying engine, weight format, and memory placement while holding hardware and model family fixed. The tests found large time-to-first-token gaps (35s vs 258s at full context) and evaluated upcoming engine PRs including speculative decoding patches. For practitioners, the results suggest engine choice and PR-level patches substantially affect inference latency on local setups.
A pull request by am17an adds a `-sm tensor` split mode to llama.cpp's RPC backend, enabling tensor parallelism across multiple computers. If merged, practitioners could shard a single model's tensors over a network of machines rather than being limited to pipeline-style layer splits.
A pull request by am17an adds a `-sm tensor` split mode to llama.cpp's RPC backend, enabling tensor parallelism across multiple computers. If merged, practitioners could shard a single model's tensors over a network of machines rather than being limited to pipeline-style layer splits.