llama.cpp Expands MoE Experts at Runtime
💡Explore runtime-only MoE expert expansion in llama.cpp—no retraining required.
⚡ 30-Second TL;DR
What Changed
Routes more experts than the model’s native top-K, with an example of expanding from 8 to a larger number.
Why It Matters
This could give developers a way to trade additional inference compute for potentially richer MoE behavior without retraining models. However, practitioners should benchmark quality, latency, memory use, and routing stability because the proposal is experimental and the article does not establish a quality improvement.
What To Do Next
Clone the moe-expansion llama.cpp branch, run the documented Qwen 3.6 35B A4B+ test, and benchmark top-K expansion against native routing for latency, memory, and task quality.
Key Points
- •Routes more experts than the model’s native top-K, with an example of expanding from 8 to a larger number.
- •Uses an adaptive threshold and linear influence decay from 99% to 50% across selected experts.
- •Supports configurable layer ranges and all llama.cpp backends without changing model weights.
- •Tested on Qwen 3.6 35B A4B+ and documented in a dedicated llama.cpp branch.
Weekly AI Recap
Read this week's curated digest of top AI events →
👉Related Updates
Same topic
Explore #mixture-of-experts
Same product
More on llama.cpp-moe-expansion
Same source
Latest from Reddit r/MachineLearning

Radar Point Density Beats Architecture in Classification
Is ML Reproducibility Becoming Irrelevant?

Routed Adds Local MCP Routing and Multilingual Support
Shrink LLM KV Cache with Sliding Window Attention
AI-curated news aggregator. All content rights belong to original publishers.
Original source: Reddit r/MachineLearning ↗
This is a summary, not the original. Read the source, or get the weekly briefing.
Weekly AI briefing
One email a week. Unsubscribe anytime.