diff --git a/bench/results/2026-10-01-community-2x-rtx-pro-4500/README.md b/bench/results/2026-10-01-community-2x-rtx-pro-4500/README.md new file mode 100644 index 00000000..587a42b9 --- /dev/null +++ b/bench/results/2026-10-01-community-2x-rtx-pro-4500/README.md @@ -0,0 +1,87 @@ +# Community benchmark: 2x RTX PRO 4500 Blackwell, Swift IQ3_XXS + +Measured 2026-10-01 on a Threadripper workstation with two 32 GB Blackwell workstation cards (SM 12.0), engine 0.1.30. +This is **not** the Flash-Next IQ2_XS pack from the first community entry: it is the Swift 1.5 variant at IQ3_XXS, +split over two GPUs. Numbers are not directly comparable to single-GPU entries. + +## Hardware + +| | | +| --- | --- | +| GPU | 2x NVIDIA RTX PRO 4500 Blackwell, 32 GB GDDR7 each (GB203, 200 W limit), no NVLink | +| PCIe | Gen 5 x16 to each card (read from `nvidia-smi` under load) | +| CPU | AMD Ryzen Threadripper 7960X, 24 cores / 48 threads | +| RAM | 64 GB DDR5 (61 GiB usable) | +| Board | Gigabyte TRX50 AERO D | +| Storage | Model on a 3.7 TB NVMe at PCIe 4.0 x4 (`/mnt/models`). Disk only matters at startup: during generation the server read 23 MiB for 400 tokens (experts are resident in RAM/VRAM, 100% expert cache hits). Cold start was not measured. | + +## Software + +- Ubuntu 26.04.1 LTS, kernel 7.0.0-31-generic +- NVIDIA driver 595.84, CUDA 13.3 toolkit libraries (`/usr/local/cuda-13.3`) +- Strata engine 0.1.30 (release download, not a git checkout; no commit hash) +- Served through `serve/server.py` on port 8080 + +## Model + +- Repo: `ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF` +- Files: `Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf` (39.8 GB) (2-GPU split) and `...-00002-of-00002.gguf` (36.2 GB) +- Pack built by setup as `swift-iq3_xxs`, shipped expert profile, MTP runtime from `Strata-data/mtp/rt` +- Vision is loaded (`--vision`) but no images are sent + +## Launch command (engine, as started by `serve/server.py`) + +``` +engine/strata --serve --pack Strata-data/packs/swift-iq3_xxs \ + --native Swift-...-IQ3_XXS-00001-of-00002.gguf --ple-gguf Swift-...-IQ3_XXS-00001-of-00002.gguf \ + --expert-profile data/expert-profile.bin --expert-cache auto --prefill auto \ + --spec 5 --spec-min-p 0.5 --mtp Strata-data/mtp/rt \ + --max-context 262144 --kv k8v4 --vision --vram-reserve-mib 700 --layer-split 25 +``` + +The full serve settings file is `settings.json` in this folder (paths are ours, no credentials). + +`--spec 5` is not the default (4). We swept N = 3, 4, 5, 6 first (see below) and kept 5. `--layer-split 25` (the +2-GPU split) and `--kv k8v4` are the values already in our running config; we did not tune them here. + +## Method + +`bench.py` in this folder, against the running server: + +- chat completions, `temperature 0`, `max_tokens 256`, thinking left at the server default (the reasoning text counts + toward the 256 tokens) +- prompt = Strata's own source (2-GPU split) and docs, cut to the target length, plus a "explain and propose three refactorings" task +- a random nonce at the start of every prompt, so no prompt is reused from the cache (`reused` is 0 in `runs.json`) +- one warm-up run per length, then 3 measured runs +- speeds are read from the server log line (`prompt ... read in ... ms`, `... generated in ... ms`) + +## Results (median, range of 3 runs) + +| Length | Prompt tokens | Prompt tok/s | Output tok/s | Draft accept | +| --- | ---: | ---: | ---: | ---: | +| 1k | 1,023 | 903 (898-908) | 124.0 (122.1-124.5) | 69% | +| 4k | 4,233 | 1,428 (1,428-1,429) | 115.4 (113.8-119.4) | 70% | +| 32k | 30,793 | 2,454 (2,449-2,463) | 120.0 (110.6-120.7) | 68% | +| 128k | 120,605 | 2,785 (2,784-2,794) | 93.0 (90.2-98.4) | 55% | + +Needle recall (`tools/needle_bench.py`, 32K (2-GPU split) and 128K at depths 10/50/90): **6 of 6 found** (`needles.json`). + +## Draft length sweep (`--spec`) + +Same bench idea, one server run per N, 3 runs per cell, output tok/s median: + +| `--spec` | short code prompt | 4K | 32K | +| ---: | ---: | ---: | ---: | +| 3 | 114.8 | 112.1 | 117.2 | +| 4 | 122.2 | 110.7 | 118.6 | +| 5 | 132.4 | 113.9 | 121.3 | +| 6 | 116.2 | 112.1 | 121.0 | + +The spread between runs is 3-5%, so N = 5 is at most a small gain (about +8% on the short prompt, +2% at 32K). +N = 6 lowers the accepted-draft share (67% against 74-76%). `sweep.py` (2-GPU split) and its raw output are in `spec-sweep/`. + +## Limits + +- Output speed moves several percent with the generated text; one prompt family only (code explanation) +- Single stream only, no concurrency test +- No comparison run against engine 0.1.32 yet diff --git a/bench/results/2026-10-01-community-2x-rtx-pro-4500/bench.py b/bench/results/2026-10-01-community-2x-rtx-pro-4500/bench.py new file mode 100644 index 00000000..ac975040 --- /dev/null +++ b/bench/results/2026-10-01-community-2x-rtx-pro-4500/bench.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python3 +"""Community benchmark: laufender Server (Port 8080), 3 Laeufe je Laenge, 256 Token, greedy, Prompt ohne Cache (Nonce vorn).""" +import json, re, time, random, pathlib, statistics, urllib.request, sys +ROOT = pathlib.Path.home() / "ai/Strata" +OUT = pathlib.Path(sys.argv[1]); OUT.mkdir(parents=True, exist_ok=True) +LOG = ROOT / "strata-swift-iq3_xxs.log" +MODEL = "swift-1.5-iq3_xxs" +files = [] +for d, g in [("docs", "*.md"), ("src", "*.cpp"), ("src", "*.cu"), ("include", "*.hpp"), ("serve", "*.py"), ("tools", "*.py"), ("third_party/llama.cpp/docs", "*.md")]: + files += sorted((ROOT / d).rglob(g)) +corp = "".join(f"\n### {f.name}\n" + f.read_text(errors="ignore") for f in files) +print("Korpus Zeichen:", len(corp), "Dateien:", len(files)) +TASK = "\n\nExplain what this code does and propose three concrete refactorings with code." +def prompt(tok): + return "Here is source code:\n" + corp[: int(tok * 3.2)] + TASK +LENGTHS = {"1k": 1000, "4k": 4000, "32k": 32000, "128k": 125000} +def ask(text): + body = {"model": MODEL, "messages": [{"role": "user", "content": f"[{random.random()}]\n" + text}], "max_tokens": 256, "temperature": 0} + r = urllib.request.Request("http://127.0.0.1:8080/v1/chat/completions", json.dumps(body).encode(), {"Content-Type": "application/json"}) + return json.load(urllib.request.urlopen(r, timeout=1800)) +pat = re.compile(r"prompt (\d+) tokens = (\d+) reused \+ (\d+) read in (\d+) ms \(([\d.]+) tok/s\), (\d+) generated in (\d+) ms \(([\d.]+) tok/s\), drafts accepted (\d+) of (\d+)") +res = [] +ask("Say hi.") +for name, tok in LENGTHS.items(): + text = prompt(tok) + ask(text) # Aufwaermung + for i in range(3): + before = LOG.read_text() + ask(text); time.sleep(1) + m = pat.findall(LOG.read_text()[len(before):]) + if not m: print("kein Logtreffer", name, i); continue + pt, reused, read, pms, ptps, gen, gms, gtps, acc, tot = m[-1] + res.append(dict(length=name, run=i + 1, prompt_tokens=int(pt), reused=int(reused), prompt_tok_s=float(ptps), generated=int(gen), output_tok_s=float(gtps), drafts_accepted=int(acc), drafts_total=int(tot))) + print(res[-1], flush=True) + json.dump(res, open(OUT / "runs.json", "w"), indent=1) +lines = ["| Length | Prompt tokens | Prompt tok/s (median, range) | Output tok/s (median, range) | Draft accept |", "| --- | ---: | ---: | ---: | ---: |"] +for name in LENGTHS: + r = [x for x in res if x["length"] == name] + if not r: continue + p = [x["prompt_tok_s"] for x in r]; o = [x["output_tok_s"] for x in r] + lines.append(f"| {name} | {r[0]['prompt_tokens']} | {statistics.median(p):.0f} ({min(p):.0f}-{max(p):.0f}) | {statistics.median(o):.1f} ({min(o):.1f}-{max(o):.1f}) | {sum(x['drafts_accepted'] for x in r) / max(1, sum(x['drafts_total'] for x in r)):.0%} |") +open(OUT / "table.md", "w").write("\n".join(lines) + "\n"); print("\n".join(lines)) diff --git a/bench/results/2026-10-01-community-2x-rtx-pro-4500/needles-out.txt b/bench/results/2026-10-01-community-2x-rtx-pro-4500/needles-out.txt new file mode 100644 index 00000000..e75a18ee --- /dev/null +++ b/bench/results/2026-10-01-community-2x-rtx-pro-4500/needles-out.txt @@ -0,0 +1,7 @@ + 32k depth 10%: FOUND (30,839 prompt tokens, 13 s) + 32k depth 50%: FOUND (30,839 prompt tokens, 13 s) + 32k depth 90%: FOUND (30,840 prompt tokens, 13 s) + 128k depth 10%: FOUND (124,021 prompt tokens, 45 s) + 128k depth 50%: FOUND (124,019 prompt tokens, 45 s) + 128k depth 90%: FOUND (124,019 prompt tokens, 40 s) +6 of 6 found diff --git a/bench/results/2026-10-01-community-2x-rtx-pro-4500/needles.json b/bench/results/2026-10-01-community-2x-rtx-pro-4500/needles.json new file mode 100644 index 00000000..d8f3db2b --- /dev/null +++ b/bench/results/2026-10-01-community-2x-rtx-pro-4500/needles.json @@ -0,0 +1,56 @@ +[ + { + "length": "32k", + "depth": 10, + "prompt_tokens": 30839, + "seconds": 12.9, + "found": true, + "word": "meadow-copper-504", + "answer": "meadow-copper-504" + }, + { + "length": "32k", + "depth": 50, + "prompt_tokens": 30839, + "seconds": 12.9, + "found": true, + "word": "falcon-quartz-940", + "answer": "falcon-quartz-940" + }, + { + "length": "32k", + "depth": 90, + "prompt_tokens": 30840, + "seconds": 12.9, + "found": true, + "word": "willow-cobalt-696", + "answer": "willow-cobalt-696" + }, + { + "length": "128k", + "depth": 10, + "prompt_tokens": 124021, + "seconds": 44.9, + "found": true, + "word": "falcon-saffron-138", + "answer": "falcon-saffron-138" + }, + { + "length": "128k", + "depth": 50, + "prompt_tokens": 124019, + "seconds": 45.2, + "found": true, + "word": "quartz-tundra-528", + "answer": "quartz-tundra-528" + }, + { + "length": "128k", + "depth": 90, + "prompt_tokens": 124019, + "seconds": 39.8, + "found": true, + "word": "quartz-glacier-192", + "answer": "quartz-glacier-192" + } +] \ No newline at end of file diff --git a/bench/results/2026-10-01-community-2x-rtx-pro-4500/runs.json b/bench/results/2026-10-01-community-2x-rtx-pro-4500/runs.json new file mode 100644 index 00000000..55aabe33 --- /dev/null +++ b/bench/results/2026-10-01-community-2x-rtx-pro-4500/runs.json @@ -0,0 +1,134 @@ +[ + { + "length": "1k", + "run": 1, + "prompt_tokens": 1023, + "reused": 0, + "prompt_tok_s": 907.9, + "generated": 256, + "output_tok_s": 124.0, + "drafts_accepted": 142, + "drafts_total": 204 + }, + { + "length": "1k", + "run": 2, + "prompt_tokens": 1023, + "reused": 0, + "prompt_tok_s": 897.8, + "generated": 256, + "output_tok_s": 122.1, + "drafts_accepted": 137, + "drafts_total": 197 + }, + { + "length": "1k", + "run": 3, + "prompt_tokens": 1023, + "reused": 0, + "prompt_tok_s": 902.6, + "generated": 256, + "output_tok_s": 124.5, + "drafts_accepted": 142, + "drafts_total": 207 + }, + { + "length": "4k", + "run": 1, + "prompt_tokens": 4233, + "reused": 0, + "prompt_tok_s": 1427.9, + "generated": 256, + "output_tok_s": 115.4, + "drafts_accepted": 126, + "drafts_total": 178 + }, + { + "length": "4k", + "run": 2, + "prompt_tokens": 4233, + "reused": 0, + "prompt_tok_s": 1428.8, + "generated": 256, + "output_tok_s": 113.8, + "drafts_accepted": 128, + "drafts_total": 197 + }, + { + "length": "4k", + "run": 3, + "prompt_tokens": 4234, + "reused": 0, + "prompt_tok_s": 1427.9, + "generated": 256, + "output_tok_s": 119.4, + "drafts_accepted": 132, + "drafts_total": 179 + }, + { + "length": "32k", + "run": 1, + "prompt_tokens": 30793, + "reused": 0, + "prompt_tok_s": 2463.0, + "generated": 256, + "output_tok_s": 120.0, + "drafts_accepted": 151, + "drafts_total": 218 + }, + { + "length": "32k", + "run": 2, + "prompt_tokens": 30792, + "reused": 0, + "prompt_tok_s": 2453.9, + "generated": 256, + "output_tok_s": 110.6, + "drafts_accepted": 129, + "drafts_total": 181 + }, + { + "length": "32k", + "run": 3, + "prompt_tokens": 30792, + "reused": 0, + "prompt_tok_s": 2448.7, + "generated": 256, + "output_tok_s": 120.7, + "drafts_accepted": 162, + "drafts_total": 248 + }, + { + "length": "128k", + "run": 1, + "prompt_tokens": 120605, + "reused": 0, + "prompt_tok_s": 2793.5, + "generated": 256, + "output_tok_s": 90.2, + "drafts_accepted": 116, + "drafts_total": 229 + }, + { + "length": "128k", + "run": 2, + "prompt_tokens": 120603, + "reused": 0, + "prompt_tok_s": 2785.1, + "generated": 256, + "output_tok_s": 98.4, + "drafts_accepted": 124, + "drafts_total": 195 + }, + { + "length": "128k", + "run": 3, + "prompt_tokens": 120605, + "reused": 0, + "prompt_tok_s": 2783.9, + "generated": 256, + "output_tok_s": 93.0, + "drafts_accepted": 122, + "drafts_total": 229 + } +] \ No newline at end of file diff --git a/bench/results/2026-10-01-community-2x-rtx-pro-4500/settings.json b/bench/results/2026-10-01-community-2x-rtx-pro-4500/settings.json new file mode 100644 index 00000000..4bc580bb --- /dev/null +++ b/bench/results/2026-10-01-community-2x-rtx-pro-4500/settings.json @@ -0,0 +1,53 @@ +{ + "exe": "/home/qni/ai/Strata/engine/strata", + "args": [ + "--pack", + "/home/qni/ai/Strata-data/packs/swift-iq3_xxs", + "--native", + "/mnt/models/models/gguf/Swift-IQ3_XXS/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/mnt/models/models/gguf/Swift-IQ3_XXS/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--expert-profile", + "/home/qni/ai/Strata/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "5", + "--spec-min-p", + "0.5", + "--mtp", + "/home/qni/ai/Strata-data/mtp/rt", + "--max-context", + "262144", + "--kv", + "k8v4", + "--vision", + "--vram-reserve-mib", + "700" + ], + "cwd": "/home/qni/ai/Strata", + "tokenizer": "/home/qni/ai/Strata-data/packs/swift-iq3_xxs/tokenizer", + "model_name": "swift-1.5-iq3_xxs", + "log": "/home/qni/ai/Strata/strata-swift-iq3_xxs.log", + "lib_dirs": [ + "/usr/local/cuda-13.3/bin", + "/usr/local/cuda-13.3/lib64" + ], + "port": 8080, + "gpu": [ + 0, + 1 + ], + "gpus_asked": true, + "layer_split": "25", + "vision": { + "exe": "/home/qni/ai/Strata/engine/strata-vision", + "mmproj": "/home/qni/ai/Strata-data/models/mmproj-Swift-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/mnt/models/models/gguf/Swift-IQ3_XXS/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "host": "0.0.0.0" +} \ No newline at end of file diff --git a/bench/results/2026-10-01-community-2x-rtx-pro-4500/spec-sweep/sweep-out.txt b/bench/results/2026-10-01-community-2x-rtx-pro-4500/spec-sweep/sweep-out.txt new file mode 100644 index 00000000..f836404e --- /dev/null +++ b/bench/results/2026-10-01-community-2x-rtx-pro-4500/spec-sweep/sweep-out.txt @@ -0,0 +1,50 @@ +3 kurz-code 0 114.8 117/157 +3 kurz-code 1 118.6 118/148 +3 kurz-code 2 114.0 111/152 +3 4k-code 0 110.5 107/142 +3 4k-code 1 112.1 113/150 +3 4k-code 2 115.1 114/141 +3 32k-code 0 113.4 119/145 +3 32k-code 1 122.4 134/161 +3 32k-code 2 117.2 124/151 +5 kurz-code 0 120.9 138/189 +5 kurz-code 1 133.5 160/225 +5 kurz-code 2 132.4 149/191 +5 4k-code 0 113.9 131/197 +5 4k-code 1 114.7 122/164 +5 4k-code 2 109.5 129/215 +5 32k-code 0 123.1 140/165 +5 32k-code 1 120.5 144/191 +5 32k-code 2 121.3 141/177 +6 kurz-code 0 116.2 137/209 +6 kurz-code 1 109.3 117/181 +6 kurz-code 2 125.7 147/211 +6 4k-code 0 112.1 128/200 +6 4k-code 1 107.7 115/175 +6 4k-code 2 115.8 126/166 +6 32k-code 0 121.0 145/191 +6 32k-code 1 117.8 135/168 +6 32k-code 2 122.6 150/198 +4 kurz-code 0 122.2 135/172 +4 kurz-code 1 126.7 145/200 +4 kurz-code 2 121.0 128/170 +4 4k-code 0 106.9 114/171 +4 4k-code 1 110.7 119/173 +4 4k-code 2 121.4 136/175 +4 32k-code 0 118.6 133/164 +4 32k-code 1 115.5 129/169 +4 32k-code 2 119.8 132/158 + +spec prompt median min-max accept + 3 kurz-code 114.8 114-119 76% + 3 4k-code 112.1 110-115 77% + 3 32k-code 117.2 113-122 82% + 5 kurz-code 132.4 121-134 74% + 5 4k-code 113.9 110-115 66% + 5 32k-code 121.3 120-123 80% + 6 kurz-code 116.2 109-126 67% + 6 4k-code 112.1 108-116 68% + 6 32k-code 121.0 118-123 77% + 4 kurz-code 122.2 121-127 75% + 4 4k-code 110.7 107-121 71% + 4 32k-code 118.6 116-120 80% diff --git a/bench/results/2026-10-01-community-2x-rtx-pro-4500/spec-sweep/sweep.json b/bench/results/2026-10-01-community-2x-rtx-pro-4500/spec-sweep/sweep.json new file mode 100644 index 00000000..971be0ea --- /dev/null +++ b/bench/results/2026-10-01-community-2x-rtx-pro-4500/spec-sweep/sweep.json @@ -0,0 +1,362 @@ +[ + { + "spec": 3, + "prompt": "kurz-code", + "run": 0, + "prompt_tokens": 98, + "generated": 256, + "tok_s": 114.8, + "accepted": 117, + "drafted": 157 + }, + { + "spec": 3, + "prompt": "kurz-code", + "run": 1, + "prompt_tokens": 98, + "generated": 256, + "tok_s": 118.6, + "accepted": 118, + "drafted": 148 + }, + { + "spec": 3, + "prompt": "kurz-code", + "run": 2, + "prompt_tokens": 98, + "generated": 256, + "tok_s": 114.0, + "accepted": 111, + "drafted": 152 + }, + { + "spec": 3, + "prompt": "4k-code", + "run": 0, + "prompt_tokens": 3960, + "generated": 256, + "tok_s": 110.5, + "accepted": 107, + "drafted": 142 + }, + { + "spec": 3, + "prompt": "4k-code", + "run": 1, + "prompt_tokens": 3961, + "generated": 256, + "tok_s": 112.1, + "accepted": 113, + "drafted": 150 + }, + { + "spec": 3, + "prompt": "4k-code", + "run": 2, + "prompt_tokens": 3959, + "generated": 256, + "tok_s": 115.1, + "accepted": 114, + "drafted": 141 + }, + { + "spec": 3, + "prompt": "32k-code", + "run": 0, + "prompt_tokens": 29702, + "generated": 256, + "tok_s": 113.4, + "accepted": 119, + "drafted": 145 + }, + { + "spec": 3, + "prompt": "32k-code", + "run": 1, + "prompt_tokens": 29704, + "generated": 256, + "tok_s": 122.4, + "accepted": 134, + "drafted": 161 + }, + { + "spec": 3, + "prompt": "32k-code", + "run": 2, + "prompt_tokens": 29702, + "generated": 256, + "tok_s": 117.2, + "accepted": 124, + "drafted": 151 + }, + { + "spec": 5, + "prompt": "kurz-code", + "run": 0, + "prompt_tokens": 99, + "generated": 256, + "tok_s": 120.9, + "accepted": 138, + "drafted": 189 + }, + { + "spec": 5, + "prompt": "kurz-code", + "run": 1, + "prompt_tokens": 97, + "generated": 256, + "tok_s": 133.5, + "accepted": 160, + "drafted": 225 + }, + { + "spec": 5, + "prompt": "kurz-code", + "run": 2, + "prompt_tokens": 98, + "generated": 256, + "tok_s": 132.4, + "accepted": 149, + "drafted": 191 + }, + { + "spec": 5, + "prompt": "4k-code", + "run": 0, + "prompt_tokens": 3960, + "generated": 256, + "tok_s": 113.9, + "accepted": 131, + "drafted": 197 + }, + { + "spec": 5, + "prompt": "4k-code", + "run": 1, + "prompt_tokens": 3960, + "generated": 256, + "tok_s": 114.7, + "accepted": 122, + "drafted": 164 + }, + { + "spec": 5, + "prompt": "4k-code", + "run": 2, + "prompt_tokens": 3960, + "generated": 256, + "tok_s": 109.5, + "accepted": 129, + "drafted": 215 + }, + { + "spec": 5, + "prompt": "32k-code", + "run": 0, + "prompt_tokens": 29702, + "generated": 256, + "tok_s": 123.1, + "accepted": 140, + "drafted": 165 + }, + { + "spec": 5, + "prompt": "32k-code", + "run": 1, + "prompt_tokens": 29704, + "generated": 256, + "tok_s": 120.5, + "accepted": 144, + "drafted": 191 + }, + { + "spec": 5, + "prompt": "32k-code", + "run": 2, + "prompt_tokens": 29701, + "generated": 256, + "tok_s": 121.3, + "accepted": 141, + "drafted": 177 + }, + { + "spec": 6, + "prompt": "kurz-code", + "run": 0, + "prompt_tokens": 98, + "generated": 256, + "tok_s": 116.2, + "accepted": 137, + "drafted": 209 + }, + { + "spec": 6, + "prompt": "kurz-code", + "run": 1, + "prompt_tokens": 98, + "generated": 256, + "tok_s": 109.3, + "accepted": 117, + "drafted": 181 + }, + { + "spec": 6, + "prompt": "kurz-code", + "run": 2, + "prompt_tokens": 98, + "generated": 256, + "tok_s": 125.7, + "accepted": 147, + "drafted": 211 + }, + { + "spec": 6, + "prompt": "4k-code", + "run": 0, + "prompt_tokens": 3959, + "generated": 256, + "tok_s": 112.1, + "accepted": 128, + "drafted": 200 + }, + { + "spec": 6, + "prompt": "4k-code", + "run": 1, + "prompt_tokens": 3960, + "generated": 256, + "tok_s": 107.7, + "accepted": 115, + "drafted": 175 + }, + { + "spec": 6, + "prompt": "4k-code", + "run": 2, + "prompt_tokens": 3960, + "generated": 256, + "tok_s": 115.8, + "accepted": 126, + "drafted": 166 + }, + { + "spec": 6, + "prompt": "32k-code", + "run": 0, + "prompt_tokens": 29702, + "generated": 256, + "tok_s": 121.0, + "accepted": 145, + "drafted": 191 + }, + { + "spec": 6, + "prompt": "32k-code", + "run": 1, + "prompt_tokens": 29701, + "generated": 256, + "tok_s": 117.8, + "accepted": 135, + "drafted": 168 + }, + { + "spec": 6, + "prompt": "32k-code", + "run": 2, + "prompt_tokens": 29701, + "generated": 256, + "tok_s": 122.6, + "accepted": 150, + "drafted": 198 + }, + { + "spec": 4, + "prompt": "kurz-code", + "run": 0, + "prompt_tokens": 98, + "generated": 256, + "tok_s": 122.2, + "accepted": 135, + "drafted": 172 + }, + { + "spec": 4, + "prompt": "kurz-code", + "run": 1, + "prompt_tokens": 98, + "generated": 256, + "tok_s": 126.7, + "accepted": 145, + "drafted": 200 + }, + { + "spec": 4, + "prompt": "kurz-code", + "run": 2, + "prompt_tokens": 100, + "generated": 256, + "tok_s": 121.0, + "accepted": 128, + "drafted": 170 + }, + { + "spec": 4, + "prompt": "4k-code", + "run": 0, + "prompt_tokens": 3960, + "generated": 256, + "tok_s": 106.9, + "accepted": 114, + "drafted": 171 + }, + { + "spec": 4, + "prompt": "4k-code", + "run": 1, + "prompt_tokens": 3960, + "generated": 256, + "tok_s": 110.7, + "accepted": 119, + "drafted": 173 + }, + { + "spec": 4, + "prompt": "4k-code", + "run": 2, + "prompt_tokens": 3960, + "generated": 256, + "tok_s": 121.4, + "accepted": 136, + "drafted": 175 + }, + { + "spec": 4, + "prompt": "32k-code", + "run": 0, + "prompt_tokens": 29702, + "generated": 256, + "tok_s": 118.6, + "accepted": 133, + "drafted": 164 + }, + { + "spec": 4, + "prompt": "32k-code", + "run": 1, + "prompt_tokens": 29702, + "generated": 256, + "tok_s": 115.5, + "accepted": 129, + "drafted": 169 + }, + { + "spec": 4, + "prompt": "32k-code", + "run": 2, + "prompt_tokens": 29702, + "generated": 256, + "tok_s": 119.8, + "accepted": 132, + "drafted": 158 + } +] \ No newline at end of file diff --git a/bench/results/2026-10-01-community-2x-rtx-pro-4500/spec-sweep/sweep.py b/bench/results/2026-10-01-community-2x-rtx-pro-4500/spec-sweep/sweep.py new file mode 100644 index 00000000..2fbfb462 --- /dev/null +++ b/bench/results/2026-10-01-community-2x-rtx-pro-4500/spec-sweep/sweep.py @@ -0,0 +1,82 @@ +#!/usr/bin/env python3 +"""Spec-Sweep fuer Strata: pro N den Server neu starten, 3 Laeufe je Prompt, 256 Token, greedy. +Liest tok/s aus dem Serverlog ("generated in X ms").""" +import json, os, re, signal, subprocess, sys, time, urllib.request, random, pathlib, statistics +ROOT = pathlib.Path.home() / "ai/Strata" +OUT = pathlib.Path.home() / "messungen/2026-10-01-strata-spec-sweep" +BASE = json.load(open(ROOT / "strata-swift-iq3_xxs.json.bak-20261001-vorsweep")) +NS = [int(x) for x in sys.argv[1].split(",")] +RUNS = 3 +def corpus(tokens): + files = sorted((ROOT/"src").rglob("*.cpp")) + sorted((ROOT/"serve").glob("*.py")) + sorted((ROOT/"docs").glob("*.md")) + txt = "" + for f in files: + txt += f"\n### {f.name}\n" + f.read_text(errors="ignore") + if len(txt) > tokens * 3.2: break + return txt[: int(tokens * 3.2)] +PROMPTS = { + "kurz-code": ("Write a Python class LRUCache with get/put, type hints and unit tests using pytest.", 0), + "4k-code": ("Here is source code:\n" + corpus(4000) + "\n\nExplain what this code does and propose three concrete refactorings with code.", 4000), + "32k-code": ("Here is source code:\n" + corpus(32000) + "\n\nExplain what this code does and propose three concrete refactorings with code.", 32000), +} +def stop(): + me = os.getpid() + for sig in (signal.SIGINT, signal.SIGTERM, signal.SIGKILL): + for d in os.listdir("/proc"): + if d.isdigit() and int(d) != me: + try: cmd = open(f"/proc/{d}/cmdline").read().replace(chr(0), " ") + except OSError: continue + if "serve/server.py --engine strata" in cmd or "engine/strata" in cmd and "python3 sweep" not in cmd: + try: os.kill(int(d), sig) + except OSError: pass + time.sleep(8) + for _ in range(60): + port = subprocess.run("ss -ltn | grep -q ':8080 '", shell=True).returncode == 0 + mem = max(int(x) for x in subprocess.run("nvidia-smi --query-gpu=memory.used --format=csv,noheader,nounits", shell=True, capture_output=True, text=True).stdout.split()) + if not port and mem < 1000: return + time.sleep(3) + raise SystemExit("Port/GPU wurde nicht frei") +def start(n): + cfg = json.loads(json.dumps(BASE)) + a = cfg["args"]; a[a.index("--spec")+1] = str(n) + cfg["log"] = str(OUT / f"server-spec{n}.log") + p = OUT / f"cfg-spec{n}.json"; json.dump(cfg, open(p, "w"), indent=1) + proc = subprocess.Popen(["setsid", str(ROOT/".venv/bin/python"), str(ROOT/"serve/server.py"), "--engine", "strata", "--config", str(p), "--port", "8080", "--open"], + cwd=ROOT, stdout=open(OUT/f"stdout-spec{n}.txt","w"), stderr=subprocess.STDOUT) + for _ in range(300): + time.sleep(3) + if proc.poll() is not None: raise SystemExit(f"Server fuer spec={n} sofort beendet, siehe stdout-spec{n}.txt") + try: + urllib.request.urlopen("http://127.0.0.1:8080/v1/models", timeout=3).read(); return cfg["log"] + except Exception: pass + raise SystemExit(f"Server fuer spec={n} nicht hochgekommen") +def ask(text, nonce): + body = {"model": BASE["model_name"], "messages": [{"role":"user","content": f"[{nonce}]\n"+text}], + "max_tokens": 256, "temperature": 0, "stream": False} + r = urllib.request.Request("http://127.0.0.1:8080/v1/chat/completions", json.dumps(body).encode(), {"Content-Type":"application/json"}) + return json.load(urllib.request.urlopen(r, timeout=900)) +res = [] +for n in NS: + stop(); log = start(n) + for name, (text, _) in PROMPTS.items(): + ask(text, f"warm{n}{name}{random.random()}") # Aufwaermung, zaehlt nicht + for i in range(RUNS): + before = open(log).read() + ask(text, f"r{n}{name}{i}{random.random()}") + time.sleep(1) + new = open(log).read()[len(before):] + m = re.findall(r"prompt (\d+) tokens = .*?, (\d+) generated in (\d+) ms \(([\d.]+) tok/s\), drafts accepted (\d+) of (\d+)", new) + if not m: print("kein Logtreffer", n, name, i); continue + pt, gen, ms, tps, acc, tot = m[-1] + res.append(dict(spec=n, prompt=name, run=i, prompt_tokens=int(pt), generated=int(gen), tok_s=float(tps), accepted=int(acc), drafted=int(tot))) + print(n, name, i, tps, f"{acc}/{tot}", flush=True) + json.dump(res, open(OUT/"sweep.json","w"), indent=1) +print("\nspec prompt median min-max accept") +for n in NS: + for name in PROMPTS: + r = [x for x in res if x["spec"]==n and x["prompt"]==name] + if r: + t = [x["tok_s"] for x in r] + print(f"{n:>4} {name:<10} {statistics.median(t):7.1f} {min(t):.0f}-{max(t):.0f} {sum(x['accepted'] for x in r)/max(1,sum(x['drafted'] for x in r)):.0%}") + +stop() diff --git a/bench/results/2026-10-01-community-2x-rtx-pro-4500/table.md b/bench/results/2026-10-01-community-2x-rtx-pro-4500/table.md new file mode 100644 index 00000000..b6c5cd58 --- /dev/null +++ b/bench/results/2026-10-01-community-2x-rtx-pro-4500/table.md @@ -0,0 +1,6 @@ +| Length | Prompt tokens | Prompt tok/s (median, range) | Output tok/s (median, range) | Draft accept | +| --- | ---: | ---: | ---: | ---: | +| 1k | 1023 | 903 (898-908) | 124.0 (122.1-124.5) | 69% | +| 4k | 4233 | 1428 (1428-1429) | 115.4 (113.8-119.4) | 70% | +| 32k | 30793 | 2454 (2449-2463) | 120.0 (110.6-120.7) | 68% | +| 128k | 120605 | 2785 (2784-2794) | 93.0 (90.2-98.4) | 55% | diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/BUILD.json b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/BUILD.json new file mode 100644 index 00000000..48ce61d9 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/BUILD.json @@ -0,0 +1,14 @@ +{ + "source": "local", + "version": "0.1.36", + "archs": [ + 120 + ], + "vision": "gpu", + "cuda_dirs": [ + "/usr/local/cuda-13.4/bin", + "/usr/local/cuda-13.4/lib64" + ], + "src": "ee3a0b61ba77948a", + "vision_src": "4d89409b228a1daa" +} \ No newline at end of file diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/README.md b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/README.md new file mode 100644 index 00000000..5ca25018 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/README.md @@ -0,0 +1,93 @@ +# Community benchmark on 2x RTX PRO 4500 Blackwell, Swift IQ3_XXS, engine 0.1.36 + +Measured on 2026-10-02 by qni-live. This is a follow-up to the engine 0.1.30 entry in +`2026-10-01-community-2x-rtx-pro-4500/` (PR #418): same machine, same model files, same prompts, same script. +Single stream only; one prompt family only (code explanation). Limits are listed at the end. + +## Hardware and software + +- GPU: 2x NVIDIA RTX PRO 4500 Blackwell, 32 GB GDDR7 each (GB203, SM 12.0, 200 W limit), no NVLink, PCIe Gen 5 x16 to each +- CPU: AMD Ryzen Threadripper 7960X, 24 cores / 48 threads. RAM: 64 GB DDR5 (61 GiB usable) +- Storage: model on a 3.7 TB NVMe at PCIe 4.0 x4 (`/mnt/models`); a copy on a PCIe 5.0 x4 NVMe was tested for cold start only (see below) +- OS: Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic. Driver 595.91.07. CUDA 13.4 toolkit (`/usr/local/cuda-13.4`) +- Strata: tag v0.1.36, commit `36fa455e579b23a9c909c2c6fe1bddd9e51cb8ca`, **source build** (setup found no ready-made engine for v0.1.36 and compiled for SM 120; `engine/BUILD.json` in this folder) +- Background workloads: none on the GPUs. No power limit changes. + +**Not only the engine changed since the 0.1.30 entry.** Between the two measurements the PC got an Ubuntu update with a +new NVIDIA driver (595.84 -> 595.91.07), a new kernel (7.0.0-31 -> -38) and CUDA 13.4 next to 13.3. I did not measure +0.1.30 again on the new driver, so the table below is "0.1.30 on the old stack" against "0.1.36 on the new stack". + +## Model and configuration + +- Model: `ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF`, quantization IQ3_XXS, files `Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-0000{1,2}-of-00002.gguf` (39.8 GB + 36.2 GB), unchanged since the 0.1.30 entry +- Vision encoder loaded (`--vision`), no images sent. Pack built by setup (`swift-iq3_xxs`), shipped expert profile, MTP runtime from `Strata-data/mtp/rt` +- Context 262144, KV `k8v4`, expert cache auto, prefill auto, `--spec 5` (setup writes 4), `--spec-min-p 0.5`, layer split 25 over GPUs 0 and 1, `--vram-reserve-mib 700` +- Reasoning at the server default, sampling `temperature 0`, no calibration, no experimental speed projection, no `STRATA_*` environment overrides + +Config as run: `strata-swift-iq3_xxs.json` (this folder). Start: `serve/server.py --engine strata --config strata-swift-iq3_xxs.json --port 8080`. + +## Method + +`bench.py` in this folder, identical to the 0.1.30 entry except for the log path: + +- chat completions, `temperature 0`, `max_tokens 256`; the reasoning text counts toward the 256 tokens +- prompt = Strata's own source and docs (the 0.1.30 tree, the same text as before), cut to the target length, plus an "explain and propose three refactorings" task +- a random nonce at the start of every prompt, so nothing is reused from the cache (`reused` is 0 in `runs.json`) +- one warm-up run per length, then 3 measured runs; speeds are read from the server log line +- needle recall with `tools/needle_bench.py --lengths 32k,128k --depths 10,50,90` + +## Results (3 measured runs per length after one warm-up) + +### Engine 0.1.36 (this entry) + +| Context | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median (range) | Decode tok/s median (range) | Time to first token, s median (range) | Draft accept | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | ---: | +| 1k | 1,023 | 0 | 256 | 3 | 1,862 (1,842-1,869) | 132.3 (126.2-144.8) | 0.5 (0.5-0.6) | 77% | +| 4k | 4,233 | 0 | 256 | 3 | 2,960 (2,950-2,964) | 127.0 (122.3-128.5) | 1.4 (1.4-1.4) | 71% | +| 32k | 30,792 | 0 | 256 | 3 | 5,065 (5,060-5,066) | 130.0 (127.2-134.0) | 6.1 (6.1-6.1) | 73% | +| 128k | 120,605 | 0 | 256 | 3 | 5,762 (5,752-5,780) | 104.8 (103.4-108.4) | 20.9 (20.9-21.0) | 60% | + +Time to first token is derived as actual prompt tokens / prompt tok/s (the prompt read time; no separate timer). + +### Engine 0.1.30 against 0.1.36 + +Same machine, model files, prompts and script. 0.1.30 was measured on 2026-10-01 with the old driver and CUDA 13.3, 0.1.36 on 2026-10-02 with the new driver and CUDA 13.4 (see the note above). + +| Context | Prompt tok/s 0.1.30 | Prompt tok/s 0.1.36 | Change | Decode tok/s 0.1.30 | Decode tok/s 0.1.36 | Change | +| --- | ---: | ---: | ---: | ---: | ---: | ---: | +| 1k | 903 | 1,862 | +106% | 124.0 | 132.3 | +7% | +| 4k | 1,428 | 2,960 | +107% | 115.4 | 127.0 | +10% | +| 32k | 2,454 | 5,065 | +106% | 120.0 | 130.0 | +8% | +| 128k | 2,785 | 5,762 | +107% | 93.0 | 104.8 | +13% | + +Prompt reading is about 2x faster. Output speed is 7-13% higher, which is above but close to the 3-5% spread between server +runs we saw on 0.1.30, so I would not call the output gain certain. An earlier run of the same script right after +the first start of 0.1.36 gave the same prompt speeds (1,856 / 2,968 / 5,068 / 5,763) and output speeds of +129.5 / 120.1 / 124.6 / 107.4. + +**Needle recall: 6 of 6 found** (32K and 128K at depths 10/50/90, `needles.json`). Each needle prompt took 6-7 s at +32K and 19-22 s at 128K; on 0.1.30 the same test took 13 s and 40-45 s. (The needle prompts are not the same +length: 31.5K / 122.0K tokens now, 30.8K / 124.0K then, because the needle tool builds them itself; timings are indicative only.) + +### Cold start: model disk speed does not matter here + +Time from starting the server to the first successful 1-token chat answer. Before each start the page cache for the +model files, pack, MTP files and engine was dropped (`posix_fadvise(DONTNEED)`; `free` showed 0 buff/cache). Two +runs per disk, alternating: + +| Model files on | Run 1 | Run 2 | "experts loaded 39.97 GiB at" | +| --- | ---: | ---: | --- | +| PCIe 4.0 x4 NVMe (`/mnt/models`) | 24.5 s | 23.9 s | 6.40 / 6.41 GiB/s | +| PCIe 5.0 x4 NVMe (`/home`) | 23.9 s | 23.9 s | 6.36 / 6.34 GiB/s | + +Raw read with `dd iflag=direct bs=16M count=512` (8 GiB, one file): 4.4 GB/s on the PCIe 4 disk, 7.0 GB/s on the +PCIe 5 disk. So the faster disk is faster, but the start is not limited by the disk: loading the experts into RAM runs +at the same ~6.4 GiB/s on both. Raw outputs: `kaltstart/`. + +## Failures and untested + +- No failures or skipped cases in the runs above. +- Issue #420 (`mmq.cuh:1555 J_best=0` on 0.1.32): not reproduced on 0.1.36. Chat prompts of 55, 58, 61, 64, 67, 70, 73, 74, 76 and 101+ tokens ran without an abort and the log has no `J_best` line. I did not run the original request text. No FP16-fallback line appeared either. +- Single stream only; no concurrency, no images, no `STRATA_PREFILL_MMQ=0` comparison. +- The 0.1.30 numbers were not repeated on the new driver (see above). +- Output speed moves several percent with the generated text. diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/bench-out.txt b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/bench-out.txt new file mode 100644 index 00000000..1e913490 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/bench-out.txt @@ -0,0 +1,19 @@ +Korpus Zeichen: 4405976 Dateien: 325 +{'length': '1k', 'run': 1, 'prompt_tokens': 1024, 'reused': 0, 'prompt_tok_s': 1869.0, 'generated': 256, 'output_tok_s': 126.2, 'drafts_accepted': 140, 'drafts_total': 197} +{'length': '1k', 'run': 2, 'prompt_tokens': 1023, 'reused': 0, 'prompt_tok_s': 1842.2, 'generated': 256, 'output_tok_s': 132.3, 'drafts_accepted': 141, 'drafts_total': 183} +{'length': '1k', 'run': 3, 'prompt_tokens': 1023, 'reused': 0, 'prompt_tok_s': 1862.2, 'generated': 256, 'output_tok_s': 144.8, 'drafts_accepted': 156, 'drafts_total': 186} +{'length': '4k', 'run': 1, 'prompt_tokens': 4233, 'reused': 0, 'prompt_tok_s': 2964.2, 'generated': 256, 'output_tok_s': 127.0, 'drafts_accepted': 140, 'drafts_total': 198} +{'length': '4k', 'run': 2, 'prompt_tokens': 4233, 'reused': 0, 'prompt_tok_s': 2950.0, 'generated': 256, 'output_tok_s': 128.5, 'drafts_accepted': 142, 'drafts_total': 194} +{'length': '4k', 'run': 3, 'prompt_tokens': 4233, 'reused': 0, 'prompt_tok_s': 2959.5, 'generated': 256, 'output_tok_s': 122.3, 'drafts_accepted': 131, 'drafts_total': 186} +{'length': '32k', 'run': 1, 'prompt_tokens': 30792, 'reused': 0, 'prompt_tok_s': 5060.5, 'generated': 256, 'output_tok_s': 127.2, 'drafts_accepted': 147, 'drafts_total': 203} +{'length': '32k', 'run': 2, 'prompt_tokens': 30793, 'reused': 0, 'prompt_tok_s': 5064.7, 'generated': 256, 'output_tok_s': 130.0, 'drafts_accepted': 157, 'drafts_total': 220} +{'length': '32k', 'run': 3, 'prompt_tokens': 30792, 'reused': 0, 'prompt_tok_s': 5065.6, 'generated': 256, 'output_tok_s': 134.0, 'drafts_accepted': 155, 'drafts_total': 206} +{'length': '128k', 'run': 1, 'prompt_tokens': 120605, 'reused': 0, 'prompt_tok_s': 5779.6, 'generated': 256, 'output_tok_s': 104.8, 'drafts_accepted': 121, 'drafts_total': 214} +{'length': '128k', 'run': 2, 'prompt_tokens': 120605, 'reused': 0, 'prompt_tok_s': 5761.9, 'generated': 256, 'output_tok_s': 108.4, 'drafts_accepted': 120, 'drafts_total': 181} +{'length': '128k', 'run': 3, 'prompt_tokens': 120605, 'reused': 0, 'prompt_tok_s': 5751.8, 'generated': 256, 'output_tok_s': 103.4, 'drafts_accepted': 118, 'drafts_total': 207} +| Length | Prompt tokens | Prompt tok/s (median, range) | Output tok/s (median, range) | Draft accept | +| --- | ---: | ---: | ---: | ---: | +| 1k | 1024 | 1862 (1842-1869) | 132.3 (126.2-144.8) | 77% | +| 4k | 4233 | 2960 (2950-2964) | 127.0 (122.3-128.5) | 71% | +| 32k | 30792 | 5065 (5060-5066) | 130.0 (127.2-134.0) | 73% | +| 128k | 120605 | 5762 (5752-5780) | 104.8 (103.4-108.4) | 60% | diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/bench.py b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/bench.py new file mode 100644 index 00000000..2e36965e --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/bench.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python3 +"""Community benchmark: laufender Server (Port 8080), 3 Laeufe je Laenge, 256 Token, greedy, Prompt ohne Cache (Nonce vorn).""" +import json, re, time, random, pathlib, statistics, urllib.request, sys +ROOT = pathlib.Path.home() / "ai/Strata" +OUT = pathlib.Path(sys.argv[1]); OUT.mkdir(parents=True, exist_ok=True) +LOG = pathlib.Path.home() / "ai/Strata-0.1.36/strata-swift-iq3_xxs.log" +MODEL = "swift-1.5-iq3_xxs" +files = [] +for d, g in [("docs", "*.md"), ("src", "*.cpp"), ("src", "*.cu"), ("include", "*.hpp"), ("serve", "*.py"), ("tools", "*.py"), ("third_party/llama.cpp/docs", "*.md")]: + files += sorted((ROOT / d).rglob(g)) +corp = "".join(f"\n### {f.name}\n" + f.read_text(errors="ignore") for f in files) +print("Korpus Zeichen:", len(corp), "Dateien:", len(files)) +TASK = "\n\nExplain what this code does and propose three concrete refactorings with code." +def prompt(tok): + return "Here is source code:\n" + corp[: int(tok * 3.2)] + TASK +LENGTHS = {"1k": 1000, "4k": 4000, "32k": 32000, "128k": 125000} +def ask(text): + body = {"model": MODEL, "messages": [{"role": "user", "content": f"[{random.random()}]\n" + text}], "max_tokens": 256, "temperature": 0} + r = urllib.request.Request("http://127.0.0.1:8080/v1/chat/completions", json.dumps(body).encode(), {"Content-Type": "application/json"}) + return json.load(urllib.request.urlopen(r, timeout=1800)) +pat = re.compile(r"prompt (\d+) tokens = (\d+) reused \+ (\d+) read in (\d+) ms \(([\d.]+) tok/s\), (\d+) generated in (\d+) ms \(([\d.]+) tok/s\), drafts accepted (\d+) of (\d+)") +res = [] +ask("Say hi.") +for name, tok in LENGTHS.items(): + text = prompt(tok) + ask(text) # Aufwaermung + for i in range(3): + before = LOG.read_text() + ask(text); time.sleep(1) + m = pat.findall(LOG.read_text()[len(before):]) + if not m: print("kein Logtreffer", name, i); continue + pt, reused, read, pms, ptps, gen, gms, gtps, acc, tot = m[-1] + res.append(dict(length=name, run=i + 1, prompt_tokens=int(pt), reused=int(reused), prompt_tok_s=float(ptps), generated=int(gen), output_tok_s=float(gtps), drafts_accepted=int(acc), drafts_total=int(tot))) + print(res[-1], flush=True) + json.dump(res, open(OUT / "runs.json", "w"), indent=1) +lines = ["| Length | Prompt tokens | Prompt tok/s (median, range) | Output tok/s (median, range) | Draft accept |", "| --- | ---: | ---: | ---: | ---: |"] +for name in LENGTHS: + r = [x for x in res if x["length"] == name] + if not r: continue + p = [x["prompt_tok_s"] for x in r]; o = [x["output_tok_s"] for x in r] + lines.append(f"| {name} | {r[0]['prompt_tokens']} | {statistics.median(p):.0f} ({min(p):.0f}-{max(p):.0f}) | {statistics.median(o):.1f} ({min(o):.1f}-{max(o):.1f}) | {sum(x['drafts_accepted'] for x in r) / max(1, sum(x['drafts_total'] for x in r)):.0%} |") +open(OUT / "table.md", "w").write("\n".join(lines) + "\n"); print("\n".join(lines)) diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/kalt-out.txt b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/kalt-out.txt new file mode 100644 index 00000000..4b91ea35 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/kalt-out.txt @@ -0,0 +1,32 @@ +cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead +3 +=== Rohlesetest (direkt, 8 GiB, ohne Cache) === +/mnt/models/models/gguf/Swift-IQ3_XXS/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 1.97316 s, 4.4 GB/s +/home/qni/models-gguf/Swift-IQ3_XXS/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf +8589934592 bytes (8.6 GB, 8.0 GiB) copied, 1.22488 s, 7.0 GB/s +evicted 58 +Speicher: 61 3 57 0 0 57 +START mnt lauf1: 24.482974565 s bis erste Antwort +[strata] experts loaded: 39.97 GiB at 6.40 GiB/s (19 s so far) +[strata] filling the GPU's expert cache (12800 experts, 18.62 GiB of VRAM) ... +[strata] almost ready ... +evicted 58 +Speicher: 61 3 57 0 0 57 +START gen5 lauf1: 23.893165572 s bis erste Antwort +[strata] experts loaded: 39.97 GiB at 6.36 GiB/s (20 s so far) +[strata] filling the GPU's expert cache (12800 experts, 18.62 GiB of VRAM) ... +[strata] almost ready ... +evicted 58 +Speicher: 61 3 57 0 0 57 +START mnt lauf2: 23.926122935 s bis erste Antwort +[strata] experts loaded: 39.97 GiB at 6.41 GiB/s (20 s so far) +[strata] filling the GPU's expert cache (12800 experts, 18.62 GiB of VRAM) ... +[strata] almost ready ... +evicted 58 +Speicher: 61 3 57 0 0 57 +START gen5 lauf2: 23.910973191 s bis erste Antwort +[strata] experts loaded: 39.97 GiB at 6.34 GiB/s (20 s so far) +[strata] filling the GPU's expert cache (12800 experts, 18.62 GiB of VRAM) ... +[strata] almost ready ... +=== FERTIG, Dienst laeuft zuletzt auf gen5 === diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/kalt.sh b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/kalt.sh new file mode 100644 index 00000000..a1a6788e --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/kalt.sh @@ -0,0 +1,47 @@ +#!/bin/bash +# Kaltstart-Vergleich Strata 0.1.36: /mnt/models (Gen4) gegen /home (Gen5). Stellt am Ende den Dienst wieder her. +D=~/messungen/2026-10-02-strata-0.1.36/kaltstart; mkdir -p $D +S=~/ai/Strata-0.1.36 +cd $S +cp -n strata-swift-iq3_xxs.json strata-swift-iq3_xxs-mnt.json +sed 's#/mnt/models/models/gguf/Swift-IQ3_XXS/#/home/qni/models-gguf/Swift-IQ3_XXS/#g' strata-swift-iq3_xxs-mnt.json > strata-swift-iq3_xxs-gen5.json +for c in mnt gen5; do + printf '#!/bin/sh\ncd "%s"\nexec "%s/.venv/bin/python" "%s/serve/server.py" "--engine" "strata" "--config" "%s/strata-swift-iq3_xxs-%s.json" "--port" "8080" "--open"\n' $S $S $S $S $c > run-$c.sh +done +grep -c "models-gguf" strata-swift-iq3_xxs-gen5.json +evict() { python3 - <<'PY' +import os,glob +fs=glob.glob('/mnt/models/models/gguf/Swift-IQ3_XXS/*.gguf')+glob.glob('/home/qni/models-gguf/Swift-IQ3_XXS/*.gguf')+glob.glob('/home/qni/ai/Strata-data/packs/swift-iq3_xxs/**/*',recursive=True)+glob.glob('/home/qni/ai/Strata-data/mtp/**/*',recursive=True)+glob.glob('/home/qni/ai/Strata-data/models/*.gguf')+glob.glob('/home/qni/ai/Strata-0.1.36/engine/*') +n=0 +for f in fs: + if os.path.isfile(f): + fd=os.open(f,os.O_RDONLY); os.posix_fadvise(fd,0,0,os.POSIX_FADV_DONTNEED); os.close(fd); n+=1 +print("evicted",n) +PY +} +stopall() { + tmux kill-session -t strata 2>/dev/null + pkill -f "[s]erve/server.py" ; pkill -f "[e]ngine/strata"; sleep 3; pkill -9 -f "[s]erve/server.py"; pkill -9 -f "[e]ngine/strata" + for i in $(seq 1 30); do u=$(nvidia-smi --query-gpu=memory.used --format=csv,noheader,nounits | sort -n | tail -1); p=$(ss -ltn | grep -c ":8080 "); [ "$u" -lt 1000 ] && [ "$p" = 0 ] && return 0; sleep 2; done; echo "WARNUNG GPU $u MiB Port $p" +} +startup() { # $1=mnt|gen5 $2=Nr + stopall; sync; evict; free -g | sed -n 2p + t0=$(date +%s.%N) + tmux new-session -d -s strata -n serve "sh $S/run-$1.sh" + while true; do + code=$(curl -s -m 3 -o /dev/null -w '%{http_code}' -H 'Content-Type: application/json' -d '{"model":"swift-1.5-iq3_xxs","messages":[{"role":"user","content":"Say hi."}],"max_tokens":1,"temperature":0}' localhost:8080/v1/chat/completions) + [ "$code" = 200 ] && break + [ $(echo "$(date +%s.%N)-$t0 > 400" | bc) = 1 ] && { echo "ZEITUEBERSCHREITUNG"; break; } + sleep 0.5 + done + t1=$(date +%s.%N); echo "START $1 lauf$2: $(echo "$t1-$t0" | bc) s bis erste Antwort" + tmux capture-pane -t strata:serve -p -S -200 > $D/pane-$1-$2.txt + grep -E "experts loaded|filling|ready" $D/pane-$1-$2.txt | head -3 +} +trap 'echo "TRAP: stelle Dienst her"; stopall; tmux new-session -d -s strata -n serve "sh $S/run-gen5.sh"' ERR +echo "=== Rohlesetest (direkt, 8 GiB, ohne Cache) ===" +for f in /mnt/models/models/gguf/Swift-IQ3_XXS/*00002-of-00002.gguf /home/qni/models-gguf/Swift-IQ3_XXS/*00002-of-00002.gguf; do + echo "$f"; dd if="$f" of=/dev/null bs=16M count=512 iflag=direct 2>&1 | tail -n 1 +done +for n in 1 2; do startup mnt $n; startup gen5 $n; done +echo "=== FERTIG, Dienst laeuft zuletzt auf gen5 ===" diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-gen5-1.txt b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-gen5-1.txt new file mode 100644 index 00000000..9e823a84 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-gen5-1.txt @@ -0,0 +1,25 @@ +loading the vision encoder ... +loading the model (the first start takes a minute or two) ... +[strata] layer split across GPUs [0, 1] (25) +[strata] starting the engine: reading the model's weights ... +[strata] loading the experts into RAM (about 40 GB) and locking part of them for + the GPU. + YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is no +rmal. + Please wait and don't close this window; the browser opens when it is r +eady. +[strata] experts loaded: 39.97 GiB at 6.36 GiB/s (20 s so far) +[strata] filling the GPU's expert cache (12800 experts, 18.62 GiB of VRAM) ... +[strata] almost ready ... +ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/m +essages, context 262144 tokens, images on) + open http://127.0.0.1:8080/ in a browser to chat; close this window to st +op the model + from other devices: http://192.168.x.x:8080/ (API: http://192.168.1 +78.114:8080/v1) + WARNING: no API key - anyone on your network can use this model. Add "api +_key": "..." to the config (clients send it as their API key; the web page asks +for it) +[strata] done: 1 tokens in 0 s (13400.3 tok/s) (length, cancel=False), expert ca +che 100.0% hit + diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-gen5-2.txt b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-gen5-2.txt new file mode 100644 index 00000000..a904f51f --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-gen5-2.txt @@ -0,0 +1,25 @@ +loading the vision encoder ... +loading the model (the first start takes a minute or two) ... +[strata] layer split across GPUs [0, 1] (25) +[strata] starting the engine: reading the model's weights ... +[strata] loading the experts into RAM (about 40 GB) and locking part of them for + the GPU. + YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is no +rmal. + Please wait and don't close this window; the browser opens when it is r +eady. +[strata] experts loaded: 39.97 GiB at 6.34 GiB/s (20 s so far) +[strata] filling the GPU's expert cache (12800 experts, 18.62 GiB of VRAM) ... +[strata] almost ready ... +ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/m +essages, context 262144 tokens, images on) + open http://127.0.0.1:8080/ in a browser to chat; close this window to st +op the model + from other devices: http://192.168.x.x:8080/ (API: http://192.168.1 +78.114:8080/v1) + WARNING: no API key - anyone on your network can use this model. Add "api +_key": "..." to the config (clients send it as their API key; the web page asks +for it) +[strata] done: 1 tokens in 0 s (11244.8 tok/s) (length, cancel=False), expert ca +che 100.0% hit + diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-mnt-1.txt b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-mnt-1.txt new file mode 100644 index 00000000..7f458880 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-mnt-1.txt @@ -0,0 +1,25 @@ +loading the vision encoder ... +loading the model (the first start takes a minute or two) ... +[strata] layer split across GPUs [0, 1] (25) +[strata] starting the engine: reading the model's weights ... +[strata] loading the experts into RAM (about 40 GB) and locking part of them for + the GPU. + YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is no +rmal. + Please wait and don't close this window; the browser opens when it is r +eady. +[strata] experts loaded: 39.97 GiB at 6.40 GiB/s (19 s so far) +[strata] filling the GPU's expert cache (12800 experts, 18.62 GiB of VRAM) ... +[strata] almost ready ... +ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/m +essages, context 262144 tokens, images on) + open http://127.0.0.1:8080/ in a browser to chat; close this window to st +op the model + from other devices: http://192.168.x.x:8080/ (API: http://192.168.1 +78.114:8080/v1) + WARNING: no API key - anyone on your network can use this model. Add "api +_key": "..." to the config (clients send it as their API key; the web page asks +for it) +[strata] done: 1 tokens in 0 s (12336.2 tok/s) (length, cancel=False), expert ca +che 100.0% hit + diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-mnt-2.txt b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-mnt-2.txt new file mode 100644 index 00000000..5d49a7f1 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/kaltstart/pane-mnt-2.txt @@ -0,0 +1,25 @@ +loading the vision encoder ... +loading the model (the first start takes a minute or two) ... +[strata] layer split across GPUs [0, 1] (25) +[strata] starting the engine: reading the model's weights ... +[strata] loading the experts into RAM (about 40 GB) and locking part of them for + the GPU. + YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is no +rmal. + Please wait and don't close this window; the browser opens when it is r +eady. +[strata] experts loaded: 39.97 GiB at 6.41 GiB/s (20 s so far) +[strata] filling the GPU's expert cache (12800 experts, 18.62 GiB of VRAM) ... +[strata] almost ready ... +ready: http://127.0.0.1:8080/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/m +essages, context 262144 tokens, images on) + open http://127.0.0.1:8080/ in a browser to chat; close this window to st +op the model + from other devices: http://192.168.x.x:8080/ (API: http://192.168.1 +78.114:8080/v1) + WARNING: no API key - anyone on your network can use this model. Add "api +_key": "..." to the config (clients send it as their API key; the web page asks +for it) +[strata] done: 1 tokens in 0 s (13025.8 tok/s) (length, cancel=False), expert ca +che 100.0% hit + diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/needles-out.txt b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/needles-out.txt new file mode 100644 index 00000000..66cdd7ec --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/needles-out.txt @@ -0,0 +1,7 @@ + 32k depth 10%: FOUND (31,532 prompt tokens, 7 s) + 32k depth 50%: FOUND (31,532 prompt tokens, 6 s) + 32k depth 90%: FOUND (31,533 prompt tokens, 6 s) + 128k depth 10%: FOUND (121,970 prompt tokens, 21 s) + 128k depth 50%: FOUND (121,968 prompt tokens, 22 s) + 128k depth 90%: FOUND (121,968 prompt tokens, 19 s) +6 of 6 found diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/needles.json b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/needles.json new file mode 100644 index 00000000..0e87ad96 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/needles.json @@ -0,0 +1,56 @@ +[ + { + "length": "32k", + "depth": 10, + "prompt_tokens": 31532, + "seconds": 6.7, + "found": true, + "word": "meadow-copper-504", + "answer": "meadow-copper-504" + }, + { + "length": "32k", + "depth": 50, + "prompt_tokens": 31532, + "seconds": 6.4, + "found": true, + "word": "falcon-quartz-940", + "answer": "falcon-quartz-940" + }, + { + "length": "32k", + "depth": 90, + "prompt_tokens": 31533, + "seconds": 6.4, + "found": true, + "word": "willow-cobalt-696", + "answer": "willow-cobalt-696" + }, + { + "length": "128k", + "depth": 10, + "prompt_tokens": 121970, + "seconds": 21.5, + "found": true, + "word": "falcon-saffron-138", + "answer": "falcon-saffron-138" + }, + { + "length": "128k", + "depth": 50, + "prompt_tokens": 121968, + "seconds": 21.6, + "found": true, + "word": "quartz-tundra-528", + "answer": "quartz-tundra-528" + }, + { + "length": "128k", + "depth": 90, + "prompt_tokens": 121968, + "seconds": 19.2, + "found": true, + "word": "quartz-glacier-192", + "answer": "quartz-glacier-192" + } +] \ No newline at end of file diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/runs.json b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/runs.json new file mode 100644 index 00000000..02a2c506 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/runs.json @@ -0,0 +1,134 @@ +[ + { + "length": "1k", + "run": 1, + "prompt_tokens": 1024, + "reused": 0, + "prompt_tok_s": 1869.0, + "generated": 256, + "output_tok_s": 126.2, + "drafts_accepted": 140, + "drafts_total": 197 + }, + { + "length": "1k", + "run": 2, + "prompt_tokens": 1023, + "reused": 0, + "prompt_tok_s": 1842.2, + "generated": 256, + "output_tok_s": 132.3, + "drafts_accepted": 141, + "drafts_total": 183 + }, + { + "length": "1k", + "run": 3, + "prompt_tokens": 1023, + "reused": 0, + "prompt_tok_s": 1862.2, + "generated": 256, + "output_tok_s": 144.8, + "drafts_accepted": 156, + "drafts_total": 186 + }, + { + "length": "4k", + "run": 1, + "prompt_tokens": 4233, + "reused": 0, + "prompt_tok_s": 2964.2, + "generated": 256, + "output_tok_s": 127.0, + "drafts_accepted": 140, + "drafts_total": 198 + }, + { + "length": "4k", + "run": 2, + "prompt_tokens": 4233, + "reused": 0, + "prompt_tok_s": 2950.0, + "generated": 256, + "output_tok_s": 128.5, + "drafts_accepted": 142, + "drafts_total": 194 + }, + { + "length": "4k", + "run": 3, + "prompt_tokens": 4233, + "reused": 0, + "prompt_tok_s": 2959.5, + "generated": 256, + "output_tok_s": 122.3, + "drafts_accepted": 131, + "drafts_total": 186 + }, + { + "length": "32k", + "run": 1, + "prompt_tokens": 30792, + "reused": 0, + "prompt_tok_s": 5060.5, + "generated": 256, + "output_tok_s": 127.2, + "drafts_accepted": 147, + "drafts_total": 203 + }, + { + "length": "32k", + "run": 2, + "prompt_tokens": 30793, + "reused": 0, + "prompt_tok_s": 5064.7, + "generated": 256, + "output_tok_s": 130.0, + "drafts_accepted": 157, + "drafts_total": 220 + }, + { + "length": "32k", + "run": 3, + "prompt_tokens": 30792, + "reused": 0, + "prompt_tok_s": 5065.6, + "generated": 256, + "output_tok_s": 134.0, + "drafts_accepted": 155, + "drafts_total": 206 + }, + { + "length": "128k", + "run": 1, + "prompt_tokens": 120605, + "reused": 0, + "prompt_tok_s": 5779.6, + "generated": 256, + "output_tok_s": 104.8, + "drafts_accepted": 121, + "drafts_total": 214 + }, + { + "length": "128k", + "run": 2, + "prompt_tokens": 120605, + "reused": 0, + "prompt_tok_s": 5761.9, + "generated": 256, + "output_tok_s": 108.4, + "drafts_accepted": 120, + "drafts_total": 181 + }, + { + "length": "128k", + "run": 3, + "prompt_tokens": 120605, + "reused": 0, + "prompt_tok_s": 5751.8, + "generated": 256, + "output_tok_s": 103.4, + "drafts_accepted": 118, + "drafts_total": 207 + } +] \ No newline at end of file diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/strata-swift-iq3_xxs.json b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/strata-swift-iq3_xxs.json new file mode 100644 index 00000000..a6c3a405 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/strata-swift-iq3_xxs.json @@ -0,0 +1,53 @@ +{ + "exe": "/home/qni/ai/Strata-0.1.36/engine/strata", + "args": [ + "--pack", + "/home/qni/ai/Strata-data/packs/swift-iq3_xxs", + "--native", + "/mnt/models/models/gguf/Swift-IQ3_XXS/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/mnt/models/models/gguf/Swift-IQ3_XXS/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--expert-profile", + "/home/qni/ai/Strata-0.1.36/data/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "5", + "--spec-min-p", + "0.5", + "--mtp", + "/home/qni/ai/Strata-data/mtp/rt", + "--max-context", + "262144", + "--kv", + "k8v4", + "--vision", + "--vram-reserve-mib", + "700" + ], + "cwd": "/home/qni/ai/Strata-0.1.36", + "tokenizer": "/home/qni/ai/Strata-data/packs/swift-iq3_xxs/tokenizer", + "model_name": "swift-1.5-iq3_xxs", + "log": "/home/qni/ai/Strata-0.1.36/strata-swift-iq3_xxs.log", + "lib_dirs": [ + "/usr/local/cuda-13.4/bin", + "/usr/local/cuda-13.4/lib64" + ], + "port": 8080, + "gpu": [ + 0, + 1 + ], + "gpus_asked": true, + "layer_split": "25", + "vision": { + "exe": "/home/qni/ai/Strata-0.1.36/engine/strata-vision", + "mmproj": "/home/qni/ai/Strata-data/models/mmproj-Swift-Qwen3.8-Flash-Next-BF16.gguf", + "model": "/mnt/models/models/gguf/Swift-IQ3_XXS/Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "gpu": true, + "max_tokens": 1024 + }, + "host": "0.0.0.0" +} \ No newline at end of file diff --git a/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/table.md b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/table.md new file mode 100644 index 00000000..cd89b9e8 --- /dev/null +++ b/bench/results/2026-10-02-community-2x-rtx-pro-4500-engine-0.1.36/table.md @@ -0,0 +1,6 @@ +| Length | Prompt tokens | Prompt tok/s (median, range) | Output tok/s (median, range) | Draft accept | +| --- | ---: | ---: | ---: | ---: | +| 1k | 1024 | 1862 (1842-1869) | 132.3 (126.2-144.8) | 77% | +| 4k | 4233 | 2960 (2950-2964) | 127.0 (122.3-128.5) | 71% | +| 32k | 30792 | 5065 (5060-5066) | 130.0 (127.2-134.0) | 73% | +| 128k | 120605 | 5762 (5752-5780) | 104.8 (103.4-108.4) | 60% |