Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
Add an RTX 5090 + Ryzen 7 9700X IQ3_XXS benchmark on engine 0.1.39 (#777)
steve8697c9fc15774416
diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/BUILD.json b/bench/results/2026-10-04-community-rtx-5090-9700x/BUILD.jsonnew file mode 100644index 000000000..094eac94c--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/BUILD.json@@ -0,0 +1,20 @@+{+ "version": "0.1.39",+ "source": "release",+ "archs": [+ 75,+ 86,+ 89,+ 120+ ],+ "vision_archs": [+ 75,+ 86,+ 89,+ 120+ ],+ "ptx": true,+ "cuda": "13.0",+ "vision": "gpu",+ "portable": true+}\ No newline at end of filediff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/README.md b/bench/results/2026-10-04-community-rtx-5090-9700x/README.mdnew file mode 100644index 000000000..8ec87a603--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/README.md@@ -0,0 +1,194 @@+# Community benchmark: RTX 5090, Ryzen 7 9700X++Measured on 2026-10-04 by [steve8697](https://github.com/steve8697), on a+native Windows PC. This tests the published Strata 0.1.39 engine with the+original Flash-Next IQ3_XXS, one GPU, and a 262,144-token context limit.++Median fresh-prompt throughput was **3,775 tok/s prefill and 171.7 tok/s+decode at 4,096 prompt tokens, 6,367 / 181.2 at 32,768, and 6,080 / 178.3 at+128,000**. These are synthetic code-explanation requests with greedy decoding+and a 256-token output cap. They do not establish general answer quality.++The six `tools/needle_bench.py` checks all returned the hidden code word+exactly.++A second start of the same engine and config, later the same evening, filled+the 262,144-token window and sent two 128,000-token prompts at once. Those+rows are in [Full window and two requests at once](#full-window-and-two-requests-at-once).++## Hardware and software++- NVIDIA GeForce RTX 5090; 32,607 MiB reported VRAM. Power limit 402.50 W.+ During the timed runs the card sat near that limit (samples about 390–402 W)+ at 100% utilization. Clocks were not fixed. `nvidia-smi` reports a maximum+ PCIe link of Gen4 x16; samples taken while a run was busy were Gen4 x16.+- AMD Ryzen 7 9700X; 16 logical processors. The engine selected 7 expert-pool+ workers.+- 100,589,809,664 bytes of usable RAM. The server reported 93.7 GiB total and+ 73.5 GiB used once the model was loaded.+- Model files are on a T-FORCE TM8FFW004T NVMe (drive D:).+- Windows 11 26H2, build 26300. NVIDIA driver 617.14.+- Source commit `6f32ec0`. Published engine zip, not a local build: version+ 0.1.39, CUDA 13.0, architectures 75/86/89/120 including the GPU vision+ helper. See [BUILD.json](BUILD.json).+- No other GPU process was loaded. An unrelated IQ3_S shard download was+ writing to the same NVMe for the whole run (8.54 GB to 12.05 GB of the+ 54.82 GB shard).++## Model and configuration++- `ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF` revision+ `ed59f92082b1e93c0e96d60a8b11aab089b52f09`, quant IQ3_XXS.+ Shard 1 is 47,039,860,096 bytes. Shard 2 is the shared n-gram table,+ 28,800,138,432 bytes.+- Vision encoder loaded on the GPU (`--vision`, `--vram-reserve-mib 700`).+ None of these requests attached an image.+- Context 262144. KV `int8` with `--kv-resident 32768`. Expert cache `auto`.+ Prefill `auto`. Low-RAM mode off. At ready the cache held 12,758 experts,+ 20.71 GiB. Arena 40,925 MiB. `pcie_frac` 0.55.+- Config asks `--spec 4` and `--spec-min-p 0.5`, with MTP and prompt lookup.+ The engine then reports `spec=6`, `mtp_max=4`, `lookup=3`: with prompt+ lookup enabled it keeps a 4-token MTP draft and widens the verify window+ by 2, up to 8.+- `STRATA_PF_FUSED=1`, so native IQ prompt experts use the fused int8 kernels+ once a prompt is long enough for that path. Short prompts stay on the+ previous kernels.+- `"parallel": 2`. These requests were sent one at a time, so each one used+ the solo path and kept MTP. The two slot sessions were still reserved;+ `/v1/status` reported `concurrency.serving` 2.+- Conversation cache 8192 MiB, 4 slots. Every timed prompt carried its own+ nonce, and the engine reported 0 reused tokens on all nine runs.+- `experimental_speed_projection` left off. No API key. The server listened+ on all interfaces; the configured hostname allowlist is omitted here.++Launch, from the Strata directory:++```text+.venv\Scripts\python.exe -u serve\server.py --engine strata --config strata-iq3_xxs.json --port 5310+```++The script that issued the requests is [benchmark.py](benchmark.py).++## Method++Same shape as+[bench/results/2026-09-30-community-rtx-5090/benchmark.py](../2026-09-30-community-rtx-5090/benchmark.py):+one warmup, then three fresh prompts at 4,096, 32,768, and 128,000 tokens.+`temperature` 0, `reasoning_effort` `none`, `max_tokens` 256, streaming.+Prompt length was counted with this checkout's tokenizer and chat template+before the request was sent, and it matched `prompt_tokens` on `/metrics`.++Prompt throughput is freshly read tokens divided by the engine's `prompt_ms`.+Decode throughput is `engine_generated` divided by `decode_ms`. TTFT is the+client clock until the first streamed content token. Each prompt is a unique+nonce, synthetic Python, and a request for an explanation of at least 600+words. The 256-token cap stopped every timed reply (`finish_reason` `length`).++The expert cache was left as the engine adapted it. There was no cooldown+between runs. GPU samples are in [telemetry.csv](telemetry.csv). Per-request+records are in [results.json](results.json).++Recall used the unchanged `tools/needle_bench.py` at 32k and 128k, depths+10, 50, and 90, thinking off, greedy. Output: [needles.json](needles.json).++## Results++| Prompt tokens | Reused | Generated | Runs | Prompt tok/s median (min–max) | Decode tok/s median (min–max) | TTFT seconds median (min–max) |+| ---: | ---: | ---: | ---: | --- | --- | --- |+| 4096 | 0 | 256 | 3 | 3775 (2617–3825) | 171.7 (130.2–173.9) | 1.11 (1.09–1.59) |+| 32768 | 0 | 256 | 3 | 6367 (6221–6382) | 181.2 (157.3–183.0) | 5.22 (5.19–5.34) |+| 128000 | 0 | 256 | 3 | 6080 (6037–6241) | 178.3 (174.3–193.3) | 21.24 (20.70–21.40) |++The first 4,096-token run is the slow end of that row: `prompt_ms` 1565 versus+1071 and 1085, decode 130.2 tok/s versus 173.9 and 171.7, expert-cache hit+rate 95.1% versus 97.9% and 98.5%. The later 32K and 128K runs sat around a+99% hit rate, with about 0.2–0.5% of routed experts read over PCIe.++Drafts accepted / offered on the nine timed runs: 150/221, 159/202, 154/230,+155/222, 143/235, 152/214, 152/224, 165/219, 156/234.++| Needle | Prompt tokens | Wall seconds | Answer |+| --- | ---: | ---: | --- |+| 32k depth 10 | 32171 | 24.8 | exact |+| 32k depth 50 | 32171 | 5.4 | exact |+| 32k depth 90 | 32172 | 2.9 | exact |+| 128k depth 10 | 125451 | 63.7 | exact |+| 128k depth 50 | 125449 | 31.8 | exact |+| 128k depth 90 | 125449 | 32.4 | exact |++The needle wall times include prompt read and the short answer. The first 32k+needle, which followed the 128k speed runs, had an 80.9% expert-cache hit rate.+The later needles were 84.6–93.0%.++## Full window and two requests at once++Same machine, engine, and config, from a second server start after the runs+above. Ready state again: 12,758 experts / 20.71 GiB, `batch_slots` 2, `spec`+6, `mtp_max` 4, `lookup` 3. The unrelated shard download was still writing to+the same NVMe (25.53 GB to 29.40 GB of the 54.82 GB shard). The script is+[long/bench_long.py](long/bench_long.py). Per-request rows are+[long/results.json](long/results.json).++### One prompt at the top of the window++The server keeps an 8-token margin and refuses a prompt that cannot also hold+`max_tokens`. These prompts are 261,880 tokens, so a 256-token answer fits in+262,144. Two fresh runs, 0 reused tokens, `finish_reason` `length`, solo path+with MTP.++| Run | Prompt tok/s | Decode tok/s | TTFT seconds | Expert-cache hit | Drafts accepted/offered |+| ---: | ---: | ---: | ---: | ---: | --- |+| 1 | 5861 | 127.6 | 45.06 | 0.957 | 147/220 |+| 2 | 5739 | 156.0 | 46.01 | 0.984 | 148/213 |++`prompt_ms` was 44,685 and 45,629. `decode_ms` was 2,006 and 1,641. PCIe share+of routed experts was 0.021 and 0.006.++### Two 128,000-token prompts at once++Two waves, each posting both requests together under `"parallel": 2`. For+about the first 20 seconds one prompt was read on the solo path and the other+waited. The reader then moved into a slot and decoded while the second prompt+was read. Samples in [long/wave-1-slots.json](long/wave-1-slots.json) and+[long/wave-2-slots.json](long/wave-2-slots.json) show both slots busy across+that overlap. The leading request finished its 256 tokens in the slot, with+no drafts. The trailing request received its first token after that and then+decoded alone.++| Wave | Leading TTFT seconds | Leading decode tok/s | Trailing TTFT seconds | Trailing decode tok/s | Pair wall seconds |+| ---: | ---: | ---: | ---: | ---: | ---: |+| 1 | 21.98 | 24.7 | 46.76 | 68.4 | 50.5 |+| 2 | 21.06 | 24.7 | 45.83 | 70.3 | 49.5 |++Decode tok/s here is 256 generated tokens divided by the client time from the+first content token to the end of that stream (about 10.4 seconds for the+leading request, about 3.7 seconds for the trailing one). The leading+request's server completion line was 24.7 tok/s with no drafts. Expert-cache+hit rates on the four completion lines were 0.996, 0.987, 0.998, and 0.985.++`/metrics` `prompt_ms` and `reused` on these four rows do not describe the+prefill. A request moved into a slot is recorded as having reused the prompt+it just read, so one row shows `reused` 128000 and `prompt_ms` of about 2.+The other row shows `reused` 128003, which is longer than its prompt. The+table uses the client clock.++The serial 128,000-token median above had a 21.24 second TTFT and 178.3 tok/s+decode. The leading request's first token stayed near that TTFT. Its decode+then ran at 24.7 tok/s while the second prompt was being read, on the slot+path, which does not draft.++## Correctness and limitations++All six needles matched the expected code word exactly. The speed prompts were+stopped at 256 tokens, so their text is not a quality score. Thinking, sampled+decoding, tool calls, and images were not measured. The nine serial runs never+shared a batch window, so `"parallel": 2` only reserved slot memory for them.+The later pair of 128,000-token prompts did share the slots.++`STRATA_PF_FUSED=1` changes how long prompts round native IQ expert math.+This report does not claim those tokens match a run with the flag unset.++The other RTX 5090 report in this directory is a different computer (Linux,+Core Ultra 9 285K, 64 GB, IQ2_XS, engine 0.1.29). These numbers are not a+paired comparison with it, or with a 2026-09-30 run of this same PC on engine+0.1.29.diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/TRIMMED.md b/bench/results/2026-10-04-community-rtx-5090-9700x/TRIMMED.mdnew file mode 100644index 000000000..bafe15e65--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/TRIMMED.md@@ -0,0 +1,30 @@+# Trimmed files++Ported from PR #777 for 0.1.40.2. Raw dumps, logs and binaries were left out to keep the repository small;+the README, summaries, configs and per-run results are unchanged. The files below were in the original PR.++21 files, 1.8 MB:++| file | bytes | why |+|---|---:|---|+| `telemetry.csv` | 852 | raw dump |+| `tokens-128000-run-1-raw.json` | 88,132 | raw dump |+| `tokens-128000-run-1-request.json` | 244,150 | raw dump |+| `tokens-128000-run-2-raw.json` | 87,932 | raw dump |+| `tokens-128000-run-2-request.json` | 244,150 | raw dump |+| `tokens-128000-run-3-raw.json` | 87,946 | raw dump |+| `tokens-128000-run-3-request.json` | 244,150 | raw dump |+| `tokens-32768-run-1-raw.json` | 89,776 | raw dump |+| `tokens-32768-run-1-request.json` | 63,405 | raw dump |+| `tokens-32768-run-2-raw.json` | 89,860 | raw dump |+| `tokens-32768-run-2-request.json` | 63,405 | raw dump |+| `tokens-32768-run-3-raw.json` | 89,796 | raw dump |+| `tokens-32768-run-3-request.json` | 63,405 | raw dump |+| `tokens-4096-run-1-raw.json` | 89,756 | raw dump |+| `tokens-4096-run-1-request.json` | 8,320 | raw dump |+| `tokens-4096-run-2-raw.json` | 87,834 | raw dump |+| `tokens-4096-run-2-request.json` | 8,320 | raw dump |+| `tokens-4096-run-3-raw.json` | 90,126 | raw dump |+| `tokens-4096-run-3-request.json` | 8,320 | raw dump |+| `warmup-raw.json` | 2,598 | raw dump |+| `warmup-request.json` | 244 | raw dump |diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/benchmark.py b/bench/results/2026-10-04-community-rtx-5090-9700x/benchmark.pynew file mode 100644index 000000000..15fbacddb--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/benchmark.py@@ -0,0 +1,174 @@+#!/usr/bin/env python3+"""Serial fresh-prompt benchmark, adapted from the 2026-09-30 community RTX 5090 script."""+import argparse+import hashlib+import json+import statistics+import subprocess+import sys+import threading+import time+import urllib.request+from pathlib import Path+++def get(url):+ with urllib.request.urlopen(url, timeout=30) as response:+ return json.load(response)+++def main():+ parser = argparse.ArgumentParser(description=__doc__)+ parser.add_argument("--root", type=Path, default=Path(r"D:\AI\Strata"))+ parser.add_argument("--pack", type=Path, default=Path(r"D:\AI\Strata-data\packs\iq3_xxs"))+ parser.add_argument("--url", default="http://127.0.0.1:5310")+ parser.add_argument("--out", type=Path, default=Path(r"D:\AI\Strata-data\community-bench-20261004"))+ parser.add_argument("--targets", default="4096,32768,128000")+ parser.add_argument("--runs", type=int, default=3)+ args = parser.parse_args()+ args.out.mkdir(parents=True, exist_ok=True)+ sys.path[:0] = [str(args.root), str(args.root / "tools")]+ from strata_tokenizer import Tokenizer+ from serve.frontend import ChatTemplate, openai_to_messages++ directory = args.pack / "tokenizer"+ vocab = json.loads((directory / "vocab.json").read_text(encoding="utf-8"))+ tokens = [None] * len(vocab)+ for token, number in vocab.items():+ tokens[number] = token+ tokenizer = Tokenizer(tokens, (directory / "merges.txt").read_text(encoding="utf-8").splitlines(),+ json.loads((directory / "token_type.json").read_text(encoding="utf-8")))+ template = ChatTemplate(directory / "chat_template.jinja")+ initial = get(args.url + "/v1/status")+ (args.out / "initial-status.json").write_text(json.dumps(initial, indent=2) + "\n", encoding="utf-8")+ metrics0 = get(args.url + "/metrics")+ (args.out / "initial-metrics.json").write_text(json.dumps(metrics0, indent=2) + "\n", encoding="utf-8")+ rows = []+ stop = threading.Event()+ tel_path = args.out / "telemetry.csv"++ def sample():+ if not tel_path.exists():+ tel_path.write_text("unix,mem_used_mib,util_gpu,pcie_gen,pcie_width,power_w\n", encoding="utf-8")+ while not stop.is_set():+ try:+ out = subprocess.check_output(+ ["nvidia-smi",+ "--query-gpu=memory.used,utilization.gpu,pcie.link.gen.current,pcie.link.width.current,power.draw",+ "--format=csv,noheader,nounits"],+ text=True, timeout=15).strip()+ with tel_path.open("a", encoding="utf-8") as fh:+ fh.write(f"{time.time():.0f},{out}\n")+ except (OSError, subprocess.SubprocessError):+ pass+ stop.wait(5)++ threading.Thread(target=sample, daemon=True).start()++ def request(content, maximum=256):+ return {"model": "qwen3.8-flash-next-iq3_xxs",+ "messages": [{"role": "user", "content": content}],+ "temperature": 0, "reasoning_effort": "none", "max_tokens": maximum,+ "stream": True, "stream_options": {"include_usage": True}}++ def count(req):+ messages, tools, kwargs = openai_to_messages(req)+ return len(tokenizer.encode(template.render(messages, tools, **kwargs), parse_special=True))++ def perform(label, req, expected=None):+ body = json.dumps(req).encode()+ (args.out / (label + "-request.json")).write_bytes(body + b"\n")+ print("start", label, "tokens", expected, flush=True)+ chunks, texts, first, finish = [], [], None, None+ started = time.perf_counter()+ wire = urllib.request.Request(args.url + "/v1/chat/completions", data=body,+ headers={"Content-Type": "application/json"})+ with urllib.request.urlopen(wire, timeout=1800) as response:+ for line in response:+ if not line.startswith(b"data: "):+ continue+ payload = line[6:].strip()+ if payload == b"[DONE]":+ break+ chunk = json.loads(payload)+ chunks.append(chunk)+ for choice in chunk.get("choices", []):+ delta = choice.get("delta", {})+ text = (delta.get("content") or "") + (delta.get("reasoning_content") or "")+ if text:+ first = first if first is not None else time.perf_counter() - started+ texts.append(text)+ finish = choice.get("finish_reason") or finish+ elapsed = time.perf_counter() - started+ metrics = get(args.url + "/metrics")+ engine = metrics["requests"][0]+ usage = next((chunk["usage"] for chunk in reversed(chunks) if "usage" in chunk), {})+ row = {"label": label, "expected_prompt_tokens": expected,+ "request_sha256": hashlib.sha256(body).hexdigest(),+ "client_ttft_s": first, "client_elapsed_s": elapsed, "finish_reason": finish,+ "usage": usage, "engine": engine, "text": "".join(texts)}+ if expected is not None and engine.get("prompt_tokens") != expected:+ raise RuntimeError(f"token count mismatch: {expected} vs {engine.get('prompt_tokens')}")+ if not texts:+ raise RuntimeError(f"no text received for {label}")+ (args.out / (label + "-raw.json")).write_text(+ json.dumps({"chunks": chunks, "row": row}, indent=2) + "\n", encoding="utf-8")+ rows.append(row)+ (args.out / "results.json").write_text(json.dumps(rows, indent=2) + "\n", encoding="utf-8")+ print("done", label, json.dumps({+ "ttft_s": first, "elapsed_s": elapsed,+ "prompt_tokens": engine.get("prompt_tokens"), "reused": engine.get("reused"),+ "prompt_ms": engine.get("prompt_ms"), "decode_ms": engine.get("decode_ms"),+ "engine_generated": engine.get("engine_generated"),+ "finish": finish}), flush=True)+ return row++ try:+ perform("warmup", request("Reply with exactly the word READY.", 16))+ filler = "\n".join(+ f"def task_{i:05d}(value: int) -> int: return (value * {(i % 97) + 1} + {i}) % 100003"+ for i in range(12000))+ ending = ("\n\nWrite a detailed explanation of the code above. Discuss deterministic integer transforms, "+ "modulo arithmetic, testing, naming, complexity, and maintainability. Write at least 600 words.")+ for target in map(int, args.targets.split(",")):+ for run in range(1, args.runs + 1):+ prefix = f"Benchmark nonce: series-{target}-trial-{run}.\nReview this synthetic Python module:\n"+ lo, hi = 0, len(filler)+ while lo < hi:+ middle = (lo + hi + 1) // 2+ if count(request(prefix + filler[:middle] + ending)) <= target:+ lo = middle+ else:+ hi = middle - 1+ req = request(prefix + filler[:lo] + ending)+ actual = count(req)+ if actual < target - 20 or actual > target:+ raise RuntimeError(f"could not construct target {target}: {actual}")+ perform(f"tokens-{target}-run-{run}", req, actual)+ measured = [row for row in rows if row["label"] != "warmup"]+ groups = {}+ for target in map(int, args.targets.split(",")):+ subset = [r for r in measured if r["label"].startswith(f"tokens-{target}-")]+ values = {+ "prompt_tokens": [r["engine"]["prompt_tokens"] for r in subset],+ "cached_tokens": [r["engine"].get("reused") or 0 for r in subset],+ "output_tokens": [r["engine"]["engine_generated"] for r in subset],+ "client_ttft_s": [r["client_ttft_s"] for r in subset],+ "client_elapsed_s": [r["client_elapsed_s"] for r in subset],+ "prefill_tok_s": [+ (r["engine"]["prompt_tokens"] - (r["engine"].get("reused") or 0))+ / (r["engine"]["prompt_ms"] / 1000) for r in subset],+ "decode_tok_s": [+ r["engine"]["engine_generated"] / (r["engine"]["decode_ms"] / 1000) for r in subset],+ }+ groups[str(target)] = {+ key: {"median": statistics.median(v), "min": min(v), "max": max(v)}+ for key, v in values.items()}+ (args.out / "summary.json").write_text(json.dumps(groups, indent=2) + "\n", encoding="utf-8")+ print("summary", json.dumps(groups), flush=True)+ finally:+ stop.set()+++if __name__ == "__main__":+ main()diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/download-at-end.json b/bench/results/2026-10-04-community-rtx-5090-9700x/download-at-end.jsonnew file mode 100644index 000000000..e503c68b8--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/download-at-end.json@@ -0,0 +1,4 @@+{+ "ended": "2026-10-04T22:07:53.1671986+08:00",+ "download_shard1_bytes_at_bench_end": 12049186816+}diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/download-at-start.json b/bench/results/2026-10-04-community-rtx-5090-9700x/download-at-start.jsonnew file mode 100644index 000000000..50197b69a--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/download-at-start.json@@ -0,0 +1,5 @@+{+ "started": "2026-10-04T22:02:53.0673718+08:00",+ "download_shard1_bytes_at_bench_start": 8544453029,+ "download_shard1_expected": 54817524224+}diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/initial-metrics.json b/bench/results/2026-10-04-community-rtx-5090-9700x/initial-metrics.jsonnew file mode 100644index 000000000..6b977bcb0--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/initial-metrics.json@@ -0,0 +1,187 @@+{+ "engine": {+ "model": "qwen3.8-flash-next-iq3_xxs",+ "max_context": 262144,+ "images": true,+ "version": "0.1.39",+ "context": 262144,+ "kv": "int8",+ "kv_resident": 32768,+ "expert_slots": 12758,+ "expert_cache_mib": 21206,+ "expert_slots_primary": 12758,+ "expert_cache_primary_mib": 21206,+ "spec": 6,+ "mtp_max": 4,+ "lookup": 3,+ "vram_free_mib": 309,+ "cvec": 0,+ "arena_mib": 40925,+ "pool_workers": 7,+ "pcie_frac": "0.55",+ "spec_min_p": "0.50",+ "conversation_cache_mib": 8192,+ "conversation_cache_slots": 4,+ "conversation_cache_min_free_mib": 2560,+ "tail_role_token": -1,+ "vram_elastic": 0,+ "batch_slots": 2,+ "slot_cache": 1,+ "engine": "0.1.39"+ },+ "live": {+ "state": "idle",+ "queued": 0,+ "phase": null,+ "prompt_tokens": null,+ "prompt_read": null,+ "prompt_total": null,+ "generated": null,+ "max_tokens": null,+ "elapsed_s": null,+ "tok_s": null,+ "tok_s_mean": null,+ "prefill_tok_s_mean": null,+ "tok_s_window_s": null,+ "parallel": 2,+ "running": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ],+ "outside_slots": 0,+ "waiting": 0+ },+ "requests": [],+ "conversation_cache": {+ "enabled": true,+ "budget_mib": 8192,+ "slots": 4,+ "parked": 0,+ "bytes": 0,+ "evictions": 0,+ "parks": 0,+ "restores": 0,+ "last_event": null,+ "last_tokens": null,+ "last_at": null,+ "requests": 0,+ "requests_reused": 0,+ "reused_tokens": 0,+ "prompt_tokens": 0,+ "last_reused": null,+ "last_prompt": null+ },+ "requests_kept": 0,+ "totals": {+ "since": 1791122598.1767764,+ "requests": 0,+ "prompt_tokens": 0,+ "reused": 0,+ "output_tokens": 0,+ "prompt_ms": 0.0,+ "decode_ms": 0.0,+ "drafts_offered": 0,+ "drafts_accepted": 0+ },+ "hardware": {+ "gpu_util": 0,+ "gpu_mem_used": 33336778752,+ "gpu_mem_total": 34190917632,+ "gpu_temp": 33,+ "gpu_power": 31.883,+ "gpu_power_limit": 402.5,+ "gpu_pcie_gen": 2,+ "gpu_pcie_gen_max": 4,+ "gpu_pcie_width": 16,+ "gpu_pcie_rx_mb": 0.4990234375,+ "gpu_pcie_tx_mb": 0.94921875,+ "cpu": 10.3,+ "ram_used": 78883921920,+ "ram_total": 100589809664,+ "disk_read_mb": 2.73156401867639,+ "disk_write_mb": 4.8222716959377845,+ "tok_s": 0.0,+ "tok_s_mean": 0,+ "prefill_tok_s_mean": 0.0+ },+ "hardware_static": {+ "gpu_name": "NVIDIA GeForce RTX 5090",+ "gpu_count": 1,+ "cpu_name": "AMD Ryzen 7 9700X 8-Core Processor",+ "cores": 8,+ "threads": 16,+ "psutil": true+ },+ "history": {+ "gpu_util": [+ 1,+ 0,+ 0,+ 0+ ],+ "gpu_mem_used": [+ 33336778752,+ 33336778752,+ 33336778752,+ 33336778752+ ],+ "gpu_temp": [+ 34,+ 33,+ 33,+ 33+ ],+ "gpu_power": [+ 46.03,+ 34.9,+ 33.85,+ 31.88+ ],+ "gpu_pcie_rx_mb": [+ 0.85,+ 0.01,+ 0.01,+ 0.5+ ],+ "cpu": [+ 0.0,+ 8.5,+ 6.8,+ 10.3+ ],+ "ram_used": [+ 78925692928,+ 78881861632,+ 78882717696,+ 78883921920+ ],+ "disk_read_mb": [+ null,+ 0.07,+ 0.07,+ 2.73+ ],+ "tok_s": [+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ],+ "prefill_tok_s_mean": [+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "time": 1791122601.8898945+}diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/initial-status.json b/bench/results/2026-10-04-community-rtx-5090-9700x/initial-status.jsonnew file mode 100644index 000000000..2c48d0b3d--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/initial-status.json@@ -0,0 +1,61 @@+{+ "service": "strata",+ "model": "qwen3.8-flash-next-iq3_xxs",+ "loaded": true,+ "auto_load": true,+ "structured_output": {+ "formats": [+ "json_object",+ "json_schema"+ ],+ "method": "prompt_and_validate",+ "constrained_decoding": false,+ "stream_buffered": true+ },+ "engine": "0.1.39",+ "started": 1791122598,+ "uptime_s": 3,+ "cache_max_tokens": 262144,+ "context": {+ "native": 262144,+ "max_positions": 262144+ },+ "concurrency": {+ "serving": 2,+ "requested": 2+ },+ "dialects": [+ "/v1/chat/completions",+ "/v1/messages",+ "/v1/responses"+ ],+ "vision": {+ "enabled": true,+ "available": true,+ "error": null+ },+ "activity": {+ "requests": 0,+ "in_flight": 0,+ "last_request_at": null+ },+ "last_timings": null,+ "vram": {+ "elastic": false+ },+ "machine": {+ "at": 1791122601,+ "gpu": {+ "name": "NVIDIA GeForce RTX 5090",+ "used_mib": 31792.0,+ "total_mib": 32607.0,+ "util_pct": 0,+ "temp_c": 33,+ "power_w": 31.883+ },+ "ram": {+ "used_gib": 73.5,+ "total_gib": 93.7+ }+ }+}diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/long/bench_long.py b/bench/results/2026-10-04-community-rtx-5090-9700x/long/bench_long.pynew file mode 100644index 000000000..f4e6e60bc--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/long/bench_long.py@@ -0,0 +1,286 @@+#!/usr/bin/env python3+"""One full-window prompt, then two waves of two overlapping 128000-token prompts.++The installed config is unchanged. Prompt tok/s is fresh tokens / prompt_ms.+Decode tok/s is engine_generated / decode_ms. A wave records /metrics slot+samples so overlap is counted from the server, not assumed.+"""+import hashlib+import json+import threading+import time+import urllib.error+import urllib.request+from pathlib import Path++ROOT = Path(r"D:\AI\Strata")+PACK = Path(r"D:\AI\Strata-data\packs\iq3_xxs")+OUT = Path(r"D:\AI\Strata-data\community-bench-20261004-long")+URL = "http://127.0.0.1:5310"+# 262144 context, 8-token slack, 256-token answer.+FULL = 262144 - 8 - 256+LONG = 128000+MODEL = "qwen3.8-flash-next-iq3_xxs"+++def get(path):+ with urllib.request.urlopen(URL + path, timeout=30) as response:+ return json.load(response)+++def post(body):+ wire = urllib.request.Request(+ URL + "/v1/chat/completions", data=body,+ headers={"Content-Type": "application/json"})+ chunks, texts, first, finish = [], [], None, None+ started = time.perf_counter()+ wall = time.time()+ try:+ response = urllib.request.urlopen(wire, timeout=1800)+ except urllib.error.HTTPError as error:+ detail = error.read().decode("utf-8", "replace")[:800]+ raise RuntimeError(f"HTTP {error.code}: {detail}") from error+ with response:+ for line in response:+ if not line.startswith(b"data: "):+ continue+ payload = line[6:].strip()+ if payload == b"[DONE]":+ break+ chunk = json.loads(payload)+ chunks.append(chunk)+ for choice in chunk.get("choices", []):+ delta = choice.get("delta", {})+ text = (delta.get("content") or "") + (delta.get("reasoning_content") or "")+ if text:+ first = first if first is not None else time.perf_counter() - started+ texts.append(text)+ finish = choice.get("finish_reason") or finish+ elapsed = time.perf_counter() - started+ usage = next((chunk["usage"] for chunk in reversed(chunks) if "usage" in chunk), {})+ return {"client_ttft_s": first, "client_elapsed_s": elapsed, "client_start": wall,+ "finish_reason": finish, "usage": usage, "text": "".join(texts), "chunks": len(chunks)}+++def request(content, maximum=256):+ return {"model": MODEL, "messages": [{"role": "user", "content": content}],+ "temperature": 0, "reasoning_effort": "none", "max_tokens": maximum,+ "stream": True, "stream_options": {"include_usage": True}}+++def progress(text):+ print(text, flush=True)+ path = OUT / "progress.txt"+ previous = path.read_text(encoding="utf-8") if path.exists() else ""+ path.write_text(previous + time.strftime("%H:%M:%S ") + text + "\n", encoding="utf-8")+++def rates(engine):+ reused = engine.get("reused") or 0+ prompt_ms = engine.get("prompt_ms") or 0+ decode_ms = engine.get("decode_ms") or 0+ generated = engine.get("engine_generated") or 0+ fresh = (engine.get("prompt_tokens") or 0) - reused+ return {+ "prefill_tok_s": (fresh / (prompt_ms / 1000)) if prompt_ms else None,+ "decode_tok_s": (generated / (decode_ms / 1000)) if decode_ms and generated else None,+ }+++def assign_engines(pairs):+ """pairs: (name, client_start, prompt_tokens). One history row each."""+ history = list(get("/metrics?requests=all")["requests"])+ assigned = {}+ for name, start, tokens in sorted(pairs, key=lambda item: item[1]):+ candidates = [row for row in history+ if row.get("prompt_tokens") == tokens and abs((row.get("time") or 0) - start) <= 180]+ if not candidates:+ assigned[name] = None+ continue+ best = min(candidates, key=lambda row: abs((row.get("time") or 0) - start))+ history.remove(best)+ assigned[name] = best+ return assigned+++def main():+ import sys+ OUT.mkdir(parents=True, exist_ok=True)+ sys.path[:0] = [str(ROOT), str(ROOT / "tools")]+ from strata_tokenizer import Tokenizer+ from serve.frontend import ChatTemplate, openai_to_messages++ directory = PACK / "tokenizer"+ vocab = json.loads((directory / "vocab.json").read_text(encoding="utf-8"))+ tokens = [None] * len(vocab)+ for token, number in vocab.items():+ tokens[number] = token+ tokenizer = Tokenizer(+ tokens, (directory / "merges.txt").read_text(encoding="utf-8").splitlines(),+ json.loads((directory / "token_type.json").read_text(encoding="utf-8")))+ template = ChatTemplate(directory / "chat_template.jinja")++ def count(req):+ messages, tools, kwargs = openai_to_messages(req)+ return len(tokenizer.encode(template.render(messages, tools, **kwargs), parse_special=True))++ (OUT / "initial-status.json").write_text(+ json.dumps(get("/v1/status"), indent=2) + "\n", encoding="utf-8")+ (OUT / "initial-metrics.json").write_text(+ json.dumps(get("/metrics"), indent=2) + "\n", encoding="utf-8")++ ending = ("\n\nWrite a detailed explanation of the code above. Discuss deterministic integer transforms, "+ "modulo arithmetic, testing, naming, complexity, and maintainability. Write at least 600 words.")++ def build(label, target):+ prefix = f"Benchmark nonce: {label}.\nReview this synthetic Python module:\n"+ lines = 8000+ filler = ""+ while True:+ filler = "\n".join(+ f"def task_{i:05d}(value: int) -> int: return (value * {(i % 97) + 1} + {i}) % 100003"+ for i in range(lines))+ total = count(request(prefix + filler + ending))+ progress(f"size {label} lines={lines} tokens={total} target={target}")+ if total >= target or lines >= 40000:+ break+ lines += 4000+ lo, hi = 0, len(filler)+ while lo < hi:+ middle = (lo + hi + 1) // 2+ if count(request(prefix + filler[:middle] + ending)) <= target:+ lo = middle+ else:+ hi = middle - 1+ req = request(prefix + filler[:lo] + ending)+ actual = count(req)+ if actual < target - 20 or actual > target:+ raise RuntimeError(f"could not construct {label} target {target}: got {actual}")+ return req, actual++ def perform(label, req, expected):+ body = json.dumps(req).encode()+ (OUT / f"{label}-request.json").write_bytes(body + b"\n")+ progress(f"start {label} tokens {expected} bytes {len(body)}")+ client = post(body)+ if not client["text"]:+ raise RuntimeError(f"no text received for {label}")+ engine = assign_engines([(label, client["client_start"], expected)])[label]+ if engine is None:+ raise RuntimeError(f"no /metrics row for {label}")+ if engine.get("prompt_tokens") != expected:+ raise RuntimeError(f"token count mismatch for {label}: {expected} vs {engine.get('prompt_tokens')}")+ row = {"label": label, "expected_prompt_tokens": expected,+ "request_sha256": hashlib.sha256(body).hexdigest(),+ **{k: v for k, v in client.items() if k != "chunks"},+ "stream_chunks": client["chunks"], "engine": engine, **rates(engine)}+ (OUT / f"{label}-row.json").write_text(json.dumps(row, indent=2) + "\n", encoding="utf-8")+ progress("done " + label + " " + json.dumps({+ "ttft_s": row["client_ttft_s"], "elapsed_s": row["client_elapsed_s"],+ "prefill_tok_s": row["prefill_tok_s"], "decode_tok_s": row["decode_tok_s"],+ "reused": engine.get("reused"), "finish": row["finish_reason"],+ "drafts": [engine.get("drafts_accepted"), engine.get("drafts_offered")],+ "hit_rate": engine.get("hit_rate"), "pcie_share": engine.get("pcie_share")}))+ return row++ rows = []+ progress("warmup")+ warm = perform("warmup", request("Reply with exactly the word READY.", 16), None) if False else None+ # Warmup has no expected token count. Run it without the equality check.+ body = json.dumps(request("Reply with exactly the word READY.", 16)).encode()+ client = post(body)+ progress(f"warmup ttft {client['client_ttft_s']} finish {client['finish_reason']}")+ (OUT / "warmup-row.json").write_text(json.dumps(client, indent=2) + "\n", encoding="utf-8")++ for run in (1, 2):+ req, actual = build(f"full-window-run-{run}", FULL)+ rows.append(perform(f"full-window-run-{run}", req, actual))+ (OUT / "results.json").write_text(json.dumps(rows, indent=2) + "\n", encoding="utf-8")++ def wave(number):+ left_req, left_n = build(f"wave-{number}-a", LONG)+ right_req, right_n = build(f"wave-{number}-b", LONG)+ jobs = (("a", left_req, left_n), ("b", right_req, right_n))+ bodies = {}+ for name, req, _expected in jobs:+ bodies[name] = json.dumps(req).encode()+ (OUT / f"wave-{number}-{name}-request.json").write_bytes(bodies[name] + b"\n")+ samples = []+ stop = threading.Event()++ def sample():+ while not stop.is_set():+ try:+ live = get("/metrics")["live"]+ samples.append({"t": time.time(), "state": live.get("state"),+ "running": live.get("running"), "outside_slots": live.get("outside_slots"),+ "waiting": live.get("waiting"), "slots": live.get("slots")})+ except (OSError, ValueError, urllib.error.URLError):+ pass+ stop.wait(2)++ sampler = threading.Thread(target=sample, daemon=True)+ barrier = threading.Barrier(2)+ found = {}+ errors = {}++ def worker(name, expected):+ try:+ barrier.wait(timeout=120)+ progress(f"start wave-{number}-{name} tokens {expected}")+ client = post(bodies[name])+ found[name] = (expected, client)+ except Exception as error:+ errors[name] = f"{type(error).__name__}: {error}"++ sampler.start()+ threads = [threading.Thread(target=worker, args=(name, expected)) for name, _req, expected in jobs]+ for thread in threads:+ thread.start()+ for thread in threads:+ thread.join()+ stop.set()+ sampler.join(timeout=5)+ (OUT / f"wave-{number}-slots.json").write_text(+ json.dumps(samples, indent=2) + "\n", encoding="utf-8")+ if errors:+ raise RuntimeError(f"wave {number} failed: {errors}")+ active = 0+ for sample_row in samples:+ busy = [slot for slot in (sample_row.get("slots") or []) if slot.get("state") != "idle"]+ active = max(active, len(busy))+ paired = assign_engines([+ (name, found[name][1]["client_start"], found[name][0]) for name, _req, _expected in jobs])+ for name, _req, expected in jobs:+ got, client = found[name]+ if not client["text"]:+ raise RuntimeError(f"wave {number} {name} returned no text")+ engine = paired[name]+ if engine is None:+ raise RuntimeError(f"wave {number} {name} has no /metrics row")+ row = {"label": f"wave-{number}-{name}", "expected_prompt_tokens": got,+ "request_sha256": hashlib.sha256(bodies[name]).hexdigest(),+ "overlap_samples": len(samples), "max_busy_slots_seen": active,+ **{k: v for k, v in client.items() if k != "chunks"},+ "stream_chunks": client["chunks"], "engine": engine, **rates(engine)}+ rows.append(row)+ progress("done " + row["label"] + " " + json.dumps({+ "ttft_s": row["client_ttft_s"], "elapsed_s": row["client_elapsed_s"],+ "prefill_tok_s": row["prefill_tok_s"], "decode_tok_s": row["decode_tok_s"],+ "reused": engine.get("reused"), "finish": row["finish_reason"],+ "drafts": [engine.get("drafts_accepted"), engine.get("drafts_offered")],+ "hit_rate": engine.get("hit_rate"), "max_busy_slots_seen": active}))+ (OUT / "results.json").write_text(json.dumps(rows, indent=2) + "\n", encoding="utf-8")++ wave(1)+ wave(2)+ (OUT / "summary.json").write_text(json.dumps(rows, indent=2) + "\n", encoding="utf-8")+ progress("complete")+++if __name__ == "__main__":+ try:+ main()+ except Exception as error:+ progress(f"ERROR {type(error).__name__}: {error}")+ raisediff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/long/download-at-end.json b/bench/results/2026-10-04-community-rtx-5090-9700x/long/download-at-end.jsonnew file mode 100644index 000000000..6350b1b1b--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/long/download-at-end.json@@ -0,0 +1,4 @@+{+ "download_shard1_bytes_at_bench_end": 31565283328,+ "ended": "2026-10-04T22:29:13.3305238+08:00"+}diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/long/download-at-start.json b/bench/results/2026-10-04-community-rtx-5090-9700x/long/download-at-start.jsonnew file mode 100644index 000000000..469fae4a7--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/long/download-at-start.json@@ -0,0 +1,5 @@+{+ "started": "2026-10-04T22:25:11.7584744+08:00",+ "download_shard1_bytes_at_bench_start": 27420169757,+ "download_shard1_expected": 54817524224+}diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/long/initial-metrics.json b/bench/results/2026-10-04-community-rtx-5090-9700x/long/initial-metrics.jsonnew file mode 100644index 000000000..c39e359dd--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/long/initial-metrics.json@@ -0,0 +1,157 @@+{+ "engine": {+ "model": "qwen3.8-flash-next-iq3_xxs",+ "max_context": 262144,+ "images": true,+ "version": "0.1.39",+ "context": 262144,+ "kv": "int8",+ "kv_resident": 32768,+ "expert_slots": 12758,+ "expert_cache_mib": 21206,+ "expert_slots_primary": 12758,+ "expert_cache_primary_mib": 21206,+ "spec": 6,+ "mtp_max": 4,+ "lookup": 3,+ "vram_free_mib": 309,+ "cvec": 0,+ "arena_mib": 40925,+ "pool_workers": 7,+ "pcie_frac": "0.55",+ "spec_min_p": "0.50",+ "conversation_cache_mib": 8192,+ "conversation_cache_slots": 4,+ "conversation_cache_min_free_mib": 2560,+ "tail_role_token": -1,+ "vram_elastic": 0,+ "batch_slots": 2,+ "slot_cache": 1,+ "engine": "0.1.39"+ },+ "live": {+ "state": "idle",+ "queued": 0,+ "phase": null,+ "prompt_tokens": null,+ "prompt_read": null,+ "prompt_total": null,+ "generated": null,+ "max_tokens": null,+ "elapsed_s": null,+ "tok_s": null,+ "tok_s_mean": null,+ "prefill_tok_s_mean": null,+ "tok_s_window_s": null,+ "parallel": 2,+ "running": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ],+ "outside_slots": 0,+ "waiting": 0+ },+ "requests": [],+ "conversation_cache": {+ "enabled": true,+ "budget_mib": 8192,+ "slots": 4,+ "parked": 0,+ "bytes": 0,+ "evictions": 0,+ "parks": 0,+ "restores": 0,+ "last_event": null,+ "last_tokens": null,+ "last_at": null,+ "requests": 0,+ "requests_reused": 0,+ "reused_tokens": 0,+ "prompt_tokens": 0,+ "last_reused": null,+ "last_prompt": null+ },+ "requests_kept": 0,+ "totals": {+ "since": 1791123933.436775,+ "requests": 0,+ "prompt_tokens": 0,+ "reused": 0,+ "output_tokens": 0,+ "prompt_ms": 0.0,+ "decode_ms": 0.0,+ "drafts_offered": 0,+ "drafts_accepted": 0+ },+ "hardware": {+ "gpu_util": 1,+ "gpu_mem_used": 33336778752,+ "gpu_mem_total": 34190917632,+ "gpu_temp": 34,+ "gpu_power": 87.097,+ "gpu_power_limit": 402.5,+ "gpu_pcie_gen": 4,+ "gpu_pcie_gen_max": 4,+ "gpu_pcie_width": 16,+ "gpu_pcie_rx_mb": 0.0107421875,+ "gpu_pcie_tx_mb": 0.9521484375,+ "cpu": 0.0,+ "ram_used": 76892217344,+ "ram_total": 100589809664,+ "disk_read_mb": null,+ "disk_write_mb": null,+ "tok_s": 0.0,+ "tok_s_mean": 0,+ "prefill_tok_s_mean": 0.0+ },+ "hardware_static": {+ "gpu_name": "NVIDIA GeForce RTX 5090",+ "gpu_count": 1,+ "cpu_name": "AMD Ryzen 7 9700X 8-Core Processor",+ "cores": 8,+ "threads": 16,+ "psutil": true+ },+ "history": {+ "gpu_util": [+ 1+ ],+ "gpu_mem_used": [+ 33336778752+ ],+ "gpu_temp": [+ 34+ ],+ "gpu_power": [+ 87.1+ ],+ "gpu_pcie_rx_mb": [+ 0.01+ ],+ "cpu": [+ 0.0+ ],+ "ram_used": [+ 76892217344+ ],+ "disk_read_mb": [+ null+ ],+ "tok_s": [+ 0.0+ ],+ "prefill_tok_s_mean": [+ 0.0+ ]+ },+ "time": 1791123934.4520519+}diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/long/initial-status.json b/bench/results/2026-10-04-community-rtx-5090-9700x/long/initial-status.jsonnew file mode 100644index 000000000..7606421bf--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/long/initial-status.json@@ -0,0 +1,61 @@+{+ "service": "strata",+ "model": "qwen3.8-flash-next-iq3_xxs",+ "loaded": true,+ "auto_load": true,+ "structured_output": {+ "formats": [+ "json_object",+ "json_schema"+ ],+ "method": "prompt_and_validate",+ "constrained_decoding": false,+ "stream_buffered": true+ },+ "engine": "0.1.39",+ "started": 1791123933,+ "uptime_s": 0,+ "cache_max_tokens": 262144,+ "context": {+ "native": 262144,+ "max_positions": 262144+ },+ "concurrency": {+ "serving": 2,+ "requested": 2+ },+ "dialects": [+ "/v1/chat/completions",+ "/v1/messages",+ "/v1/responses"+ ],+ "vision": {+ "enabled": true,+ "available": true,+ "error": null+ },+ "activity": {+ "requests": 0,+ "in_flight": 0,+ "last_request_at": null+ },+ "last_timings": null,+ "vram": {+ "elastic": false+ },+ "machine": {+ "at": 1791123934,+ "gpu": {+ "name": "NVIDIA GeForce RTX 5090",+ "used_mib": 31792.0,+ "total_mib": 32607.0,+ "util_pct": 1,+ "temp_c": 34,+ "power_w": 87.097+ },+ "ram": {+ "used_gib": 71.6,+ "total_gib": 93.7+ }+ }+}diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/long/nvidia-loaded.csv b/bench/results/2026-10-04-community-rtx-5090-9700x/long/nvidia-loaded.csvnew file mode 100644index 000000000..a930639c4--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/long/nvidia-loaded.csv@@ -0,0 +1,2 @@+name, driver_version, memory.total [MiB], memory.used [MiB], power.limit [W], power.draw [W], pcie.link.gen.max, pcie.link.gen.current, pcie.link.width.max, pcie.link.width.current, clocks.current.sm [MHz], clocks.max.sm [MHz], utilization.gpu [%]+NVIDIA GeForce RTX 5090, 617.14, 32607 MiB, 31373 MiB, 402.50 W, 72.73 W, 4, 4, 16, 16, 2985 MHz, 3090 MHz, 0 %diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/long/results.json b/bench/results/2026-10-04-community-rtx-5090-9700x/long/results.jsonnew file mode 100644index 000000000..c7a9e1ca6--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/long/results.json@@ -0,0 +1,268 @@+[+ {+ "label": "full-window-run-1",+ "expected_prompt_tokens": 261880,+ "request_sha256": "64861e69a4e8ee5356394302a475683732b8f77fd0561416ea2fad775a94ed7c",+ "client_ttft_s": 45.05743759998586,+ "client_elapsed_s": 47.05395810000482,+ "client_start": 1791123940.6906683,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 261880,+ "completion_tokens": 256,+ "total_tokens": 262136,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. At first glance, the code appears to be a massive block of boilerplate, but upon closer inspection, it reveals a precise mathematical pattern governed by modular arithmetic. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` represents a sequential integer index. Each function accepts a single integer argument, `value`, and returns an integer result derived from a linear transformation followed by a modulo operation.\n\n### The Mathematical Core: Deterministic Linear Transforms\n\nThe core logic of every function in this module follows the formula:\n$$ f(x) = (x \\cdot a + b) \\pmod{100003} $$\n\nHere, $x$ is the input `value`, $a$ is a multiplier, $b$ is an additive constant, and the modulus is the prime number $100003$. This structure is known as a **Linear Congruential Generator (LCG)** step or a simple affine transformation over a finite field. Because the modulus is a prime number, the arithmetic operations behave predictably within the range $[0, 10000",+ "stream_chunks": 254,+ "engine": {+ "projection": null,+ "time": 1791123941.004866,+ "duration_s": 46.8,+ "finish": "length",+ "prompt_tokens": 261880,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 261880,+ "prompt_read": 261880,+ "engine_generated": 256,+ "prompt_ms": 44685.3,+ "decode_ms": 2005.9,+ "decode_tok_s": 127.6,+ "hit_rate": 0.957,+ "pcie_share": 0.021,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 220,+ "drafts_accepted": 147+ },+ "prefill_tok_s": 5860.540267157207,+ "decode_tok_s": 127.62351064360138+ },+ {+ "label": "full-window-run-2",+ "expected_prompt_tokens": 261880,+ "request_sha256": "9600668e7da1cf8ebd5539b6379d5f5cc79200758855bb815dfa241826ded594",+ "client_ttft_s": 46.00728769999114,+ "client_elapsed_s": 47.64105800000834,+ "client_start": 1791123993.7582417,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 261880,+ "completion_tokens": 256,+ "total_tokens": 262136,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. The code consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` represents a sequential index. Despite the sheer volume of code, the underlying logic is uniform and mathematically precise, offering a fascinating case study in algorithmic consistency, modulo arithmetic, and software maintainability.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of every function in this module is a linear transformation followed by a modulo operation. The general formula for any given task `i` can be expressed as:\n\n$$ f_i(v) = (v \\cdot a_i + b_i) \\pmod{100003} $$\n\nHere, $v$ is the input integer, $a_i$ is a multiplier, and $b_i$ is an additive constant. The modulus, $100003$, is a prime number. This choice is significant in computer science and cryptography because prime moduli ensure that the ring of integers modulo $p$ forms a field, meaning every non-zero element has a multiplicative inverse. This property guarantees that the transformation is bijective (one-to-one",+ "stream_chunks": 254,+ "engine": {+ "projection": null,+ "time": 1791123994.0790868,+ "duration_s": 47.3,+ "finish": "length",+ "prompt_tokens": 261880,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 261880,+ "prompt_read": 261880,+ "engine_generated": 256,+ "prompt_ms": 45629.1,+ "decode_ms": 1641.3,+ "decode_tok_s": 156.0,+ "hit_rate": 0.984,+ "pcie_share": 0.006,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 213,+ "drafts_accepted": 148+ },+ "prefill_tok_s": 5739.319863858809,+ "decode_tok_s": 155.9739231097301+ },+ {+ "label": "wave-1-a",+ "expected_prompt_tokens": 128000,+ "request_sha256": "31d25b5cedd7ebd5568278a75276e06ada2aa75522d74be1507793a1bd6a1d38",+ "overlap_samples": 26,+ "max_busy_slots_seen": 2,+ "client_ttft_s": 21.977954700007103,+ "client_elapsed_s": 32.35983239999041,+ "client_start": 1791124047.380827,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 128000+ }+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. At first glance, the code appears to be a massive block of boilerplate, but upon closer inspection, it reveals a precise mathematical pattern governed by modular arithmetic. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` represents a sequential index. Each function accepts a single integer argument, `value`, and returns an integer result derived from a linear transformation followed by a modulo operation.\n\n### The Mathematical Core: Linear Transforms and Modulo Arithmetic\n\nThe core logic of every function in this module follows the formula:\n$$ f(x) = (x \\cdot a + b) \\pmod{100003} $$\n\nHere, $x$ is the input `value`, $a$ is a multiplier, and $b$ is an additive constant. The modulus, $100003$, is a prime number. Using a prime modulus is significant in computer science and cryptography because it ensures that the ring of integers modulo $100003$ is a field. This property guarantees that for any non-zero multiplier $a$, the transformation is bijective (one",+ "stream_chunks": 254,+ "engine": {+ "projection": null,+ "time": 1791124047.5507667,+ "duration_s": 32.2,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 128000,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 1,+ "engine_generated": 255,+ "prompt_ms": 1.7,+ "decode_ms": 9606.6,+ "decode_tok_s": 26.5,+ "hit_rate": 0.996,+ "pcie_share": 0.0,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 0,+ "drafts_accepted": 0+ },+ "prefill_tok_s": 0.0,+ "decode_tok_s": 26.544250827556056+ },+ {+ "label": "wave-1-b",+ "expected_prompt_tokens": 128000,+ "request_sha256": "5ebe0e23d778d4459d39eee60aa984c20ad59b4caa1ad5b110add50434a2bd39",+ "overlap_samples": 26,+ "max_busy_slots_seen": 2,+ "client_ttft_s": 46.76185860001715,+ "client_elapsed_s": 50.503047400008654,+ "client_start": 1791124047.380827,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 128003+ }+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. At its core, the module defines a series of functions named `task_XXXXX`, where `XXXXX` represents a zero-padded integer index ranging from 00000 to 3404. Each function accepts a single integer argument, `value`, and returns an integer result derived from a specific linear transformation followed by a modulo operation.\n\n### The Mathematical Core: Linear Transforms and Modulo Arithmetic\n\nThe fundamental logic of every function in this module follows the pattern:\n`return (value * multiplier + offset) % 100003`\n\nHere, `100003` is a prime number. Using a prime modulus is a standard practice in cryptography and hashing algorithms because it ensures that the mapping is bijective (one-to-one) for inputs within the range $[0, 100002]$, provided the multiplier is not a multiple of the modulus. Since the multipliers used in this module range from 1 to 97, and 100003 is prime, every function is a permutation of the input space modulo 100",+ "stream_chunks": 254,+ "engine": {+ "projection": null,+ "time": 1791124047.6865034,+ "duration_s": 50.2,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 128003,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 1,+ "engine_generated": 252,+ "prompt_ms": 1306.1,+ "decode_ms": 1584.7,+ "decode_tok_s": 159.0,+ "hit_rate": 0.987,+ "pcie_share": 0.005,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 209,+ "drafts_accepted": 154+ },+ "prefill_tok_s": -2.2969144782175945,+ "decode_tok_s": 159.02063482047075+ },+ {+ "label": "wave-2-a",+ "expected_prompt_tokens": 128000,+ "request_sha256": "ff05afe690fdcad56fcf2186a1e5bd465410e297d8ffba390764bde1700c7b3a",+ "overlap_samples": 25,+ "max_busy_slots_seen": 2,+ "client_ttft_s": 21.064763599977596,+ "client_elapsed_s": 31.426203599985456,+ "client_start": 1791124103.76177,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 128000+ }+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. At its core, the module defines a series of functions named `task_XXXXX`, where `XXXXX` represents a zero-padded integer index ranging from 00000 to at least 03404. Each function accepts a single integer argument `value` and returns an integer result. The underlying logic for every function follows a strict linear congruential pattern: `(value * multiplier + offset) % 100003`.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nThe primary mathematical operation in this module is a linear transformation followed by a modulo operation. The formula `(value * A + B) % M` is a classic example of a linear congruential generator (LCG) step, often used in pseudo-random number generation and hashing. Here, `M` is fixed at `100003`, which is a prime number. Using a prime modulus is significant because it ensures that the multiplicative group of integers modulo `M` is cyclic, allowing for better distribution properties and invertibility of the multiplication step (provided the multiplier is not a multiple of `M`).\n\n",+ "stream_chunks": 256,+ "engine": {+ "projection": null,+ "time": 1791124104.0397403,+ "duration_s": 31.1,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 128000,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 1,+ "engine_generated": 255,+ "prompt_ms": 1.5,+ "decode_ms": 9688.7,+ "decode_tok_s": 26.3,+ "hit_rate": 0.998,+ "pcie_share": 0.0,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 0,+ "drafts_accepted": 0+ },+ "prefill_tok_s": 0.0,+ "decode_tok_s": 26.319320445467397+ },+ {+ "label": "wave-2-b",+ "expected_prompt_tokens": 128000,+ "request_sha256": "86947fab7c73727bee3a875f0a1acb7946710a641dc5787653862a8548104e50",+ "overlap_samples": 25,+ "max_busy_slots_seen": 2,+ "client_ttft_s": 45.826856599975144,+ "client_elapsed_s": 49.469807499990566,+ "client_start": 1791124103.76177,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 128003+ }+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for evaluating code generation, static analysis, and execution performance. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. Each function accepts a single integer argument `value` and returns an integer result derived from a specific linear transformation followed by a modulo operation.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of every function in this module is a deterministic linear transform. The general pattern for a function `task_N` is:\n\n```python\nreturn (value * multiplier + offset) % 100003\n```\n\nHere, `multiplier` and `offset` are constants specific to each task index. For example, `task_00000` uses `multiplier=1` and `offset=0`, while `task_00001` uses `multiplier=2` and `offset=1`. This pattern continues, with the multiplier and offset generally increasing with the task index. However, the module exhibits a cyclical behavior in the multiplier. After reaching a multiplier of 97 (e.g., in",+ "stream_chunks": 252,+ "engine": {+ "projection": null,+ "time": 1791124104.1605284,+ "duration_s": 49.1,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 128003,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 1,+ "engine_generated": 252,+ "prompt_ms": 1091.5,+ "decode_ms": 1710.0,+ "decode_tok_s": 147.4,+ "hit_rate": 0.985,+ "pcie_share": 0.006,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 209,+ "drafts_accepted": 149+ },+ "prefill_tok_s": -2.7485112230874944,+ "decode_tok_s": 147.3684210526316+ }+]diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/long/wave-1-slots.json b/bench/results/2026-10-04-community-rtx-5090-9700x/long/wave-1-slots.jsonnew file mode 100644index 000000000..c0f0795e3--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/long/wave-1-slots.json@@ -0,0 +1,550 @@+[+ {+ "t": 1791124047.37683,+ "state": "idle",+ "running": 0,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124049.400567,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124051.40736,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124053.4098706,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124055.4420087,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124057.44268,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124059.4747925,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124061.4770374,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124063.506213,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124065.5247805,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124067.555259,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 0+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124069.5789437,+ "state": "reading",+ "running": 2,+ "outside_slots": 1,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "reading",+ "prompt_tokens": 128001,+ "generated": 0,+ "elapsed_s": 0.2,+ "tok_s": null+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 0+ }+ ]+ },+ {+ "t": 1791124071.593813,+ "state": "reading",+ "running": 2,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "decoding",+ "prompt_tokens": 128001,+ "generated": 3,+ "elapsed_s": 2.2,+ "tok_s": 2.1+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 1.5,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124073.62037,+ "state": "reading",+ "running": 2,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "decoding",+ "prompt_tokens": 128001,+ "generated": 60,+ "elapsed_s": 4.3,+ "tok_s": 17.2+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 3.5,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124075.6373534,+ "state": "reading",+ "running": 2,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "decoding",+ "prompt_tokens": 128001,+ "generated": 118,+ "elapsed_s": 6.3,+ "tok_s": 21.4+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 5.5,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124077.6519382,+ "state": "reading",+ "running": 2,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "decoding",+ "prompt_tokens": 128001,+ "generated": 185,+ "elapsed_s": 8.3,+ "tok_s": 24.6+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 7.5,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124079.6548202,+ "state": "reading",+ "running": 2,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "decoding",+ "prompt_tokens": 128001,+ "generated": 250,+ "elapsed_s": 10.3,+ "tok_s": 26.3+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 9.5,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124081.6709297,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 11.5,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124083.6882024,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 13.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124085.6895373,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 15.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124087.72036,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 17.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124089.7513845,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 19.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124091.767974,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 21.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124093.7993526,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 23.7,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124095.8265145,+ "state": "generating",+ "running": 1,+ "outside_slots": 1,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124097.8551552,+ "state": "generating",+ "running": 1,+ "outside_slots": 1,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ }+]diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/long/wave-2-slots.json b/bench/results/2026-10-04-community-rtx-5090-9700x/long/wave-2-slots.jsonnew file mode 100644index 000000000..b50636a71--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/long/wave-2-slots.json@@ -0,0 +1,531 @@+[+ {+ "t": 1791124103.7560246,+ "state": "idle",+ "running": 0,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124105.7976668,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124107.803841,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124109.818607,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124111.8491628,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124113.853499,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124115.8813536,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124117.899722,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124119.9162865,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124121.9471583,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124123.9782083,+ "state": "reading",+ "running": 2,+ "outside_slots": 2,+ "waiting": 1,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ },+ {+ "t": 1791124125.9891484,+ "state": "reading",+ "running": 2,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "decoding",+ "prompt_tokens": 128001,+ "generated": 4,+ "elapsed_s": 1.2,+ "tok_s": 8.5+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 0.5,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124128.0059881,+ "state": "reading",+ "running": 2,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "decoding",+ "prompt_tokens": 128001,+ "generated": 60,+ "elapsed_s": 3.2,+ "tok_s": 24.1+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 2.5,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124130.0138557,+ "state": "reading",+ "running": 2,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "decoding",+ "prompt_tokens": 128001,+ "generated": 113,+ "elapsed_s": 5.2,+ "tok_s": 25.1+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 4.5,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124132.031197,+ "state": "reading",+ "running": 2,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "decoding",+ "prompt_tokens": 128001,+ "generated": 166,+ "elapsed_s": 7.2,+ "tok_s": 25.5+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 6.5,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124134.0623665,+ "state": "reading",+ "running": 2,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "decoding",+ "prompt_tokens": 128001,+ "generated": 219,+ "elapsed_s": 9.2,+ "tok_s": 25.6+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 8.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124136.0678797,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 10.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124138.0952973,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 12.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124140.1009843,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 14.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124142.12498,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 16.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124144.154808,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 18.6,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124146.174386,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 20.7,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124148.1916153,+ "state": "reading",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 22.7,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124150.2204735,+ "state": "generating",+ "running": 1,+ "outside_slots": 0,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "reading",+ "prompt_tokens": 128000,+ "generated": 0,+ "elapsed_s": 24.7,+ "tok_s": null+ }+ ]+ },+ {+ "t": 1791124152.23667,+ "state": "generating",+ "running": 1,+ "outside_slots": 1,+ "waiting": 0,+ "slots": [+ {+ "slot": 0,+ "state": "idle",+ "held_tokens": 128255+ },+ {+ "slot": 1,+ "state": "idle",+ "held_tokens": 128003+ }+ ]+ }+]diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/needles.json b/bench/results/2026-10-04-community-rtx-5090-9700x/needles.jsonnew file mode 100644index 000000000..a8e569a34--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/needles.json@@ -0,0 +1,56 @@+[+ {+ "length": "32k",+ "depth": 10,+ "prompt_tokens": 32171,+ "seconds": 24.8,+ "found": true,+ "word": "meadow-copper-504",+ "answer": "meadow-copper-504"+ },+ {+ "length": "32k",+ "depth": 50,+ "prompt_tokens": 32171,+ "seconds": 5.4,+ "found": true,+ "word": "falcon-quartz-940",+ "answer": "falcon-quartz-940"+ },+ {+ "length": "32k",+ "depth": 90,+ "prompt_tokens": 32172,+ "seconds": 2.9,+ "found": true,+ "word": "willow-cobalt-696",+ "answer": "willow-cobalt-696"+ },+ {+ "length": "128k",+ "depth": 10,+ "prompt_tokens": 125451,+ "seconds": 63.7,+ "found": true,+ "word": "falcon-saffron-138",+ "answer": "falcon-saffron-138"+ },+ {+ "length": "128k",+ "depth": 50,+ "prompt_tokens": 125449,+ "seconds": 31.8,+ "found": true,+ "word": "quartz-tundra-528",+ "answer": "quartz-tundra-528"+ },+ {+ "length": "128k",+ "depth": 90,+ "prompt_tokens": 125449,+ "seconds": 32.4,+ "found": true,+ "word": "quartz-glacier-192",+ "answer": "quartz-glacier-192"+ }+]\ No newline at end of filediff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/nvidia-loaded.csv b/bench/results/2026-10-04-community-rtx-5090-9700x/nvidia-loaded.csvnew file mode 100644index 000000000..1ed7bf308--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/nvidia-loaded.csv@@ -0,0 +1,2 @@+name, driver_version, memory.total [MiB], memory.used [MiB], power.limit [W], power.draw [W], pcie.link.gen.max, pcie.link.gen.current, pcie.link.width.max, pcie.link.width.current, clocks.current.sm [MHz], clocks.max.sm [MHz], utilization.gpu [%]+NVIDIA GeForce RTX 5090, 617.14, 32607 MiB, 31373 MiB, 402.50 W, 31.88 W, 4, 2, 16, 16, 247 MHz, 3090 MHz, 0 %diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/results.json b/bench/results/2026-10-04-community-rtx-5090-9700x/results.jsonnew file mode 100644index 000000000..50f10d650--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/results.json@@ -0,0 +1,392 @@+[+ {+ "label": "warmup",+ "expected_prompt_tokens": null,+ "request_sha256": "12311d5e48e02a0ada9952e4fb9811465df8268269e26312d686062fb511a37b",+ "client_ttft_s": 0.38854100002208725,+ "client_elapsed_s": 0.4445072000089567,+ "finish_reason": "stop",+ "usage": {+ "prompt_tokens": 19,+ "completion_tokens": 2,+ "total_tokens": 21,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791122601.8904502,+ "duration_s": 0.4,+ "finish": "stop",+ "prompt_tokens": 19,+ "reused": 0,+ "output_tokens": 2,+ "prompt_total": 19,+ "prompt_read": 19,+ "engine_generated": 2,+ "prompt_ms": 355.5,+ "decode_ms": 84.2,+ "decode_tok_s": 23.8,+ "hit_rate": 0.748,+ "pcie_share": 0.175,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 3,+ "drafts_accepted": 3+ },+ "text": "READY"+ },+ {+ "label": "tokens-4096-run-1",+ "expected_prompt_tokens": 4096,+ "request_sha256": "13175ff1cd4e404ddbcee1095408952fb5359fcafd88d3e5db1ef0bf8d65d2cd",+ "client_ttft_s": 1.5851345999981277,+ "client_elapsed_s": 3.542101200000616,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791122602.8954973,+ "duration_s": 3.5,+ "finish": "length",+ "prompt_tokens": 4096,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 4096,+ "prompt_read": 4096,+ "engine_generated": 256,+ "prompt_ms": 1565.2,+ "decode_ms": 1966.1,+ "decode_tok_s": 130.2,+ "hit_rate": 0.951,+ "pcie_share": 0.025,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 221,+ "drafts_accepted": 150+ },+ "text": "The provided Python module represents a synthetic benchmark designed to evaluate the performance and correctness of deterministic integer transforms under specific modular arithmetic constraints. The code consists of a series of functions, labeled `task_00000` through `task_00112` (and presumably continuing beyond the truncated snippet), each accepting a single integer argument `value` and returning an integer result. While the functions appear distinct in their naming, they share a common structural pattern that reveals a systematic approach to generating test cases or benchmarking arithmetic operations.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of this module is the concept of a **deterministic integer transform**. Each function applies a linear transformation to the input `value` before reducing it modulo a fixed prime number, `100003`. The general formula for each task can be expressed as:\n\n$$ f_n(v) = (v \\cdot a_n + b_n) \\pmod{100003} $$\n\nwhere $n$ is the task index, $a_n$ is the multiplier, and $b_n$ is the additive constant. For the first 97 tasks (`task_00000` to `task_0"+ },+ {+ "label": "tokens-4096-run-2",+ "expected_prompt_tokens": 4096,+ "request_sha256": "37d6e0bddaad74bacac569c2668b1a2c8088cb4a1b616f48ea59801e9502f561",+ "client_ttft_s": 1.0876294000190683,+ "client_elapsed_s": 2.552530700020725,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791122606.9723728,+ "duration_s": 2.6,+ "finish": "length",+ "prompt_tokens": 4096,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 4096,+ "prompt_read": 4096,+ "engine_generated": 256,+ "prompt_ms": 1070.9,+ "decode_ms": 1472.2,+ "decode_tok_s": 173.9,+ "hit_rate": 0.979,+ "pcie_share": 0.01,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 202,+ "drafts_accepted": 159+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory allocation, and interpreter overhead of a Python environment. The code consists of a series of functions, `task_00000` through `task_00112` (and potentially more, as the snippet cuts off), each performing a specific linear transformation on an integer input. This analysis explores the mathematical structure, implementation details, and software engineering implications of this module.\n\n### Mathematical Structure and Deterministic Transforms\n\nAt its core, every function in this module implements a linear congruential generator (LCG) step or a simple affine transformation. The general formula for any function `task_NNNNN` is:\n\n$$ f(x) = (x \\cdot a + b) \\pmod{m} $$\n\nWhere:\n* $x$ is the input integer `value`.\n* $a$ is the multiplier.\n* $b$ is the additive constant.\n* $m$ is the modulus, fixed at `100003`.\n\nFor the first 97 functions (`task_00000` to `task_00096`), the multiplier $a$"+ },+ {+ "label": "tokens-4096-run-3",+ "expected_prompt_tokens": 4096,+ "request_sha256": "b151e97f8bc1dbcd1a316800fd29f6bb061f8f0413a04ec1fad0a2b5814195f7",+ "client_ttft_s": 1.105765300017083,+ "client_elapsed_s": 2.5895708000171,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791122610.0768266,+ "duration_s": 2.6,+ "finish": "length",+ "prompt_tokens": 4096,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 4096,+ "prompt_read": 4096,+ "engine_generated": 256,+ "prompt_ms": 1084.9,+ "decode_ms": 1490.7,+ "decode_tok_s": 171.7,+ "hit_rate": 0.985,+ "pcie_share": 0.005,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 230,+ "drafts_accepted": 154+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. The code consists of a series of functions, named `task_00000` through `task_00112` (and presumably continuing), each accepting a single integer argument `value` and returning an integer result. The core logic of every function follows a strict linear congruential pattern: `(value * multiplier + offset) % 100003`. This structure allows for a deep analysis of algorithmic consistency, modular arithmetic properties, and software maintainability challenges inherent in generated code.\n\n### Deterministic Integer Transforms and Linear Congruential Generators\n\nAt its heart, this module implements a family of **Linear Congruential Functions**. A linear congruential generator (LCG) is typically defined by the recurrence relation $X_{n+1} = (aX_n + c) \\mod m$. In this module, each function represents a specific instance of this formula where:\n* $a$ (the multiplier) increases sequentially from 1 to 96, then resets or continues in a specific pattern (e.g., `task_00097` uses multiplier "+ },+ {+ "label": "tokens-32768-run-1",+ "expected_prompt_tokens": 32768,+ "request_sha256": "555283394bef1f199d5bd05b6d70a4234e0cc8176ba4444c03a16115a388623a",+ "client_ttft_s": 5.336528999992879,+ "client_elapsed_s": 6.742263899999671,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791122613.7451634,+ "duration_s": 6.7,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 5267.4,+ "decode_ms": 1412.6,+ "decode_tok_s": 181.2,+ "hit_rate": 0.989,+ "pcie_share": 0.004,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 222,+ "drafts_accepted": 155+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for evaluating code generation, static analysis, and execution performance. The module consists of a series of functions named `task_00000` through `task_00888` (and potentially beyond, given the truncation), each adhering to a strict signature: `def task_XXXXX(value: int) -> int`. The core logic within each function is a deterministic integer transform followed by a modulo operation. This analysis explores the mathematical properties, structural design, testing implications, and maintainability challenges inherent in this codebase.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the heart of every function in this module is a linear transformation of the input `value`. The general form of the transformation is:\n\n$$ f(x) = (x \\cdot a + b) \\pmod{100003} $$\n\nwhere $a$ is the multiplier and $b$ is the additive constant. In the provided code, these parameters follow a specific pattern. For the first block of functions (`task_00000` to `task_00096`), the multiplier $a$ increases linear"+ },+ {+ "label": "tokens-32768-run-2",+ "expected_prompt_tokens": 32768,+ "request_sha256": "75456fa5764f4bb76402eeda11039ace6f323076443112fce2a72b4e4c7ae6a0",+ "client_ttft_s": 5.217810400004964,+ "client_elapsed_s": 6.838820600009058,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791122621.5058591,+ "duration_s": 6.8,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 5146.6,+ "decode_ms": 1627.9,+ "decode_tok_s": 157.3,+ "hit_rate": 0.986,+ "pcie_share": 0.005,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 235,+ "drafts_accepted": 143+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. At first glance, the code appears to be a brute-force enumeration of linear functions, but a deeper analysis reveals a sophisticated pattern involving modular arithmetic, cyclic coefficients, and systematic naming conventions. This review will dissect the mathematical underpinnings, the structural design, and the implications for maintainability and testing.\n\n### Mathematical Structure: Deterministic Linear Transforms\n\nThe core logic of every function in this module follows the form:\n`return (value * multiplier + offset) % 100003`\n\nThis is a classic **linear congruential** style transform, specifically an affine transformation modulo a prime number. The modulus, `100003`, is a prime number. This choice is critical for cryptographic and hashing applications because it ensures that the multiplicative group modulo `100003` is cyclic. For any multiplier `m` where `1 <= m < 100003`, the mapping `x -> (m*x + c) % p` is a bijection (a one-to-one mapping) if `m` is not divisible by `p`. Since all multipliers in"+ },+ {+ "label": "tokens-32768-run-3",+ "expected_prompt_tokens": 32768,+ "request_sha256": "1a53360c19c5981933782ed2409b8496d9e20300904f1f003de6461a4d363589",+ "client_ttft_s": 5.1875866999907885,+ "client_elapsed_s": 6.5785261999990325,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791122629.3482542,+ "duration_s": 6.5,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 5134.7,+ "decode_ms": 1398.6,+ "decode_tok_s": 183.0,+ "hit_rate": 0.991,+ "pcie_share": 0.003,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 214,+ "drafts_accepted": 152+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for deterministic integer transforms. At first glance, the code appears to be a brute-force enumeration of linear functions, but a deeper analysis reveals a systematic pattern governed by modular arithmetic and specific indexing rules. This review will dissect the mathematical properties, structural design, and maintainability implications of the code.\n\n### Mathematical Structure and Deterministic Transforms\n\nThe core logic of every function in this module follows the linear equation:\n$$ f(x) = (x \\cdot a + b) \\pmod{100003} $$\n\nHere, $x$ is the input integer, $a$ is the multiplier, $b$ is the additive constant, and $100003$ is the modulus. The modulus $100003$ is a prime number, which is significant in cryptographic and hashing contexts because it ensures that the mapping is a bijection (a one-to-one correspondence) for any multiplier $a$ that is not a multiple of the modulus. Since the multipliers used in this code range from 1 to 97, none are multiples of 100003, guaranteeing that each function is invert"+ },+ {+ "label": "tokens-128000-run-1",+ "expected_prompt_tokens": 128000,+ "request_sha256": "0283f39f969a3ee2de34c9c9ce65874bf5c7faf4f0343f7e1fc05f57c6ccb7f1",+ "client_ttft_s": 20.69554220000282,+ "client_elapsed_s": 22.123664400016423,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791122638.9033406,+ "duration_s": 22.0,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 20510.5,+ "decode_ms": 1435.4,+ "decode_tok_s": 178.3,+ "hit_rate": 0.99,+ "pcie_share": 0.003,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 224,+ "drafts_accepted": 152+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for evaluating code generation, static analysis, and execution performance. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. Each function accepts a single integer argument `value` and returns an integer result derived from a specific linear transformation followed by a modulo operation.\n\n### The Core Mathematical Transform\n\nAt the heart of every function in this module is a deterministic integer transform of the form:\n\n$$ f(x) = (x \\cdot a + b) \\pmod m $$\n\nWhere:\n* $x$ is the input `value`.\n* $a$ is a multiplier coefficient.\n* $b$ is an additive constant.\n* $m$ is the modulus, fixed at `100003` for all functions.\n\nThis structure is known as a **Linear Congruential Generator (LCG)** step or a simple affine transformation. In modular arithmetic, these operations are fundamental for creating pseudo-random number generators, hashing functions, and cryptographic primitives. The modulus `100003` is a prime number, which ensures that the"+ },+ {+ "label": "tokens-128000-run-2",+ "expected_prompt_tokens": 128000,+ "request_sha256": "46ff43bf09e9114e9f4e81436bbc942e89cbc76b10e506df1f01275168e45287",+ "client_ttft_s": 21.236363599979086,+ "client_elapsed_s": 22.55376909999177,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791122663.8453002,+ "duration_s": 22.4,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 21051.9,+ "decode_ms": 1324.2,+ "decode_tok_s": 193.3,+ "hit_rate": 0.991,+ "pcie_share": 0.003,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 219,+ "drafts_accepted": 165+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for evaluating code generation, pattern recognition, and execution efficiency. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. Each function accepts a single integer argument `value` and returns an integer result derived from a specific linear transformation followed by a modulo operation.\n\n### The Mathematical Core: Deterministic Linear Transforms\n\nAt the heart of every function in this module lies a deterministic linear transform of the form:\n\n$$ f(x) = (a \\cdot x + b) \\pmod{m} $$\n\nWhere:\n* $x$ is the input `value`.\n* $a$ is the multiplier coefficient.\n* $b$ is the additive constant.\n* $m$ is the modulus, fixed at **100003** for all functions.\n\nThe coefficients $a$ and $b$ are not random; they follow a strict, cyclical pattern based on the function's index. For the first function, `task_00000`, the formula is `(value * 1 + 0) % 1"+ },+ {+ "label": "tokens-128000-run-3",+ "expected_prompt_tokens": 128000,+ "request_sha256": "4d9679d2b59a3b613ec06f8319a859b18e0df7d897b1659b2d5c4f849dd00e7c",+ "client_ttft_s": 21.39919419999933,+ "client_elapsed_s": 22.860917200014228,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791122689.2459922,+ "duration_s": 22.7,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 21202.3,+ "decode_ms": 1469.0,+ "decode_tok_s": 174.3,+ "hit_rate": 0.992,+ "pcie_share": 0.002,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 234,+ "drafts_accepted": 156+ },+ "text": "This synthetic Python module presents a highly structured, repetitive collection of functions that serve as a benchmark for evaluating code generation, static analysis, and execution performance. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. Each function accepts a single integer argument `value` and returns an integer result derived from a specific linear transformation followed by a modulo operation.\n\n### The Mathematical Core: Deterministic Linear Transforms\n\nAt the heart of every function in this module is a deterministic linear transform. The general formula for any given task `n` can be expressed as:\n\n$$ f_n(v) = (v \\cdot a_n + b_n) \\pmod{100003} $$\n\nWhere:\n* $v$ is the input integer.\n* $a_n$ is the multiplier coefficient.\n* $b_n$ is the additive constant.\n* $100003$ is the modulus.\n\nIn the provided code, the coefficients $a_n$ and $b_n$ follow a strict pattern. For the first block of tasks (indices 0 to 96), the multiplier $a_n$ increases linearly"+ }+]diff --git a/bench/results/2026-10-04-community-rtx-5090-9700x/summary.json b/bench/results/2026-10-04-community-rtx-5090-9700x/summary.jsonnew file mode 100644index 000000000..8995670d7--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-5090-9700x/summary.json@@ -0,0 +1,113 @@+{+ "4096": {+ "prompt_tokens": {+ "median": 4096,+ "min": 4096,+ "max": 4096+ },+ "cached_tokens": {+ "median": 0,+ "min": 0,+ "max": 0+ },+ "output_tokens": {+ "median": 256,+ "min": 256,+ "max": 256+ },+ "client_ttft_s": {+ "median": 1.105765300017083,+ "min": 1.0876294000190683,+ "max": 1.5851345999981277+ },+ "client_elapsed_s": {+ "median": 2.5895708000171,+ "min": 2.552530700020725,+ "max": 3.542101200000616+ },+ "prefill_tok_s": {+ "median": 3775.4631763296147,+ "min": 2616.917965755175,+ "max": 3824.8202446540286+ },+ "decode_tok_s": {+ "median": 171.73140135506807,+ "min": 130.2070087991455,+ "max": 173.88941719875018+ }+ },+ "32768": {+ "prompt_tokens": {+ "median": 32768,+ "min": 32768,+ "max": 32768+ },+ "cached_tokens": {+ "median": 0,+ "min": 0,+ "max": 0+ },+ "output_tokens": {+ "median": 256,+ "min": 256,+ "max": 256+ },+ "client_ttft_s": {+ "median": 5.217810400004964,+ "min": 5.1875866999907885,+ "max": 5.336528999992879+ },+ "client_elapsed_s": {+ "median": 6.742263899999671,+ "min": 6.5785261999990325,+ "max": 6.838820600009058+ },+ "prefill_tok_s": {+ "median": 6366.921851319317,+ "min": 6220.905949804458,+ "max": 6381.6776053128715+ },+ "decode_tok_s": {+ "median": 181.22610788616737,+ "min": 157.25781681921492,+ "max": 183.04018304018305+ }+ },+ "128000": {+ "prompt_tokens": {+ "median": 128000,+ "min": 128000,+ "max": 128000+ },+ "cached_tokens": {+ "median": 0,+ "min": 0,+ "max": 0+ },+ "output_tokens": {+ "median": 256,+ "min": 256,+ "max": 256+ },+ "client_ttft_s": {+ "median": 21.236363599979086,+ "min": 20.69554220000282,+ "max": 21.39919419999933+ },+ "client_elapsed_s": {+ "median": 22.55376909999177,+ "min": 22.123664400016423,+ "max": 22.860917200014228+ },+ "prefill_tok_s": {+ "median": 6080.211287342235,+ "min": 6037.08088273442,+ "max": 6240.705979863972+ },+ "decode_tok_s": {+ "median": 178.34749895499513,+ "min": 174.26820966643976,+ "max": 193.3242712581181+ }+ }+}