llama.cpp v1.0.0 runs MoE models too big for your GPU up to 2× faster
1 day ago
llama.cpp v1.0.0 runs mixture-of-experts models with experts in RAM up to twice as fast by computing cache misses on the CPU, adds a tuning script, brings llama.cpp and ggml to 1.0, adds an OpenAI-compatible speech endpoint, Kimi K3.1, FP8 on CUDA, faster Intel Arc prompts and a stricter llama-server. Release notes: https://github.com/ggml-org/llama.cpp/releases/tag/v1.0.0 Commits: https://github.com/ggml-org/llama.cpp/commits/v1.0.0 MoE cache guide: https://github.com/ggml-org/llama.cpp/blob/v1.0.0/docs/moe-cache.md Removed API: https://github.com/ggml-org/llama.cpp/pull/30565
Ask about this presentation
Chapters
0:00llama.cpp v1.0.0 runs MoE models too big for your GPU up to 2× faster
0:1601 Experts on the CPU
0:18The CPU now computes the experts the GPU cache misses
0:31A script picks the cache size and CPU share for your machine
0:4302 llama.cpp 1.0
0:46llama.cpp and ggml both reach 1.0
1:041.0 removes everything marked deprecated
1:2103 Speech
1:23llama-server answers OpenAI's text-to-speech API
1:3604 New models
1:38Kimi K3.1 runs in llama.cpp, images included
1:5305 Faster GPUs
1:56Intel Arc GPUs process prompts almost 3× faster on Vulkan
2:12FP8 reaches NVIDIA GPUs and the KV cache
2:27Speculative decoding runs up to a third faster on NVIDIA
2:4306 Faster loading
2:45Models load up to 8× faster across machines over RPC
3:0107 A stricter server
3:04llama-server keeps tools and local addresses locked by default
3:2108 The web UI
3:23The web UI gathers chats into named groups
3:37Running a big MoE model from RAM? Run the tuning script
Show transcriptHide transcript
llama.cpp 1.0 runs mixture-of-experts models that don't fit on your GPU up to twice as fast. With Qwen 3.8 Flash Next and a 6 gigabyte expert cache, generation climbs from about 24 to 48 tokens a second.
First, how that works.
Until now, every expert missing from the GPU cache was uploaded. Now the CPU computes some of those misses straight from RAM. If your experts are pinned in memory, uploading often stays faster.
The right cache size and CPU share depend on your RAM, your PCIe link and the model. A new script runs your server six times, in a few minutes, and prints the settings to use.
Then, the version number itself.
llama.cpp and its tensor library, ggml, both reach 1.0. Each release now carries a matching ggml release, so Homebrew and Debian packages stay compatible. The llama.app installer and Winget still ship nightly builds.
To reach 1.0, the project deleted everything it had marked deprecated. That is 35 functions in llama.h, old ggml operations and the defrag threshold option, so apps built on the C library and scripts that pass that option need changes.
Next, speech.
llama-server adds an OpenAI-compatible speech endpoint. An app that already calls OpenAI for text to speech can point at your own machine instead, and a local TTS model does the talking.
New models you can run.
Kimi K3.1 now runs locally, and it reads images too. Ripple, a dense 65 billion parameter model from ricursiveAI, arrives as well, and so does Fish Audio's Drama-3 voice model.
Then, speed on more GPUs.
A new flash attention kernel speeds up prompts on Intel GPUs through Vulkan. On an Arc Pro B70, an 8,000-token prompt runs almost three times faster. The Arc A770 stays on the old path for now.
The 8-bit FP8 format now runs on NVIDIA GPUs through CUDA, and the KV cache can be stored in FP8 too. FP8 kernels for mixture-of-experts layers and for prompt processing come in later pull requests.
A new CUDA kernel handles the small batches that speculative decoding checks. With Qwen 3.8 27B and a draft model, an RTX 3090 Ti generates about a third faster, and newer cards gain a little less.
Next, loading across machines.
Loading a model across machines over RPC got much faster. DeepSeek V4 Flash on two DGX Sparks loads in about a minute instead of seven and a half. The protocol changed, so older clients and servers are now refused.
Then, the server's defaults.
An exposed llama-server now refuses tools without an API key or an explicit opt-in, and keeps its proxy and media links off local addresses. Media on your home network needs an opt-in, and the proxy can't reach a local MCP server at all.
And the web interface.
In the web interface you can now gather chats into named groups in the sidebar. The message box expands into a large editor with a live markdown preview, and on phones the app feels native.
If you keep a mixture-of-experts model's experts in RAM, update and run the tuning script first. If you build on the C library, the 1.0 release notes and the prune pull request list everything that was removed.
Up next
3:22llama.cpp v0.9.0 processes prompts nearly 3× faster on Gemma 4 E2B
@llama-cpp
1 week ago
3:31llama.cpp v0.8.0 adds realtime voice chat and text-to-speech to llama-server
@llama-cpp
1 week ago
3:26llama.cpp v0.7.0 runs MoE models up to 2.2x faster when the experts don't fit in VRAM
@llama-cpp
1 month ago