50% tg increase with offloading "hot" experts to VRAM
Mirrored from r/LocalLLaMA for archival readability. Support the source by reading on the original site.
| I got a 50% performance boost (20 t/s -> 30 t/s) in llama.cpp for MoE models that don’t fit entirely in VRAM—in my case, Qwen 3.8 Flash Next. The idea is simple: instead of offloading entire layers to the GPU, I offload only the “hot” experts. I found that certain groups of experts remain relatively stable across coding, refactoring, and code-review workloads. https://github.com/timadinorth/llama.cpp/pull/1 A couple of important caveats: this llama.cpp fork has been tested only on coding workloads, and it’s useful only when the full model cannot fit in VRAM. [link] [comments] |
More from r/LocalLLaMA
-
Someone apparently managed to kind of replicate what V4.1 flash does on KV for fast prefill on Qwen
Sep 11
-
New Music Model YuE2-3B Released!
Sep 11
-
Artificial Analysis is not "broken", and they prove it.
Sep 10
-
Faster than Light in Air: 8-22 tg/s Qwen3.8-Flash-Next (Q4/Q4ish) on a 32GB M4 MacBook Air
Sep 10
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.