Skip to content

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++

bench: community report, 4x Tesla P100 16 GB (CUDA 12 engine), IQ3_XXS (PR #1192)

apollo-mg6024082a33e4
diff --git a/bench/results/2026-10-06-community-4x-tesla-p100/README.md b/bench/results/2026-10-06-community-4x-tesla-p100/README.md
new file mode 100644
index 000000000..dbc12beb0
--- /dev/null
+++ b/bench/results/2026-10-06-community-4x-tesla-p100/README.md
@@ -0,0 +1,106 @@
+# Community benchmark on 4x Tesla P100 16 GB (Pascal, sm_60)
+
+Measured on 2026-10-06 by apollo-mg. This is the experimental CUDA 12 engine on Pascal, which docs/OLDER_GPUS.md lists as "not measured" for the P100.
+- **Model and setup:** the installer's configuration for the GSQ-RCO IQ3_XXS model across all four cards.
+- **What was measured:** short, ~4.4K and ~36.4K token prompts.
+- **Main limitation:** a single machine with the GPU clocks pinned at 1063 MHz, and the engine built with CUDA 12.4, not the 12.8 / 12.9 you test with.
+
+## Hardware and software
+
+- **GPUs:** 4x Tesla P100-PCIE-16GB (compute capability 6.0), 150 W power limit.
+ - SM clock during every run was 1063 MHz, from per-second nvidia-smi samples.
+- **CPU and RAM:** 2x Intel Xeon E5-2650 v3 (AVX2, no AVX-512); 128 GB DDR4-2133 ECC (121 GB visible).
+- **Storage:** Samsung SSD 860 (SATA), about 76 MB/s on large sequential reads during this session. That only affects the first
+ load.
+- **PCIe:** not measured.
+- **OS and driver:** Ubuntu 26.04 LTS (kernel 7.0.0-34-generic), NVIDIA driver 580.173.02.
+- **CUDA:** 12.4 (`/usr/bin/nvcc`, V12.4.131), with gcc-13 as the CUDA host compiler. The system default is gcc 15,
+ which CUDA 12.4 does not support.
+- **Strata:** v0.1.39 (tag at `a1641e9`), source build by setup.
+ - There was no ready-made CUDA 12 engine for this setup ("no ready-made engine ... compiling instead").
+ - Engine: `engine-cuda12/strata`, built by setup with `STRATA_NVCC=/usr/bin/nvcc CUDAHOSTCXX=/usr/bin/g++-13`,
+ `--cuda 12`.
+- **Background workloads:** none. The machine was idle apart from the benchmark.
+
+## Model and configuration
+
+- **Model:** `ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF` IQ3_XXS at the revision setup pins (`ed59f92`).
+ - Shards `Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf` (sha256 `219ea929...56d15`) and `-00002`
+ (`316b46f3...1e113`), both verified.
+ - The files were already on disk and passed with `--gguf-dir`.
+- **Vision:** off (`--vision no`).
+- **Packs and profiles:** the pack and the MTP draft layer (q2_0 experts) were built by setup, with its default
+ expert profile.
+- **Context and KV:** max context 65536, `--kv int8`, KV streaming on (`--kv-resident 32768`).
+- **Expert cache:** auto, with `--remote-expert-opt` and a layer split across GPUs 0-3 (auto). `--prefill auto`.
+- **MTP and sampling:** `--spec 4 --spec-min-p 0.5`; reasoning effort `none`; temperature 0.
+- **Not enabled:** calibration and the experimental speed projection.
+
+```text
+./setup.sh --setup --family qwen --model IQ3_XXS --gguf-dir <folder with both shards> --gpus 0,1,2,3 --cuda 12 --vision no --yes
+engine args (from strata-iq3_xxs.json):
+--pack .../packs/iq3_xxs --native ...IQ3_XXS-00001-of-00002.gguf --ple-gguf ...IQ3_XXS-00002-of-00002.gguf
+--expert-profile data/expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5
+--mtp .../mtp/rt --max-context 65536 --kv int8 --kv-resident 32768 --remote-expert-opt
+```
+
+## Method
+
+- **Every request is fresh:** each request starts with a unique nonce line, so no prefix is reused. The engine log
+ reports `0 reused` for every request.
+- **Request settings:** output capped at 256 tokens; streaming; `reasoning_effort: none` (no reasoning tokens were
+ produced).
+- **Short prompts:** the two LocalMaxxing canonical prompts (`canonical_reasoning-v1.txt`, `canonical_code-v1.txt`),
+ sent by the LocalMaxxing `lmx` v0.1.48 CLI.
+ - One untimed warm-up request, then three timed requests, per server start.
+ - reasoning-v1 over two server starts, code-v1 over one.
+- **Long prompts:** Strata's own docs (`docs/*.md` + `README.md` at the measured commit) plus one question, built by
+ `strata_bench.py`.
+ - Three runs each, with no separate warm-up; the first ~4.4K run is the first request after load.
+- **Timings:**
+ - Prompt and decode throughput come from the engine's own `strata serve: prompt ... generated ...` lines, all of
+ which are in `runs.json`.
+ - TTFT is client-side: from sending the request to the first streamed token, which is answer text.
+- **Memory:** a snapshot after load (`free`, nvidia-smi).
+
+## Results
+
+| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median and range | Decode tok/s median and range | TTFT seconds median and range |
+| --- | ---: | ---: | ---: | ---: | --- | --- | --- |
+| reasoning-v1 (short) | 301-307 | 0 | 256 | 6 | 94.0 (92.9-94.7) | 33.5 (32.0-35.3) | 3.30 (3.27-3.34) |
+| code-v1 (short) | 239-242 | 0 | 256 | 3 | 86.1 (86.0-88.9) | 32.6 (32.2-33.2) | 2.83 (2.75-2.86) |
+| Strata docs, ~4.4K | 4441 | 0 | 256 | 3 | 239.4 (222.3-240.8) | 29.0 (27.5-29.4) | 18.63 (18.52-20.07) |
+| Strata docs, ~36.4K | 36356-36359 | 0 | 233-256 | 3 | 593.5 (583.5-594.9) | 28.0 (27.6-29.4) | 61.59 (61.38-62.58) |
+
+- **MTP drafts accepted / drafted:**
+ - short reasoning 167-174 / 215-240;
+ - short code 167-168 / 228-238;
+ - 4.4K 135-146 / 208-226;
+ - 36.4K 131-148 / 205-209.
+- **Decode expert cache hit rate:** 98.7-99.7 % over the 12 short-prompt requests. ~0 % of routed experts went over
+ PCIe; the whole IQ3_XXS expert arena fits in the four cards.
+- **Memory after load:** 49 GB of RAM used (72 GB available); VRAM 13.1 / 13.4 / 15.5 / 15.8 GB on GPUs 0-3.
+- **Two 36.4K runs ended before the cap** (233 and 235 tokens; the engine generated fewer than 256, so the model stopped on its own; finish reason not recorded).
+- **Failures:** none. Every request completed.
+
+**For context only (a different engine):** the same weights on llama.cpp (a fork at `0b2789f23`, tensor split, the
+Flash-Next MTP head at draft 3) decode the two short canonical prompts at a similar speed (33.4 tok/s median,
+measured by the same `lmx` CLI).
+
+## Correctness and limitations
+
+- Every answer was coherent text that addressed the prompt. Answer heads are in the per-run data; a short-prompt
+ example begins "### Part 1: Budget Calculation".
+- No accuracy check, needle test, tool call or image test was run.
+- **Untested:**
+ - other packs, including IQ3_S and the Unsloth 4-bit;
+ - prompts above ~36K;
+ - concurrency;
+ - unpinned clocks;
+ - the CUDA 12.8 / 12.9 toolkits.
+- Pascal emulates `__dp4a` (docs/OLDER_GPUS.md). This report does not separate that cost.
+
+Files: `runs.json` (engine timing lines and the table rows), `client_timing_long_prompts.jsonl`, `strata_bench.py`,
+and the two canonical prompts.
+
+(Test designed and run with my agent, Claude; I reviewed it before posting.)
diff --git a/bench/results/2026-10-06-community-4x-tesla-p100/canonical_code-v1.txt b/bench/results/2026-10-06-community-4x-tesla-p100/canonical_code-v1.txt
new file mode 100644
index 000000000..e4dda62aa
--- /dev/null
+++ b/bench/results/2026-10-06-community-4x-tesla-p100/canonical_code-v1.txt
@@ -0,0 +1,10 @@
+Implement a small command-line tool in Python called `logtally`.
+
+Requirements:
+- It reads newline-delimited JSON log records from stdin. Each record has `ts` (ISO-8601 string), `level` (one of DEBUG, INFO, WARN, ERROR), `service` (string), and optional `latency_ms` (number).
+- It prints, per service, the count of records by level and the p50 and p95 of `latency_ms` (ignore records without latency).
+- Malformed lines must be counted and reported at the end, never crash the program.
+- Support a `--since <ISO timestamp>` flag that drops earlier records.
+- Use only the standard library.
+
+After the code, explain in two or three sentences how you computed percentiles and why you chose that method, then list three edge cases a unit test suite should cover.
\ No newline at end of file
diff --git a/bench/results/2026-10-06-community-4x-tesla-p100/canonical_reasoning-v1.txt b/bench/results/2026-10-06-community-4x-tesla-p100/canonical_reasoning-v1.txt
new file mode 100644
index 000000000..634124b05
--- /dev/null
+++ b/bench/results/2026-10-06-community-4x-tesla-p100/canonical_reasoning-v1.txt
@@ -0,0 +1,11 @@
+You are helping a small robotics club plan a weekend build. Work through each part carefully and show your reasoning.
+
+1. The club has 7 members and a budget of 412 dollars. A motor driver costs 18.50, a microcontroller 23.75, and each member wants one of each plus a shared 3D-printer spool at 27.90. After buying everything, they split the remainder evenly on batteries priced at 6.35 each. How many batteries can they buy in total, and how much money is left over?
+
+2. Two members disagree about wheel size. Alice says a larger wheel gives more torque at the ground; Ben says it gives more speed. Explain who is right, what tradeoff is actually involved, and how gear ratio changes the answer.
+
+3. Write a short, plain-English procedure (six to nine steps) for safely testing a new motor circuit for the first time, including what to check before applying power.
+
+4. Finally, propose one creative feature for the robot that would be unusual for a club project, and give two concrete risks with how you would mitigate each.
+
+Answer all four parts in order with clear headings.
\ No newline at end of file
diff --git a/bench/results/2026-10-06-community-4x-tesla-p100/client_timing_long_prompts.jsonl b/bench/results/2026-10-06-community-4x-tesla-p100/client_timing_long_prompts.jsonl
new file mode 100644
index 000000000..7be364269
--- /dev/null
+++ b/bench/results/2026-10-06-community-4x-tesla-p100/client_timing_long_prompts.jsonl
@@ -0,0 +1,6 @@
+{"target_tokens": 4096, "prompt_tokens_tokenized": 3845, "run": 1, "nonce": "c5e721545f8023214812244dc400fff3", "ttft_s": 20.072, "total_s": 28.842, "first_to_last_s": 8.77, "usage": {"prompt_tokens": 4441, "completion_tokens": 256, "total_tokens": 4697, "prompt_tokens_details": {"cached_tokens": 0}}, "content_chars": 1287, "reasoning_chars": 0, "content_head": "Strata is a local inference engine designed to run large Mixture-of-Experts (MoE) models, specifically the Qwen3.8-Flash-Next family, on consumer hardware equipped with a single NVIDIA or AMD graphics"}
+{"target_tokens": 4096, "prompt_tokens_tokenized": 3845, "run": 2, "nonce": "da7d9ae7c48b8080545d4e571d7fe826", "ttft_s": 18.626, "total_s": 27.896, "first_to_last_s": 9.27, "usage": {"prompt_tokens": 4441, "completion_tokens": 256, "total_tokens": 4697, "prompt_tokens_details": {"cached_tokens": 0}}, "content_chars": 1267, "reasoning_chars": 0, "content_head": "Strata is a local inference engine that runs the large Qwen3.8-Flash-Next mixture-of-experts (MoE) model on consumer hardware, specifically targeting a single NVIDIA or AMD GPU paired with system RAM."}
+{"target_tokens": 4096, "prompt_tokens_tokenized": 3845, "run": 3, "nonce": "69dfdfb2070a585530e72542c7cb7fb1", "ttft_s": 18.519, "total_s": 27.196, "first_to_last_s": 8.673, "usage": {"prompt_tokens": 4441, "completion_tokens": 256, "total_tokens": 4697, "prompt_tokens_details": {"cached_tokens": 0}}, "content_chars": 1249, "reasoning_chars": 0, "content_head": "Strata is a local inference engine that runs the Qwen3.8-Flash-Next mixture-of-experts (MoE) model on consumer hardware, specifically targeting a single NVIDIA or AMD GPU paired with system RAM. It se"}
+{"target_tokens": 32768, "prompt_tokens_tokenized": 32365, "run": 1, "nonce": "5323d25c69c0568ac103ac6dfa4c9fbb", "ttft_s": 62.582, "total_s": 70.942, "first_to_last_s": 8.359, "usage": {"prompt_tokens": 36356, "completion_tokens": 235, "total_tokens": 36591, "prompt_tokens_details": {"cached_tokens": 0}}, "content_chars": 1167, "reasoning_chars": 0, "content_head": "Strata is a local inference engine that runs the large Qwen3.8-Flash-Next mixture-of-experts (MoE) model on consumer hardware, such as a single NVIDIA or AMD graphics card paired with system RAM. It s"}
+{"target_tokens": 32768, "prompt_tokens_tokenized": 32365, "run": 2, "nonce": "7ba80129457ccc2486d7d285ca806219", "ttft_s": 61.378, "total_s": 70.038, "first_to_last_s": 8.656, "usage": {"prompt_tokens": 36357, "completion_tokens": 256, "total_tokens": 36613, "prompt_tokens_details": {"cached_tokens": 0}}, "content_chars": 1158, "reasoning_chars": 0, "content_head": "Strata is a local inference engine that runs the large Qwen3.8-Flash-Next mixture-of-experts (MoE) model on consumer hardware, serving an OpenAI- and Anthropic-compatible API. Its core challenge is th"}
+{"target_tokens": 32768, "prompt_tokens_tokenized": 32365, "run": 3, "nonce": "580773112d519a73dcbe65e6d2430c54", "ttft_s": 61.587, "total_s": 69.975, "first_to_last_s": 8.386, "usage": {"prompt_tokens": 36359, "completion_tokens": 233, "total_tokens": 36592, "prompt_tokens_details": {"cached_tokens": 0}}, "content_chars": 1125, "reasoning_chars": 0, "content_head": "Strata is a local inference engine that runs large Mixture-of-Experts (MoE) models, such as Qwen3.8-Flash-Next, on consumer hardware by serving an OpenAI- and Anthropic-compatible API. It is designed "}
diff --git a/bench/results/2026-10-06-community-4x-tesla-p100/runs.json b/bench/results/2026-10-06-community-4x-tesla-p100/runs.json
new file mode 100644
index 000000000..ab2b87eac
--- /dev/null
+++ b/bench/results/2026-10-06-community-4x-tesla-p100/runs.json
@@ -0,0 +1,317 @@
+{
+ "engine_timing_lines": {
+ "short": [
+ [
+ "309",
+ "0",
+ "309",
+ "3445",
+ "89.7",
+ "256",
+ "7715",
+ "33.2",
+ "171",
+ "231"
+ ],
+ [
+ "307",
+ "0",
+ "307",
+ "3283",
+ "93.5",
+ "256",
+ "8001",
+ "32.0",
+ "167",
+ "240"
+ ],
+ [
+ "305",
+ "0",
+ "305",
+ "3236",
+ "94.3",
+ "256",
+ "7695",
+ "33.3",
+ "169",
+ "230"
+ ],
+ [
+ "307",
+ "0",
+ "307",
+ "3242",
+ "94.7",
+ "256",
+ "7694",
+ "33.3",
+ "171",
+ "229"
+ ],
+ [
+ "305",
+ "0",
+ "305",
+ "3438",
+ "88.7",
+ "256",
+ "7271",
+ "35.2",
+ "177",
+ "217"
+ ],
+ [
+ "305",
+ "0",
+ "305",
+ "3283",
+ "92.9",
+ "256",
+ "7621",
+ "33.6",
+ "174",
+ "233"
+ ],
+ [
+ "301",
+ "0",
+ "301",
+ "3215",
+ "93.6",
+ "256",
+ "7468",
+ "34.3",
+ "174",
+ "227"
+ ],
+ [
+ "307",
+ "0",
+ "307",
+ "3252",
+ "94.4",
+ "256",
+ "7261",
+ "35.3",
+ "172",
+ "215"
+ ],
+ [
+ "239",
+ "0",
+ "239",
+ "2903",
+ "82.3",
+ "256",
+ "7986",
+ "32.1",
+ "167",
+ "233"
+ ],
+ [
+ "242",
+ "0",
+ "242",
+ "2813",
+ "86.0",
+ "256",
+ "7842",
+ "32.6",
+ "168",
+ "234"
+ ],
+ [
+ "239",
+ "0",
+ "239",
+ "2775",
+ "86.1",
+ "256",
+ "7962",
+ "32.2",
+ "167",
+ "238"
+ ],
+ [
+ "240",
+ "0",
+ "240",
+ "2700",
+ "88.9",
+ "256",
+ "7702",
+ "33.2",
+ "167",
+ "228"
+ ]
+ ],
+ "community": [
+ [
+ "4441",
+ "0",
+ "4441",
+ "19973",
+ "222.3",
+ "256",
+ "8833",
+ "29.0",
+ "142",
+ "208"
+ ],
+ [
+ "4441",
+ "0",
+ "4441",
+ "18548",
+ "239.4",
+ "256",
+ "9313",
+ "27.5",
+ "135",
+ "226"
+ ],
+ [
+ "4441",
+ "0",
+ "4441",
+ "18442",
+ "240.8",
+ "256",
+ "8717",
+ "29.4",
+ "146",
+ "212"
+ ],
+ [
+ "36356",
+ "0",
+ "36356",
+ "62306",
+ "583.5",
+ "235",
+ "8403",
+ "28.0",
+ "136",
+ "209"
+ ],
+ [
+ "36357",
+ "0",
+ "36357",
+ "61112",
+ "594.9",
+ "256",
+ "8700",
+ "29.4",
+ "148",
+ "208"
+ ],
+ [
+ "36359",
+ "0",
+ "36359",
+ "61266",
+ "593.5",
+ "233",
+ "8431",
+ "27.6",
+ "131",
+ "205"
+ ]
+ ]
+ },
+ "rows": [
+ {
+ "config": "reasoning-v1 (canonical LocalMaxxing prompt)",
+ "prompt_tokens": "301-307",
+ "reused": 0,
+ "generated": "256-256",
+ "runs": 6,
+ "prompt_tps": [
+ 93.94999999999999,
+ 92.9,
+ 94.7
+ ],
+ "decode_tps": [
+ 33.45,
+ 32.0,
+ 35.3
+ ],
+ "accepted_of_drafted": [
+ "167/240",
+ "169/230",
+ "171/229",
+ "174/233",
+ "174/227",
+ "172/215"
+ ]
+ },
+ {
+ "config": "code-v1 (canonical LocalMaxxing prompt)",
+ "prompt_tokens": "239-242",
+ "reused": 0,
+ "generated": "256-256",
+ "runs": 3,
+ "prompt_tps": [
+ 86.1,
+ 86.0,
+ 88.9
+ ],
+ "decode_tps": [
+ 32.6,
+ 32.2,
+ 33.2
+ ],
+ "accepted_of_drafted": [
+ "168/234",
+ "167/238",
+ "167/228"
+ ]
+ },
+ {
+ "config": "Strata docs, ~4.4K tokens",
+ "prompt_tokens": "4441-4441",
+ "reused": 0,
+ "generated": "256-256",
+ "runs": 3,
+ "prompt_tps": [
+ 239.4,
+ 222.3,
+ 240.8
+ ],
+ "decode_tps": [
+ 29.0,
+ 27.5,
+ 29.4
+ ],
+ "accepted_of_drafted": [
+ "142/208",
+ "135/226",
+ "146/212"
+ ]
+ },
+ {
+ "config": "Strata docs, ~36.4K tokens",
+ "prompt_tokens": "36356-36359",
+ "reused": 0,
+ "generated": "233-256",
+ "runs": 3,
+ "prompt_tps": [
+ 593.5,
+ 583.5,
+ 594.9
+ ],
+ "decode_tps": [
+ 28.0,
+ 27.6,
+ 29.4
+ ],
+ "accepted_of_drafted": [
+ "136/209",
+ "148/208",
+ "131/205"
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/bench/results/2026-10-06-community-4x-tesla-p100/strata_bench.py b/bench/results/2026-10-06-community-4x-tesla-p100/strata_bench.py
new file mode 100644
index 000000000..b9200eaa9
--- /dev/null
+++ b/bench/results/2026-10-06-community-4x-tesla-p100/strata_bench.py
@@ -0,0 +1,91 @@
+#!/usr/bin/env python3
+"""Strata community-report runs (PREREG_STRATA_194 addendum). Runs ON .194 against a running Strata server.
+Builds ~N-token prompts from Strata's own docs (MIT, at the installed commit), sends each request with a unique nonce
+first line (no prefix reuse), streams, and records client TTFT / total. The engine's own timing line for each request
+is read from Strata's log afterwards (by order). Python stdlib only.
+usage: strata_bench.py --url http://127.0.0.1:8080 --repo ~/strata --lengths 4096,32768 --runs 3 --out bench.jsonl"""
+import argparse, json, os, secrets, time, urllib.request
+from pathlib import Path
+
+QUESTION = ("\n\nThe text above is documentation for an inference engine. In a few short paragraphs, explain what "
+ "the engine does and how it keeps a large mixture-of-experts model fast on a consumer PC.")
+
+
+def corpus(repo: Path) -> str:
+ parts = []
+ for p in sorted((repo / "docs").glob("*.md")) + [repo / "README.md"]:
+ parts.append(f"===== {p.name} =====\n" + p.read_text(errors="replace"))
+ return "\n\n".join(parts)
+
+
+def tokenize_count(url: str, text: str) -> int:
+ for path in ("/tokenize", "/v1/tokenize"):
+ try:
+ req = urllib.request.Request(url + path, json.dumps({"content": text}).encode(), {"Content-Type": "application/json"})
+ with urllib.request.urlopen(req, timeout=120) as r:
+ return len(json.load(r).get("tokens", []))
+ except Exception:
+ continue
+ return int(len(text) / 3.6) # fallback estimate, flagged in the output
+
+
+def build(url: str, text: str, target: int) -> tuple[str, int]:
+ lo, hi = 1000, len(text)
+ best = text[:lo]
+ while hi - lo > 2000: # binary search on characters for ~target tokens
+ mid = (lo + hi) // 2
+ if tokenize_count(url, text[:mid] + QUESTION) <= target:
+ lo, best = mid, text[:mid]
+ else:
+ hi = mid
+ p = best + QUESTION
+ return p, tokenize_count(url, p)
+
+
+def run(url: str, prompt: str) -> dict:
+ nonce = secrets.token_hex(16)
+ body = {"model": "strata", "messages": [{"role": "user", "content": f"[bench nonce: {nonce}]\n" + prompt}],
+ "max_tokens": 256, "temperature": 0, "stream": True, "reasoning_effort": "none",
+ "stream_options": {"include_usage": True}}
+ req = urllib.request.Request(url + "/v1/chat/completions", json.dumps(body).encode(), {"Content-Type": "application/json"})
+ t0 = time.monotonic(); first = last = None; text = []; usage = None; reasoning = 0
+ with urllib.request.urlopen(req, timeout=3600) as r:
+ for raw in r:
+ line = raw.decode(errors="replace").strip()
+ if not line.startswith("data: ") or line == "data: [DONE]":
+ continue
+ ev = json.loads(line[6:])
+ for ch in ev.get("choices") or []:
+ d = ch.get("delta") or {}
+ if d.get("content") or d.get("reasoning_content"):
+ now = time.monotonic() - t0
+ first = now if first is None else first
+ last = now
+ text.append(d.get("content") or "")
+ reasoning += len(d.get("reasoning_content") or "")
+ usage = ev.get("usage") or usage
+ total = time.monotonic() - t0
+ return {"nonce": nonce, "ttft_s": round(first, 3) if first else None, "total_s": round(total, 3),
+ "first_to_last_s": round(last - first, 3) if first is not None else None,
+ "usage": usage, "content_chars": len("".join(text)), "reasoning_chars": reasoning,
+ "content_head": "".join(text)[:200]}
+
+
+def main():
+ ap = argparse.ArgumentParser()
+ ap.add_argument("--url", default="http://127.0.0.1:8080"); ap.add_argument("--repo", default=os.path.expanduser("~/strata"))
+ ap.add_argument("--lengths", default="4096,32768"); ap.add_argument("--runs", type=int, default=3)
+ ap.add_argument("--out", required=True)
+ a = ap.parse_args()
+ text = corpus(Path(a.repo))
+ with open(a.out, "a") as f:
+ for L in [int(x) for x in a.lengths.split(",")]:
+ prompt, n = build(a.url, text, L - 40)
+ for i in range(a.runs):
+ rec = {"target_tokens": L, "prompt_tokens_tokenized": n, "run": i + 1, **run(a.url, prompt)}
+ f.write(json.dumps(rec) + "\n"); f.flush(); os.fsync(f.fileno())
+ print(json.dumps({k: rec[k] for k in ("target_tokens", "run", "ttft_s", "total_s", "content_chars", "reasoning_chars")}), flush=True)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/bench/results/COMMUNITY.md b/bench/results/COMMUNITY.md
index 4e7ffa04a..85a3bde9d 100644
--- a/bench/results/COMMUNITY.md
+++ b/bench/results/COMMUNITY.md
@@ -82,3 +82,4 @@ Notes:
| [2026-10-06-community-rtx4090-toolcall-hotfix](2026-10-06-community-rtx4090-toolcall-hotfix/) | RTX 4090 | IQ3_S 140K / IQ3_XXS 200K opt-ins and tool-call hotfix | see the README | see the README | 0.1.38 to 0.1.40 | #1158 |
| [2026-10-06-q8-prefill8192-rtxpro](2026-10-06-q8-prefill8192-rtxpro/) | RTX PRO 6000 | Q8, --prefill 8192 | see the README | see the README | 0.1.40 | #1171 |
| [2026-10-06-community-rx-7900-xtx](2026-10-06-community-rx-7900-xtx/) | RX 7900 XTX, Windows 11 | IQ3_S | see the README | see the README | 0.1.40 | #1173 |
+| [2026-10-06-community-4x-tesla-p100](2026-10-06-community-4x-tesla-p100/) | 4x Tesla P100 16 GB (CUDA 12 engine) | IQ3_XXS | see the README | see the README | 0.1.40 | #1192 |