Repository navigation
v0.51.0
Pre-release
Pre-release
Pre-release from main. It brings the experimental v0.51.0-exp.1 to main with the fixes found after it, together with the open fixes and a llama.cpp bump. Please report what you see in an issue, with the machine and the model.
What is in it
- The expert cache on the GPU you already have (experimental). Where the GPU reads the host's own memory (Apple Silicon, integrated GPUs),
--autocan move the expert cache onto it: missing experts go from the SSD straight into the cache's slots, the next layer's experts are read ahead, a long prompt borrows the cache's memory, and the cache can be warmed at load from the model's routing record (#741, #749, #756, #758, #768). --autoweighs a whole request, not the decode alone, when it decides between that cache and streaming: it records each side's prompt rate, so long prompts stay on the side that computes them faster.--autopicks a draft source: the model's own MTP head, a paired draft model (--drafter-file, placed on the fastest device that holds it), or none, and keeps it only where it decodes faster (#751, #755).- Integrated GPUs use the memory the firmware reserved for them (#764), and a plan reads available memory once it has settled (#766).
- A steadier choice of the experts' copy on cards with memory of their own (#754); old engines' knob lines are dropped (#760).
- Server: a client that disconnects stops its turn, prefill included (#747, by @pt7777);
parallel_tool_callsfollows the template when a request does not say (#742, by @pt7777). - CUDA pack: machine code for every architecture, so drivers older than the toolkit (R525+) and the Tesla P100 run it (#737).
- llama.cpp moves to upstream
2d5b3dd, with Tencent Hy4 Flash streaming its experts (#738).
Everything is lossless: the same output as the model fully loaded on that device. --auto measures the machine and keeps what is actually faster.
Measured on a 16 GB Apple laptop (--auto, against v0.50.1)
| Model | v0.50.1 | v0.51.0 |
|---|---|---|
| Qwen3.8-Flash-Next Q2_0 (62 GB file), decode | 6.0-6.6 tok/s | 11.4-13.5 tok/s |
| Qwen3.6-35B-A3B Q4_K_M, short prompts, decode | 14.6-17.1 | 24.3-24.7 |
| Qwen3.6-35B-A3B Q4_K_M, 1505-token prompt, prefill | 468-473 | 459-467 (after the loads that time both sides) |
| Inkling 2 Mini IQ4_NL, decode | 10.3-10.8 | 15.3 |
| Gemma 4 E4B, Gemma 4 26B-A4B, OLMoE | unchanged | unchanged |
Hand-set flags (no --auto, ten configurations: streaming, overlap, MTP, prefill device, CPU only, dense on GPU) give the same text and the same speed as v0.50.1.
Known limits
- The llama.cpp fork carries more than one small commit this release (the device cache, ~1,200 lines, and an RPC fix): see
docs/seam.md. - The first one to five loads of a model time the options, so they can be slower until
--autosettles. - Not run yet on this build: NVIDIA, AMD and Intel GPUs, Vulkan on desktop, phones, a real Hy4 Flash file, Q8_0 / Q3_K / IQ2 / IQ3 files on the GPU cache path (the plan checks each file's types against the backend and compares the answers before using it).
--gpu-layers 999 --device-cache-mb Ntyped by hand on a model larger than memory fails with "decode failed" on a Mac, as in v0.50.1.