Language & code models   Nov 18   Updated Nov 28   2 min read

One LM Studio setting more than doubled MoE speed on 8 GB

llama.cpp 1.1 adds Inkling 2 and a size-targeted quantizer. One tester doubled LM Studio speed on 8 GB.

BIGGER THAN VRAM

A mixture-of-experts model bigger than your VRAM can still run fast, if the runtime sends enough layers to the GPU. One tester found LM Studio wasn't doing that, and a single setting took Qwen3.6-35B-A3B from 10 to 24.5 tokens a second on an 8 GB RTX 3060 Ti. Update llama.cpp too: version 1.1.0 landed on 26 November.

The short version
Good atrunning a large MoE model on a small card. The tested file was 21.45 GiB on 8 GB of VRAM.
To try itfree. llama.cpp is MIT licensed and LM Studio is free for home and work.
Catchthe LM Studio fix is one person's measurement, made by editing a settings file rather than the GUI switch.

The deeper look

The tester, on LM Studio 0.4.25+1 with a Ryzen 5 4500, found LM Studio passing --n-gpu-layers 9 to its bundled llama-server on a 40-layer model. The setting "Limit Model Offload to Dedicated GPU Memory" (load.gpuStrictVramCap), set to false in the config file, changed that to 999999 and speed to 24.5 tok/s. Starting llama-server directly with -ngl 99 gave 26. Both runs kept all experts on the CPU (--cpu-moe) with a Q4_K_M GGUF, three runs averaged. The tester doesn't know why strict mode picks 9, and didn't flip the GUI switch itself.

The llama.cpp expert cache needs care. In its pull request, 256 to 1024 MiB caches with default mmap loading ran at 20.2 to 39.7 tok/s, slower than 59.4 with plain --cpu-moe. It helps only with non-default settings.

llama.cpp 1.1.0 is the first minor release under semantic versioning, two weeks after 1.0.0. It adds --target-bpw and --target-size to llama-quantize, which pick a quant type per tensor to hit a size you choose, and it adds the Inkling 2, Hy4 Flash and RAON-1-mini models. It also adds a new Llama Chat web UI and four speculative-decoding modes. The release notes have no speed table. Hugging Face's Llama desktop apps wraps llama.cpp in a desktop app if you want no terminal.

This is for tinkerers on 8 to 16 GB cards. Skip it if you only use hosted APIs.

How to start: get llama.cpp v1.1.0 from github.com/ggml-org/llama.cpp/releases. In LM Studio, look at the offload-to-dedicated-memory limit if MoE speed looks low.

How to start
From the code
$ git clone https://github.com/ggml-org/llama.cpp

More from this checkpoint