llama.cpp v0.7.0 runs MoE models up to 2.2x faster when the experts don't fit in VRAM

1 month ago

llama.cpp v0.7.0 adds a GPU cache for MoE experts kept in host memory (up to 2.2x faster decode when experts don't fit in VRAM), LiliCorr and GLM5-Next speculative decoding, new models from K2 Horizon to EmbeddingGemma-2, a Models Manager in the web UI, and a new default server port, 9931.

Ask about this presentation

Chapters

Show transcript
  1. llama.cpp can now keep a mixture-of-experts model's experts in system memory and run them on the GPU from a cache. When the experts don't fit in VRAM, decoding gets up to 2.2 times faster.

    Slide text
    llama.cpp
    llama.cpp
    October 2026
    llama.cpp

    llama.cpp v0.7.0 runs MoE models up to 2.2× faster when the experts don’t fit in VRAM

    Decode speed, MoE experts kept in host memory
    Before
    1×
    --moe-cache-mib
    up to 2.2×
    llama.cpp v0.7.0 release notes · Highlights · #29887
    01 Memory
  2. Rigs with more than one GPU can now use the expert cache too, shared across every card. You switch it on with the moe-cache-mib flag and give it a size in mebibytes.

    Slide text
    llama.cpp
    llama.cpp
    October 2026

    The expert cache now works across several GPUs

    GPU 0
    GPU 1
    GPU 2
    GPU 3
    one shared expert cache
    llama.cpp v0.7.0 release notes · Highlights · #30112
    01 Memory
  3. Embedding models got lighter. When pooling is on, llama.cpp now skips the language model head and its logits buffer, which cuts the VRAM they need by up to ten times.

    Slide text
    llama.cpp
    llama.cpp
    October 2026

    Embedding models use up to 10× less VRAM

    With pooling on, llama.cpp skips the LM head and the logits buffer

    llama.cpp v0.7.0 release notes · Core changes · #30255 #30445
    01 Memory
  4. Speculative decoding, where a small draft model guesses tokens for the big model to check.

    Slide text
    llama.cpp
    llama.cpp
    October 2026
    02
    Speculative decoding
    llama.cpp v0.7.0 release notes
    02 Speculative decoding
  5. LiliCorr is a new speculative decoding method. A small draft transformer, built on top of DFlash, selects the candidate tokens, and llama.cpp can now convert and run those draft models.

    Slide text
    llama.cpp
    llama.cpp
    October 2026

    Candidate selection built on top of DFlash, with draft model conversion included

    llama.cpp v0.7.0 release notes · Highlights · #30506
    02 Speculative decoding
  6. GLM5-Next gets multi-token prediction, so the model drafts its own next tokens. Its sparse attention also runs on a new, optimized path.

    Slide text
    llama.cpp
    llama.cpp
    October 2026

    Multi-token prediction, plus an optimized sparse attention path

    llama.cpp v0.7.0 release notes · Highlights · #29928
    02 Speculative decoding
  7. Draft sampling and token rejection are fixed, a new option sizes the draft model's batch on its own to save VRAM, and multi-token prediction drafts now handle images and other multimodal input.

    Slide text
    llama.cpp
    llama.cpp
    October 2026

    Speculative decoding fixes and a VRAM saver

    • Fixed draft sampling and rejection handling
    • --spec-draft-n-ubatch sizes the draft batch to save VRAM
    • MTP drafts handle multimodal input
    llama.cpp v0.7.0 release notes · Core changes · #30095 #30459 #30257
    02 Speculative decoding
  8. New models you can run today.

    Slide text
    llama.cpp
    llama.cpp
    October 2026
    03
    New models
    llama.cpp v0.7.0 release notes
    03 New models
  9. K2 Horizon now runs in both its dense and MoVA variants. Conversion, the tokenizer and the chat template are all supported, and tensor splitting spreads one model across several GPUs.

    Slide text
    llama.cpp
    llama.cpp
    October 2026

    Conversion, tokenizer, chat template, and -sm tensor to split it across GPUs

    llama.cpp v0.7.0 release notes · New models · #29535
    03 New models
  10. Prism Bonsai 2 is a 27 billion parameter ternary model. Each of its weights is one of three values, and llama.cpp can now load and run it.

    Slide text
    llama.cpp
    llama.cpp
    October 2026

    Prism Bonsai 2 27B runs in llama.cpp

    −1 0 +1 ternary weights
    llama.cpp v0.7.0 release notes · New models · #29600
    03 New models
  11. MiniCPM-V 4.7 and Nemotron Super 3.5 VL both take images as input. Nemotron Bolt also lands, a 74 billion parameter model with 9 billion parameters active.

    Slide text
    llama.cpp
    llama.cpp
    October 2026
    • MiniCPM-V 4.7 multimodal
    • Nemotron Super 3.5 VL vision and language
    • Nemotron Bolt 74B A9B 9B active
    llama.cpp v0.7.0 release notes · New models · #29416 #30520
    03 New models
  12. EmbeddingGemma-2 puts text, images and audio into one embedding model. A local search index can now hold all three kinds of content in the same vector space.

    Slide text
    llama.cpp
    llama.cpp
    October 2026
    text vision audio
    llama.cpp v0.7.0 release notes · New models · #30054
    03 New models
  13. LiquidAI's d1-3B and d1-omni, vLLM decision 2 and d3, and pplx-decider all run now. The server's system one endpoint serves every one of them.

    Slide text
    llama.cpp
    llama.cpp
    October 2026

    Five decision models run on the server

    • LiquidAI d1-3B · d1-omni-600M
    • vLLM decision 2 · d3
    • pplx-decider
    llama.cpp v0.7.0 release notes · New models · Server changes · #30110 #30378 #30044
    03 New models
  14. The server and its web interface.

    Slide text
    llama.cpp
    llama.cpp
    October 2026
    04
    Server and web UI
    llama.cpp v0.7.0 release notes
    04 Server and web UI
  15. The web interface gets a Models Manager, one searchable table of every model the server can serve. Each row loads, unloads or deletes a model, and downloads resume where they stopped.

    Slide text
    llama.cpp
    llama.cpp
    October 2026
    • One table of every served model, quants expandable
    • Search, filters, sorting and favorites
    • Load, unload, delete, and resumable downloads
    llama.cpp v0.7.0 release notes · UI changes · #29583
    04 Server and web UI
  16. Rerank and embedding requests no longer fill the prompt cache, saved slots keep their context checkpoints and draft model state, and an off-by-two bug that threw away restored sessions is fixed.

    Slide text
    llama.cpp
    llama.cpp
    October 2026
    • Rerank and embedding requests stay out of the prompt cache
    • Slot files keep context checkpoints and draft state
    • Off-by-two fix stops discarding restored states
    llama.cpp v0.7.0 release notes · Server changes · #30498 #26004 #30580
    04 Server and web UI
  17. llama-server now listens on port 9931 by default. Scripts and clients pointed at 8080 need the new port. Docker images still use 8080 inside the container.

    Slide text
    llama.cpp
    llama.cpp
    October 2026
    before 8080
    →
    default now 9931

    Docker images keep 8080 inside the container

    llama.cpp v0.7.0 release notes · API changes · #30159
    04 Server and web UI
  18. Developers who build on the library or the server's chat code have API changes to check. The release notes for this version, under API changes, list each one.

    Slide text
    llama.cpp
    llama.cpp
    October 2026
    llama.cpp

    Building on llama.h or the server’s chat code?

    The llama.cpp v0.7.0 release notes list every API change

    github.com/ggml-org/llama.cpp · releases/tag/v0.7.0
    llama.cpp v0.7.0

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York