gwenedeg

Guided tour · 2 of 3

Benchmarks

Qwen3.8-27B IQ3_S, served by Gwenedeg, mainline llama.cpp and ik_llama.cpp on one AMD Zen 4 VM. Same file, prompts and benchmark script. These figures do not describe Qwen4 or the AVX2 machine on the Models page.

Decode and agent workloads

Gwenedeg's lead is largest on decode and long-context turns. Four-client rows show aggregate throughput. Each engine's exact configuration and the limits of the comparison are below.

Decode speed tok/s, higher is better

1 client, thinking on
Gwenedeg
17.5tok/s
ik_llama
9.6tok/s
llama.cpp
5.2tok/s
1 client, thinking off
Gwenedeg
21.2tok/s
ik_llama
11.3tok/s
llama.cpp
4.9tok/s
4 clients at once, thinking onaggregate; llama.cpp 4 slots, ik one MTP slot (queued)
Gwenedeg
23.0tok/s
ik_llama
7.3tok/s
llama.cpp
5.2tok/s
4 clients at once, thinking offaggregate
Gwenedeg
26.2tok/s
ik_llama
8.6tok/s
llama.cpp
5.3tok/s
32k-token session, cold turn
Gwenedeg
14.0tok/s
llama.cpp
3.83tok/s
ik_llama
2.54tok/s
32k-token session, follow-up turnbest of two turns
Gwenedeg
14.8tok/s
llama.cpp
3.88tok/s
ik_llama
2.16tok/s

An agent turn on a 32k-token session seconds, lower is better

Follow-up turn on a 32k session+~2.5k tokens, wall time, best of two turns
Gwenedeg
72s
llama.cpp
218s
ik_llama
273s

Quality is the same

Perplexity on the same tokens and file, all three with an 8-bit K / 4-bit V cache: within 0.5%.

Gwenedegllama.cppik_llama.cpp
prose (Beagle ch. I)9.521*9.4809.493
code (the 32k source’s head)7.1337.1417.145

* Scaled, not re-run: Gwenedeg's prose figure carries the per-256 activation format's measured +0.4% (9.483 → 9.521). The code figure is unchanged.

Where ik_llama.cpp still wins: the cold 32k prefill

ik_llama.cpp wins the cold 31.8k-token prompt, while Gwenedeg prefills faster than llama.cpp on both short and cold prompts. On a follow-up turn's ~2.5k new tokens, the cached prefix narrows the gap: Gwenedeg 37.4 s, ik 35.0 s, llama.cpp 83.9 s (best of two turns).

Prefill speed tok/s, higher is better

Prompts of 0.8–2.5k tokensbest of the four prompts
Gwenedeg
130tok/s*
ik_llama
125tok/s
llama.cpp
78tok/s
Cold 31.8k-token promptwall: Gwenedeg 334 s, llama.cpp 682 s, ik_llama.cpp 309 s
ik_llama
103tok/s
Gwenedeg
95tok/s*
llama.cpp
47tok/s

* Scaled, not re-measured. Gwenedeg's two rows are its 2026-11-22 run scaled by 1.17×, the top of the 1.12–1.17× gain that one activation scale per 256 values measured on this file. The other engines' rows are as run. Gwenedeg's i-quant tiled GEMM is bit-identical to its plain kernels (method and re-measurement; v0.2 format change).

Setup

Machine
AMD EPYC Genoa (Zen 4), 16 vCPUs, 32 MB L3, 30 GB RAM, AVX-512 VNNI / VBMI / BF16. A KVM VM shared with other workloads (1-minute load 1–20 over the day). 14 threads for every engine, 2026-11-22.
Model
Qwen3.8-27B-GSQ-RCO-IQ3_S-mtp.gguf (ISTA-DASLab, 3.44 bpw, 12.1 GB, with its MTP block). Thinking on and off.
Workload
The same scripts/s9c_bench.py for all three. Two LiveCodeBench-shaped and two agent-shaped prompts, 512 new tokens; a 31,755-token cold prompt plus two follow-up turns of ~2,500 new tokens. Greedy and seeded requests.
Gwenedeg
50ba538, gcc 14.2.0: gwenedeg serve --ctx 98304 --draft mtp -G 6 --tau 0.5 --repack -k q4-dot --slots 6 --parallel 4 --admit bound. The binary was called runq until 2026-11-22 (README), so this commit and the raw benchmark data use that name.
llama.cpp
225a5345bbb0 (master of 2026-11-22), Release, -DGGML_NATIVE=ON (AVX-512, VNNI, VBMI, BF16 on): llama-server -t 14 -fa on -ctk f16 -ctv f16 -ub 512 -b 2048 -lm none --no-repack --ctx-checkpoints 4 -cram 512 --jinja, -np 1 / -np 4, at -c 98304 (long run: -c 49152). Its f16 KV cache was faster than 8-bit K / 4-bit V in every row; no MTP was fastest, with every draft length from 1 to 6 slower on this CPU. Tuned with llama-bench.
ik_llama.cpp
ac8d544b (2026-11-19): llama-server -fa on -ctk q8_0 -ctv q4_0 -rtr -ub 1024 -b 2048 -t 14 --spec-type mtp:n_max=6,p_min=0.5 --ctx-checkpoints 4 --jinja -cram 512, 1 slot, -c 16384 / -c 49152.
Raw data
bench/llamacpp-2026-11-22/, method and every configuration in BENCHMARKS.md.

Caveats, read before quoting a number

  • One run per cell, on a shared box. Differences of a few tens of percent are noise; the 3–9× ones are not. Each run’s load is in the raw data.
  • llama.cpp and ik_llama.cpp were configured by us, from their docs, and tuned with llama-bench. Their authors may know better settings. Mainline’s MTP slowdown is measured, not explained.
  • Some Gwenedeg cells are scaled, not re-run. Read the starred notes beside the quality table and prefill chart before quoting them. The other engines' rows are as run.
  • KV caches differ. Gwenedeg and ik use 8-bit K / 4-bit V with equal bit widths but different quantizers. llama.cpp’s f16 cache, its faster setting, holds 2.6× Gwenedeg’s KV bits. Its perplexity was measured with the 8/4-bit cache only (f16 can only be as good or better).
  • Contexts differ. Gwenedeg and llama.cpp ran their short requests at 98,304 positions; ik_llama.cpp at 16k (short) and 48k (long), because at 98k its server ran out of memory in a 20 GB cap on 2026-11-21.
  • Not measured: vLLM’s CPU backend, other engines, other CPUs.