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
12 files

files

README.md9.4 KiB
TRIMMED.md791 B
benchmark.py7.0 KiB
engine-timings.txt807 B
initial-status.json1.5 KiB
model-sha256.txt340 B
needles.json509 B
results.json7.5 KiB
run-iq3_s.sh205 B
strata-iq3_s.json1.4 KiB
summary.json800 B
warmup-request.json224 B

Community benchmark: 2x Tesla P100 PCIe 16GB, Xeon E5-2699 v4

Measured on 2026-10-06 by lech (local machine, headless server). This tests Strata 0.1.39 with ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF IQ3_S, a two-GPU layer split (P100 pair), and a 128,000-token context limit.

Median decode throughput was 31.2 tok/s at 127,736 prompt tokens with a freshly-read prompt; prompt throughput was 531 tok/s. These are synthetic code-explanation requests with greedy decoding and a 256-token output cap. They do not establish general answer quality or performance on other workloads.

Hardware and software

Model and configuration

Model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF (revision not recorded at download time; the local files were verified whole against their own tensor directories by the downloader):

See model-sha256.txt. The IQ3_S pack was prepared by the unmodified installer (setup.sh --family qwen --model IQ3_S --gpus 1,2 --cuda 12 --vision gpu); pack metadata is in /home/lech/Strata-data/packs/iq3_s/conversions.json. MTP draft experts were fetched by the installer into /home/lech/Strata-data/mtp/rt (SHA-256: experts.bin 09398406be61f1f54c93861f449e48b8df0bfccbc9ec9b2b7636775a6ea9244f, dense.bin c724dc0b0822ada5d2977bf5bde821605feabaa64ea2e0045b67ca656329070a, draft_vocab.bin b1e1d3a7a9e4bf862dcd5923ce661fb59bbd07907e594df5cf86a62ac235cb91). The bundled expert profile was used without calibration (SHA-256 8f59b4aa8873209dff11c11e37bcda9529a1335b724a1afeea37bf6388975baf).

The complete measured configuration is strata-iq3_s.json; the launcher is run-iq3_s.sh. Engine startup lines (arena, cache sizing, layer split) are in engine-startup.log.

/home/lech/Strata/.venv/bin/python /home/lech/Strata/serve/server.py \
  --engine strata --config /home/lech/Strata/strata-iq3_s.json --port 8080

Method and reproduction

The server was already loaded and idle (uptime ~1 h at test start; model loading excluded from all timings). Run benchmark.py (the same script as the RTX 5090 community report) against the running server:

.venv/bin/python bench/results/2026-10-06-community-2x-p100/benchmark.py \
  --root /home/lech/Strata --pack /home/lech/Strata-data/packs/iq3_s \
  --url http://127.0.0.1:8080 \
  --out bench/results/2026-10-06-community-2x-p100 \
  --targets 127736 --runs 3

One short warm-up request was excluded. Three runs at 127,736 prompt tokens were executed serially on the same loaded engine. The target is 128,000 minus the 256-token output cap minus the engine's 8-token slack: the server rejects prompt + max_tokens + 8 > context with 400, so a nominal 128,000-token prompt cannot be measured with a 256-token cap on a 128,000 context. All three speed requests processed their entire prompt: zero reused tokens. The GPU expert cache was filled at startup and retained between requests; no engine restart or OS page-cache reset separated them. The 83 GB of GGUF had already been read into the page cache at load time.

The script measures streaming TTFT from immediately before the HTTP request until the first nonempty text delta (reasoning off, so answer text). Total latency ends at stream completion. Both include HTTP and frontend tokenization over loopback. Engine prompt throughput uses freshly read tokens divided by prompt_ms; decode throughput uses engine_generated / decode_ms. The JSON preserves the engine timing values and output text for each run.

Memory was sampled every 5 s during the window (memory-samples.txt): free -b RAM plus nvidia-smi memory.used on both GPUs.

Needle recall: tools/needle_bench.py --lengths 125k --depths 10,50,90 against the same server, output in needles.json and needles.log. The tool's nominal 128k target (131,072 x 0.98 = 128,450 tokens) exceeds this server's 128,000 context and is skipped by the script itself; 125k is the closest accepted length (actual 122,640 prompt tokens).

Results

ConfigurationActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s median and rangeDecode tok/s median and rangeTTFT seconds median and range
127,736-token fresh prompt, 256-token cap127,7360256 (all runs hit the cap, finish=length)3531.4 [526.6–532.1]31.2 [28.2–31.7]350.9 [240.4–352.4]

Per-run detail (engine values; see results.json and engine-timings.txt):

Runprompt_msdecode_msdecode tok/sdrafts acceptedexpert-cache hit rateclient TTFT sclient total s
1240,3679,08428.2145/21084.0%350.9360.0
2242,5888,21731.2156/21489.2%352.4360.6
3240,0388,08831.7150/21495.5%240.4248.4

Run 3's TTFT is ~110 s lower than runs 1-2; the engine's own prompt_ms for run 3 is identical to the others, so the difference is on the client/frontend side (the 128k prompt is tokenized and uploaded before the engine starts reading). Total latency at the client: median 360.0 s [248.4–360.6]; engine duration_s: median 249.5 s [248.2–250.8].

Memory during the benchmark window: RAM peak used 62.3 GiB (min available 63.4 GiB; the 46.8 GiB expert arena lives in host RAM), VRAM peak 15,948 MiB (GPU 1) and 16,002 MiB (GPU 2) — effectively full, as expected with the 700 MiB vision reserve and elastic KV. No paging or OOM failures. Swap was not touched by the engine.

Needle recall at ~122.6k prompt tokens: 3 of 3 found (depths 10/50/90: meadow-copper-504, falcon-quartz-940, willow-cobalt-696 — each answered with the exact code word; request wall times 245 s / 234 s / 371 s).

Correctness and limitations