# llama.cpp fixes expert caching across split inference backends

- URL: https://blog.orchardai.ai/llama-cpp-moe-cache-layer-splits/
- Published: 2026-11-27

TL;DR: llama.cpp build b12814 fixes a mixture-of-experts cache issue when expert selection happens on a different backend from the cache. The release cites an Inkling 2 loop model running with a layer split.

## What changed

The November 27 llama.cpp b12814 prerelease fixes expert caching when expert selection happens on a different backend from the cache. The maintainers cite the loop passes of an Inkling 2 variant running with a layer split. In that configuration the scheduler’s copy of the expert IDs lacks the source used to get the shape. The fix takes the number of experts per token from the lookup setup. [llama.cpp release notes](https://github.com/ggml-org/llama.cpp/releases/tag/b12814) · [Maintainer change](https://github.com/ggml-org/llama.cpp/pull/33133)

## Our take

Splitting a mixture-of-experts model across devices is an operating choice. It can let an application run a model that would be awkward to serve on one device. The split also makes placement and transfers part of the path that needs a correctness check. A test of the same model on one backend may never exercise the lookup that changed here.

When evaluating the prerelease, record the build, model file, device setup, and layer placement together. Run a small fixed set of representative inputs on the actual split. Check whether generation finishes, whether the outputs pass task-specific checks, and how the split performs when the same workload repeats. If you also have a single-backend reference, it gives you another baseline when a change appears only under the split.

## Source

llama.cpp · 2026-11-27 · [llama.cpp b12814 release notes](https://github.com/ggml-org/llama.cpp/releases/tag/b12814)
