okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

albedocmake: strata_kernels links strata_kernels_cpu (iq_kernels.cu reads the latent colscale table from expert_layout.cpp; strata-q36ref failed to link)a4af4df61

main
3 folders7 files

files

5070/
p1004/
p2003/
README.md11.5 KiB
driver.sh534 B
machine-5070.json1.4 KiB
machine-p1004.json1.3 KiB
machine-p2003.json1.3 KiB
prompt-32k.txt105.9 KiB
prompt-4k.txt11.0 KiB

Strata vs llama.cpp v0.6.0 head-to-head (2026-10-06)

Stream 1402-h. Measurement only. Script: bench/bench_vs_llama.py. Raw per-request rows: <machine>/raw/*.jsonl (commands are in the first row of each file), tuning sweeps <machine>/tune-*.txt, machine/config files machine-*.json.

What was compared

Results (medians; decode = 256 tokens)

P2003: RTX 3060 12 GB, 46 GB RAM, Core Ultra 7 265 (Linux)

configctxtempnprompt tok/sdecode tok/sTTFT sdraft acceptedVRAM peak MiBRSS GiB
Strata setup4K08915.741.64.40.681172743.2
Strata setup4K0.78910.241.94.50.611172743.2
Strata setup32K03105041.830.50.661172741.6
Strata setup32K0.73104938.830.60.551172741.6
llama.cpp tuned, MTP off4K063289.112.4-986541.1
llama.cpp tuned, MTP off4K0.763379.812.1-986541.1
llama.cpp tuned, MTP off32K032948.8109.0-986543.1
llama.cpp tuned, MTP off32K0.733388.794.9-986544.1
llama.cpp tuned, MTP n=34K062937.013.90.441051943.3
llama.cpp tuned, MTP n=34K0.763106.613.10.391051943.4
llama.cpp tuned, MTP n=332K032618.3122.60.591051944.0
llama.cpp tuned, MTP n=332K0.733026.4106.10.431051944.2
llama.cpp --fit on, MTP off (1 round)4K021629.625.0-1071743.8

P1004: Tesla P100 16 GB (sm_60), 62 GB RAM (Linux)

configctxtempnprompt tok/sdecode tok/sTTFT sdraft acceptedVRAM peak MiBRSS GiB
Strata setup4K08283.831.114.30.671596942.3
Strata setup4K0.78284.630.314.20.601596942.3
Strata setup32K03322.932.899.30.681598542.5
Strata setup32K0.73322.928.799.30.521598542.5
llama.cpp tuned, MTP off4K06180.510.322.5-1558744.1
llama.cpp tuned, MTP off4K0.76180.710.322.5-1558744.1
llama.cpp tuned, MTP off32K03155.99.1205.6-1584744.1
llama.cpp tuned, MTP off32K0.73157.09.1204.2-1584744.1
llama.cpp tuned, MTP n=34K06112.87.736.00.421211745.8
llama.cpp tuned, MTP n=34K0.76113.08.035.90.451211745.8
llama.cpp tuned, MTP n=332K03101.08.8317.30.571230746.8
llama.cpp tuned, MTP n=332K0.73100.87.9318.10.471230747.7
llama.cpp --fit on, MTP off (1 round)4K0284.010.848.2-1521345.4

The first MTP request of each llama.cpp session shows 112-114 tok/s prompt at 4K on P1004 (page-in of the weights), which is why its MTP 4K median is low; the 32K and later rows are 245-320 tok/s in the raw rows (p1004/raw/llama-tuned-mtp3.jsonl). Even the best warm row does not reach Strata's.

This PC: RTX 5070 12 GB, 64 GB RAM (Windows), ONE round only

The owner paused model work on this PC (the PC froze out of RAM on 2026-10-06), so only the first round ran: n = 1 at 32K, 2 at 4K. Treat as indicative.

configctxtempnprompt tok/sdecode tok/sTTFT sdraft acceptedVRAM peak MiB
Strata setup4K02127349.73.20.649911
Strata setup4K0.72128252.93.20.619911
Strata setup32K01160654.420.00.639911
Strata setup32K0.71161857.919.80.629916
llama.cpp --fit on, MTP off4K0219815.720.5-10648
llama.cpp --fit on, MTP off4K0.7220615.319.7-10648
llama.cpp --fit on, MTP off32K0118314.8175.2-10652
llama.cpp --fit on, MTP off32K0.7119814.4162.3-10652
llama.cpp --fit on, MTP n=34K0212810.735.40.4610381
llama.cpp --fit on, MTP n=332K0.7116910.0189.80.4410381

(The 5070 llama.cpp rows use --fit on, not the tuned -ncmoe sweep, which was not run on this PC. The one MTP 32K temp-0 row, 2.3 tok/s, is a stall, not a measurement: ignore it. Tuning could narrow the gap.)

Summary: who wins

Strata leads every measured row. llama.cpp wins none.

rowStrata vs best llama.cpp (tuned)
3060, prompt tok/s, 4K915 vs 337: 2.7x
3060, prompt tok/s, 32K1050 vs 338: 3.1x (TTFT 30.5 s vs 94.9 s)
3060, decode, 4K / 32K, temp 041.6 vs 9.1 and 41.8 vs 8.8: 4.6x / 4.7x
3060, decode, temp 0.741.9 vs 9.8 (4K), 38.8 vs 8.7 (32K): 4.3x / 4.5x
P100, prompt tok/s, 4K / 32K284 vs 181 and 323 vs 157: 1.6x / 2.1x
P100, decode, 4K / 32K31.1 vs 10.3 and 32.8 vs 9.1: 3.0x / 3.6x
5070 (1 round, --fit llama), prompt 4K / 32K1273 vs 198 (6.4x), 1606 vs 183 (8.8x)
5070 (1 round), decode50-58 vs 14-16: 3.5-4x

Caveats (be fair)

Quality sanity (greedy, 200 tokens; */raw/quality.json)

Same prompts ("short story about a lighthouse keeper", "Python CSV parser with tests") on Strata and llama.cpp (tuned, no MTP): both outputs are coherent and on-task on both boxes; the story and the code answer open the same way (P2003: identical for 517 of ~860 characters, code answer identical for 441 of ~600). They diverge later, as expected from different kernels and IQ3 rounding; no garbage or repetition on either side.