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, Tesla V100 32 GB + RTX 4070 layer split with 16 GB of RAM (IQ2_XS) (#850)

christopherrobertbrooks-techabc802e528c0
diff --git a/bench/results/2026-10-04-community-v100-rtx4070-split/README.md b/bench/results/2026-10-04-community-v100-rtx4070-split/README.md
new file mode 100644
index 000000000..273a454c7
--- /dev/null
+++ b/bench/results/2026-10-04-community-v100-rtx4070-split/README.md
@@ -0,0 +1,76 @@
+# Community benchmark: Tesla V100 32 GB + RTX 4070 12 GB layer split, 16 GB of system RAM
+
+Measured on 2026-10-04 by christopherrobertbrooks-tech. The full Qwen3.8-Flash-Next at IQ2_XS split across two NVIDIA cards of
+different architectures (Volta sm_70 + Ada sm_89), in both card orders, on a PC with 16 GB of RAM. Main limitation: one
+machine, one size, three runs per configuration; the V100 sits on a PCIe 3.0 x4 link.
+
+## Hardware and software
+
+- GPU 1: Tesla V100-PCIE-32GB (sm_70), PCIe 3.0 **x4**; GPU 0: RTX 4070 12 GB (sm_89), PCIe 4.0 x16, which also drives the
+ display (~0.9 GB in use). Default power limits (250 W / 200 W). CPU: i7-13700KF (24 threads, AVX2). RAM: **16 GB DDR5**
+ (15 GiB visible). Model files on a SATA SSD (Samsung 870 EVO 500 GB).
+- Ubuntu 24.04.4 LTS, kernel 7.0.0-30-generic, NVIDIA driver 580.173.02, CUDA 12.9 toolkit.
+- Strata main at 6f32ec0, engine 0.1.39, built by setup.sh from source with `--cuda 12` for both cards:
+ `engine-cuda12/BUILD.json` `"archs": [70, 89]`. One local change in `serve/frontend.py` (PR #819), not used by these runs.
+- Strata's PCIe probe at start: 18.6 GB/s to the 4070, 3.3 GB/s to the V100.
+- No other GPU work; the server was started directly (`run-iq2_xs.sh`, port 8080).
+
+## Model and configuration
+
+- Qwen3.8-Flash-Next GSQ-RCO **IQ2_XS** (`--family qwen --model IQ2_XS`): `Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf`,
+ `-00002-of-00002.gguf`. No vision encoder for these runs. Expert profile `data/expert-profile.bin` (shipped).
+- `"layer_split": "auto"`; low-RAM mode as setup chose it (`--mmap-experts`, `--remote-expert-opt`); context 131,072 (raised
+ from setup's 32,768); KV int8; expert cache auto; prefill auto; MTP `--spec 4 --spec-min-p 0.5`; reasoning `none`;
+ temperature 0; no calibration, no speed projection.
+- Auto split, V100 first (`"gpu": [1, 0]`): **K=39** -- V100 layers 0-38, 4070 layers 39-47 and the head; the caches hold
+ 23,518 of 24,576 profiled pairs (~99.9% of the routed mass); "95% of the experts resident"; 510 MiB VRAM free.
+- Auto split, 4070 first (`"gpu": [0, 1]`): **K=11** -- 4070 layers 0-10, V100 layers 11-47; 23,459 profiled pairs; 455 MiB free.
+
+```text
+./setup.sh --setup --yes --family qwen --model IQ2_XS --gpus 1,0 --cuda 12 --vision no --data-dir /mnt/steam/Strata-data --no-start
+engine args: --pack .../packs/iq2_xs --native ...-00001-of-00002.gguf --ple-gguf ...-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 131072 --kv int8 --mmap-experts --remote-expert-opt
+```
+
+## Method
+
+The 2x MI50 report's `benchmark.py`, unchanged (the same script as our single-V100 report, #823): serial fresh prompts (0
+reused tokens), one warm-up, three measured runs at 4,096, 32,768 and 128,000 prompt tokens, 256-token output cap. Engine
+timings for prompt and decode; client TTFT with the model loaded. PCIe sampled with `nvidia-smi dmon -s t` (1 s) during the
+32K runs. Then `tools/needle_bench.py --lengths 32k,128k --depths 10,50,90`.
+
+## 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 |
+| --- | ---: | ---: | ---: | ---: | --- | --- | --- |
+| V100 first, auto (K=39) | 4,096 | 0 | 256 | 3 | 996 (502–1,000) | 84.9 (76.8–89.6) | 4.14 (4.13–8.24) |
+| V100 first, auto (K=39) | 32,768 | 0 | 256 | 3 | 1,602 (1,502–1,605) | 81.5 (78.6–83.0) | 20.53 (20.48–21.90) |
+| V100 first, auto (K=39) | 128,000 | 0 | 256 | 3 | 1,552 (1,547–1,554) | 75.1 (73.9–79.0) | 82.61 (82.52–82.89) |
+| 4070 first, auto (K=11) | 4,096 | 0 | 256 | 3 | 985 (370–996) | 79.1 (78.9–82.5) | 4.19 (4.14–11.16) |
+| 4070 first, auto (K=11) | 32,768 | 0 | 256 | 3 | 1,535 (1,287–1,542) | 83.8 (75.3–86.0) | 21.45 (21.31–25.56) |
+| 4070 first, auto (K=11) | 128,000 | 0 | 256 | 3 | 1,533 (1,532–1,535) | 77.1 (76.9–77.7) | 83.64 (83.58–83.71) |
+
+- The slow first run at 4K (502 / 370 tok/s prompt, 8.2 / 11.2 s TTFT) is the first request after the warm-up; the other two
+ runs agree with each other.
+- Expert-cache hit rate 0.993–1.000. Read from the model files per request: 113–794 MB with the V100 first, 143–1,482 MB with
+ the 4070 first (the experts the cards don't hold come through the OS file cache).
+- MTP draft acceptance 0.63–0.81.
+- PCIe into the V100 during long prompts: peaks of **3.5–3.7 GB/s -- essentially its whole x4 link** -- median ~0.3–0.4 GB/s;
+ into the 4070, peaks of 13.4–13.7 GB/s.
+- A fixed `"layer_split": "39"` gave the same numbers and the same memory use as auto (4K / 32K / 128K decode 84.9 / 82.0 / 75.2):
+ in 0.1.39 the auto split already loads only each card's own layers.
+- Load to first answer: ~100 s.
+
+## Correctness and limitations
+
+- Needles: **6 of 6 found** in both orders (32K and 128K, depths 10/50/90).
+- Long prompts on the second card: every 32K and 128K prompt (past the 8,192-token chunk) went through in both orders, no
+ `no kernel image` or other errors (#690 reports that failure on a mixed AMD pair).
+- HumanEval (164, greedy, thinking off, our own harness, vision on, V100 first): 154/164 in 7.2 min -- the Coder IQ1_M on the
+ V100 alone scored 158/164 in 7.1 min (#823).
+- For reference, the RTX 5090 community report (same IQ2_XS; 32 GB card + 64 GB RAM): decode 179 / 176 / 165 tok/s, prompt
+ 4,270 / 5,543 / 5,779 tok/s -- this pair reaches ~45% of its decode and ~29% of its prompt speed.
+- Not tested: other sizes, vision on for the speed runs, more than three runs, batching.
+
+The report was drafted with an AI assistant (Claude) from our measurements, and checked by me.
diff --git a/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/initial-status.json b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/initial-status.json
new file mode 100644
index 000000000..6a784239f
--- /dev/null
+++ b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/initial-status.json
@@ -0,0 +1,61 @@
+{
+ "service": "strata",
+ "model": "qwen3.8-flash-next-iq2_xs",
+ "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": 1791147729,
+ "uptime_s": 3,
+ "cache_max_tokens": 131072,
+ "context": {
+ "native": 131072,
+ "max_positions": 131072
+ },
+ "concurrency": {
+ "serving": 1,
+ "requested": 1
+ },
+ "dialects": [
+ "/v1/chat/completions",
+ "/v1/messages",
+ "/v1/responses"
+ ],
+ "vision": {
+ "enabled": false,
+ "available": false,
+ "error": null
+ },
+ "activity": {
+ "requests": 0,
+ "in_flight": 0,
+ "last_request_at": null
+ },
+ "last_timings": null,
+ "vram": {
+ "elastic": false
+ },
+ "machine": {
+ "at": 1791147732,
+ "gpu": {
+ "name": "NVIDIA GeForce RTX 4070 + Tesla V100-PCIE-32GB",
+ "used_mib": 44132.0,
+ "total_mib": 45050.0,
+ "util_pct": 0.5,
+ "temp_c": 45,
+ "power_w": 69.37899999999999
+ },
+ "ram": {
+ "used_gib": 5.2,
+ "total_gib": 15.4
+ }
+ }
+}
diff --git a/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/needles.json b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/needles.json
new file mode 100644
index 000000000..f62d6830a
--- /dev/null
+++ b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/needles.json
@@ -0,0 +1,56 @@
+[
+ {
+ "length": "32k",
+ "depth": 10,
+ "prompt_tokens": 32171,
+ "seconds": 22.7,
+ "found": true,
+ "word": "meadow-copper-504",
+ "answer": "meadow-copper-504"
+ },
+ {
+ "length": "32k",
+ "depth": 50,
+ "prompt_tokens": 32171,
+ "seconds": 21.1,
+ "found": true,
+ "word": "falcon-quartz-940",
+ "answer": "falcon-quartz-940"
+ },
+ {
+ "length": "32k",
+ "depth": 90,
+ "prompt_tokens": 32172,
+ "seconds": 12.1,
+ "found": true,
+ "word": "willow-cobalt-696",
+ "answer": "willow-cobalt-696"
+ },
+ {
+ "length": "128k",
+ "depth": 10,
+ "prompt_tokens": 125451,
+ "seconds": 82.5,
+ "found": true,
+ "word": "falcon-saffron-138",
+ "answer": "falcon-saffron-138"
+ },
+ {
+ "length": "128k",
+ "depth": 50,
+ "prompt_tokens": 125449,
+ "seconds": 82.7,
+ "found": true,
+ "word": "quartz-tundra-528",
+ "answer": "quartz-tundra-528"
+ },
+ {
+ "length": "128k",
+ "depth": 90,
+ "prompt_tokens": 125449,
+ "seconds": 74.1,
+ "found": true,
+ "word": "quartz-glacier-192",
+ "answer": "quartz-glacier-192"
+ }
+]
\ No newline at end of file
diff --git a/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/results.json b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/results.json
new file mode 100644
index 000000000..0f63d7b48
--- /dev/null
+++ b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/results.json
@@ -0,0 +1,392 @@
+[
+ {
+ "label": "warmup",
+ "expected_prompt_tokens": null,
+ "request_sha256": "b63e57873441a996a529b246a66cf12de70a7c671777f99329354d5c195f788f",
+ "client_ttft_s": 0.5410255980677903,
+ "client_elapsed_s": 0.7453842568211257,
+ "finish_reason": "stop",
+ "usage": {
+ "prompt_tokens": 19,
+ "completion_tokens": 2,
+ "total_tokens": 21,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791147732.8941576,
+ "duration_s": 0.7,
+ "finish": "stop",
+ "prompt_tokens": 19,
+ "reused": 0,
+ "output_tokens": 2,
+ "prompt_total": 19,
+ "prompt_read": 19,
+ "engine_generated": 2,
+ "prompt_ms": 466.7,
+ "decode_ms": 248.8,
+ "decode_tok_s": 8.0,
+ "hit_rate": 0.964,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 108.3,
+ "drafts_offered": 3,
+ "drafts_accepted": 3
+ },
+ "text": "READY"
+ },
+ {
+ "label": "tokens-4096-run-1",
+ "expected_prompt_tokens": 4096,
+ "request_sha256": "5d94c652067354bbe72930d2bdad3886564f08cf2546b32411af02d33ad3ce05",
+ "client_ttft_s": 11.162076340988278,
+ "client_elapsed_s": 14.379561190959066,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 4096,
+ "completion_tokens": 256,
+ "total_tokens": 4352,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791147734.1439917,
+ "duration_s": 14.3,
+ "finish": "length",
+ "prompt_tokens": 4096,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 4096,
+ "prompt_read": 4096,
+ "engine_generated": 256,
+ "prompt_ms": 11072.4,
+ "decode_ms": 3236.6,
+ "decode_tok_s": 79.1,
+ "hit_rate": 0.993,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 1481.6,
+ "drafts_offered": 220,
+ "drafts_accepted": 156
+ },
+ "text": "# Analysis of Synthetic Python Module: Deterministic Integer Transforms\n\nThe provided Python module consists of a series of functions, `task_00000` through `task_00112`, each implementing a specific deterministic integer transformation. While the code appears repetitive, it serves as a clear example of modular arithmetic, function design, and the trade-offs between explicit implementation and algorithmic abstraction. Below is a detailed discussion of the code\u2019s structure, mathematical properties, testing implications, and maintainability.\n\n## 1. Mathematical Structure and Deterministic Transforms\n\nEach function follows the general form:\n$$ f_n(x) = (x \\cdot a_n + b_n) \\pmod{100003} $$\n\nWhere:\n- $x$ is the input integer.\n- $a_n$ is the multiplier for task $n$.\n- $b_n$ is the additive constant for task $n$.\n- $100003$ is the modulus, which is a prime number.\n\nFor tasks `00000` to `00096`, the pattern is consistent:\n- Multiplier $a_n = n + 1$\n- Additive constant $"
+ },
+ {
+ "label": "tokens-4096-run-2",
+ "expected_prompt_tokens": 4096,
+ "request_sha256": "8da8a04e70e4d916f6630729082bdfb9d6ebbb47117aad60bc0541bce198a213",
+ "client_ttft_s": 4.186886806972325,
+ "client_elapsed_s": 7.412203602958471,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 4096,
+ "completion_tokens": 256,
+ "total_tokens": 4352,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791147748.920168,
+ "duration_s": 7.4,
+ "finish": "length",
+ "prompt_tokens": 4096,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 4096,
+ "prompt_read": 4096,
+ "engine_generated": 256,
+ "prompt_ms": 4159.3,
+ "decode_ms": 3244.8,
+ "decode_tok_s": 78.9,
+ "hit_rate": 0.998,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 588.8,
+ "drafts_offered": 232,
+ "drafts_accepted": 147
+ },
+ "text": "# Analysis of Synthetic Python Module: Deterministic Integer Transforms\n\nThe provided Python module consists of a series of functions, labeled `task_00000` through `task_00112`, that perform deterministic integer transformations. Each function takes an integer input `value` and returns an integer result based on a specific linear formula involving multiplication, addition, and modulo arithmetic. This analysis explores the mathematical structure, implementation details, testing implications, naming conventions, computational complexity, and maintainability of this code.\n\n## Mathematical Structure and Deterministic Transforms\n\nAt its core, each function implements a linear congruential generator (LCG) step or a simple affine transformation modulo a prime number. The general form of the transformation in each function is:\n\n$$ f_i(v) = (v \\cdot a_i + b_i) \\pmod{M} $$\n\nwhere $M = 100003$, a prime number. The coefficients $a_i$ and $b_i$ vary per function. For most functions, $a_i = i + 1$ and $b_i = i$. However, there is a notable discontinuity starting at `task_00097`. For `task_000"
+ },
+ {
+ "label": "tokens-4096-run-3",
+ "expected_prompt_tokens": 4096,
+ "request_sha256": "946079edb58e764050805886156dc8f877cc29e1ca8d01c84e9a1e7917d49492",
+ "client_ttft_s": 4.141300168354064,
+ "client_elapsed_s": 7.226502258330584,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 4096,
+ "completion_tokens": 256,
+ "total_tokens": 4352,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791147756.7900193,
+ "duration_s": 7.2,
+ "finish": "length",
+ "prompt_tokens": 4096,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 4096,
+ "prompt_read": 4096,
+ "engine_generated": 256,
+ "prompt_ms": 4112.1,
+ "decode_ms": 3104.6,
+ "decode_tok_s": 82.5,
+ "hit_rate": 0.998,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 390.4,
+ "drafts_offered": 228,
+ "drafts_accepted": 153
+ },
+ "text": "# Analysis of Synthetic Python Module: Deterministic Integer Transforms\n\nThe provided Python module consists of a series of functions, `task_00000` through `task_00112`, each implementing a specific deterministic integer transformation. While the code appears repetitive, it serves as a clear example of modular arithmetic, function design, and the trade-offs between explicit implementation and algorithmic abstraction. Below is a detailed discussion covering the mathematical basis, testing implications, naming conventions, complexity, and maintainability.\n\n## 1. Mathematical Basis: Deterministic Transforms and Modulo Arithmetic\n\nAt its core, every function in this module performs a linear transformation followed by a modulo operation. The general pattern for `task_NNNNN` is:\n\n$$ f(x) = (x \\cdot a + b) \\pmod{M} $$\n\nWhere:\n- $x$ is the input integer.\n- $a$ is the multiplier (coefficient).\n- $b$ is the additive constant.\n- $M$ is the modulus, fixed at `100003`.\n\nFor most functions (e.g., `task_00000` to `task_00096`), the"
+ },
+ {
+ "label": "tokens-32768-run-1",
+ "expected_prompt_tokens": 32768,
+ "request_sha256": "e37cfc2ab9867d91130927440df24a57255a736b8d0d829d07d828e22e3de572",
+ "client_ttft_s": 25.56006005825475,
+ "client_elapsed_s": 28.51033451827243,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 32768,
+ "completion_tokens": 256,
+ "total_tokens": 33024,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791147764.9280975,
+ "duration_s": 28.5,
+ "finish": "length",
+ "prompt_tokens": 32768,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 32768,
+ "prompt_read": 32768,
+ "engine_generated": 256,
+ "prompt_ms": 25453.6,
+ "decode_ms": 2975.2,
+ "decode_tok_s": 86.0,
+ "hit_rate": 0.997,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 682.4,
+ "drafts_offered": 200,
+ "drafts_accepted": 161
+ },
+ "text": "Based on the provided Python module, here is a detailed technical review and explanation.\n\n### 1. Structural Overview and Pattern Analysis\n\nThe provided code consists of a series of functions, `task_00000` through `task_00888` (and presumably continuing beyond the snippet), that all share a nearly identical structure. Each function takes an integer `value` and returns an integer. The core logic in every function is a linear transformation followed by a modulo operation:\n\n$$ f(x) = (x \\cdot a + b) \\pmod{100003} $$\n\nWhere `a` and `b` are constants specific to each function.\n\n**The Pattern:**\nFor `task_00000`, the formula is `(value * 1 + 0) % 100003`.\nFor `task_00001`, it is `(value * 2 + 1) % 100003`.\nFor `task_00002`, it is `(value * 3 + 2) % 100003`.\n\nGenerally, for `task_N`, the formula appears to be:"
+ },
+ {
+ "label": "tokens-32768-run-2",
+ "expected_prompt_tokens": 32768,
+ "request_sha256": "ed2dfaa11aecad9f4563f33bb5f5d4b8704486508700b8fa572722cc1225ee26",
+ "client_ttft_s": 21.452050537336618,
+ "client_elapsed_s": 24.832701905164868,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 32768,
+ "completion_tokens": 256,
+ "total_tokens": 33024,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791147794.353875,
+ "duration_s": 24.7,
+ "finish": "length",
+ "prompt_tokens": 32768,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 32768,
+ "prompt_read": 32768,
+ "engine_generated": 256,
+ "prompt_ms": 21343.0,
+ "decode_ms": 3400.1,
+ "decode_tok_s": 75.3,
+ "hit_rate": 0.998,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 470.7,
+ "drafts_offered": 209,
+ "drafts_accepted": 143
+ },
+ "text": "Based on the provided Python module, here is a detailed technical review and explanation.\n\n### Overview of the Module\n\nThe provided code defines a series of functions, `task_00000` through `task_00888`, each performing a specific deterministic integer transformation. Each function takes an integer `value` as input and returns an integer result. The core logic in every function is identical in structure but varies in its parameters:\n\n```python\ndef task_XXXXX(value: int) -> int:\n return (value * multiplier + offset) % 100003\n```\n\nThis pattern represents a **linear congruential transformation** modulo a prime number ($100,003$). The code is likely generated programmatically for benchmarking, fuzzing, or cryptographic testing purposes, as manually writing nearly 900 distinct functions with hardcoded constants is impractical for human maintenance.\n\n### 1. Deterministic Integer Transforms\n\nThe functions implement a deterministic mapping from an input integer to an output integer. This is a fundamental concept in computer science, particularly in hashing, random number generation, and cryptographic primitives.\n\n* **Linearity:** The transformation is linear with respect to the input `"
+ },
+ {
+ "label": "tokens-32768-run-3",
+ "expected_prompt_tokens": 32768,
+ "request_sha256": "2a3c7342622e80c3cd8b37e062f0a2f64640c119ece8cccbf168639041eac079",
+ "client_ttft_s": 21.309229454025626,
+ "client_elapsed_s": 24.34548173006624,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 32768,
+ "completion_tokens": 256,
+ "total_tokens": 33024,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791147820.0426106,
+ "duration_s": 24.3,
+ "finish": "length",
+ "prompt_tokens": 32768,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 32768,
+ "prompt_read": 32768,
+ "engine_generated": 256,
+ "prompt_ms": 21251.2,
+ "decode_ms": 3055.8,
+ "decode_tok_s": 83.8,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 248.0,
+ "drafts_offered": 218,
+ "drafts_accepted": 160
+ },
+ "text": "Based on the provided synthetic Python module, here is a detailed technical review and explanation.\n\n### Overview of the Module\n\nThe provided code consists of a series of function definitions, ranging from `task_00000` to `task_00888`. Each function accepts a single integer argument `value` and returns an integer. The core logic within every function is identical in structure, differing only in the specific constants used for multiplication and addition.\n\nThe general pattern for any function `task_N` is:\n$$ \\text{result} = (value \\times M + C) \\pmod{100003} $$\n\nWhere:\n* $M$ is the multiplier.\n* $C$ is the additive constant.\n* $100003$ is the modulus.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nThe functions implement a **deterministic linear transform** over the ring of integers modulo 100,003. This is a fundamental concept in number theory and computer science, often used in hashing, random number generation, and cryptographic primitives.\n\n1. **Modulo Arithmetic**: The modulus $100003$"
+ },
+ {
+ "label": "tokens-128000-run-1",
+ "expected_prompt_tokens": 128000,
+ "request_sha256": "3235aac3f934cf1d889c25973ca172b355509dc2522fdfb463fbefe979a9075d",
+ "client_ttft_s": 83.63668359210715,
+ "client_elapsed_s": 86.94621253013611,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 128000,
+ "completion_tokens": 256,
+ "total_tokens": 128256,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791147846.9196527,
+ "duration_s": 86.8,
+ "finish": "length",
+ "prompt_tokens": 128000,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 128000,
+ "prompt_read": 128000,
+ "engine_generated": 256,
+ "prompt_ms": 83469.3,
+ "decode_ms": 3330.1,
+ "decode_tok_s": 76.9,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 223.3,
+ "drafts_offered": 219,
+ "drafts_accepted": 152
+ },
+ "text": "Based on the provided synthetic Python module, here is a detailed technical review and explanation.\n\n### Overview of the Module\n\nThe provided code consists of a massive collection of function definitions, ranging from `task_00000` to `task_03404`. Each function accepts a single integer argument `value` and returns an integer. The core logic within every function is identical in structure, differing only in the specific constants used for multiplication and addition.\n\nThe general pattern for any function `task_N` is:\n```python\ndef task_N(value: int) -> int:\n return (value * multiplier + addend) % 100003\n```\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nThe functions implement a **deterministic linear transform** over the integers. In mathematics, this is an affine transformation defined by $f(x) = ax + b$. However, the code applies this transformation within the ring of integers modulo $M$, where $M = 100003$.\n\n1. **Modulo Arithmetic**: The constant `100003` is a prime number. Using a prime modulus is significant in computer science and cryptography because it ensures that"
+ },
+ {
+ "label": "tokens-128000-run-2",
+ "expected_prompt_tokens": 128000,
+ "request_sha256": "5f4b8bc9f0afc7765320abd89960c0938e0d7cf5974e962fdbd0613fef31c8d4",
+ "client_ttft_s": 83.71144899306819,
+ "client_elapsed_s": 87.01042662188411,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 128000,
+ "completion_tokens": 256,
+ "total_tokens": 128256,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791147936.2922688,
+ "duration_s": 86.9,
+ "finish": "length",
+ "prompt_tokens": 128000,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 128000,
+ "prompt_read": 128000,
+ "engine_generated": 256,
+ "prompt_ms": 83542.5,
+ "decode_ms": 3319.7,
+ "decode_tok_s": 77.1,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 142.5,
+ "drafts_offered": 222,
+ "drafts_accepted": 154
+ },
+ "text": "Based on the provided synthetic Python module, here is a detailed technical review and explanation.\n\n### Overview of the Module\n\nThe provided code consists of a massive collection of function definitions, ranging from `task_00000` to `task_03404`. Each function accepts a single integer argument `value` and returns an integer. The core logic within every function is identical in structure, differing only in the specific constants used for multiplication and addition.\n\nThe general pattern for any function `task_N` is:\n```python\ndef task_N(value: int) -> int:\n return (value * multiplier + addend) % 100003\n```\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nThe functions implement a **deterministic linear transform** over the integers. In mathematics, this is an affine transformation defined by $f(x) = ax + b$. However, the code applies this transformation within a finite field defined by the modulus $M = 100003$.\n\n1. **Modulo Arithmetic**: The use of `% 100003` ensures that the output is always within the range $[0, 100002"
+ },
+ {
+ "label": "tokens-128000-run-3",
+ "expected_prompt_tokens": 128000,
+ "request_sha256": "5c3fb71db9f9f44765f28389d1032f2c8b6687d1bf5ca6f33aeb924072cfa6e4",
+ "client_ttft_s": 83.57521791290492,
+ "client_elapsed_s": 86.8487858697772,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 128000,
+ "completion_tokens": 256,
+ "total_tokens": 128256,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791148025.7343488,
+ "duration_s": 86.7,
+ "finish": "length",
+ "prompt_tokens": 128000,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 128000,
+ "prompt_read": 128000,
+ "engine_generated": 256,
+ "prompt_ms": 83414.7,
+ "decode_ms": 3294.6,
+ "decode_tok_s": 77.7,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 221.2,
+ "drafts_offered": 213,
+ "drafts_accepted": 153
+ },
+ "text": "This synthetic Python module presents a fascinating case study in code generation, algorithmic consistency, and the trade-offs between explicit definition and programmatic abstraction. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer. Each function performs a specific linear transformation on an input integer `value` and returns the result modulo 100,003.\n\n### 1. The Core Algorithm: Deterministic Linear Transforms\n\nAt its heart, every function in this module implements the same mathematical structure:\n$$ f(x) = (a \\cdot x + b) \\pmod{M} $$\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 **100,003**.\n\nThe code is deterministic. For any given input `value`, the output is always the same, regardless of when or where the code is executed. This is crucial for benchmarking, as it ensures reproducibility.\n\n### 2. Analysis of Parameters ($a$ and $b$)\n\n"
+ }
+]
diff --git a/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/summary.json b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/summary.json
new file mode 100644
index 000000000..ce9e500d7
--- /dev/null
+++ b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-4070first/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": 4.186886806972325,
+ "min": 4.141300168354064,
+ "max": 11.162076340988278
+ },
+ "client_elapsed_s": {
+ "median": 7.412203602958471,
+ "min": 7.226502258330584,
+ "max": 14.379561190959066
+ },
+ "prefill_tok_s": {
+ "median": 984.7810929723752,
+ "min": 369.9288320508652,
+ "max": 996.0847255660124
+ },
+ "decode_tok_s": {
+ "median": 79.0953469690416,
+ "min": 78.89546351084812,
+ "max": 82.45828770211943
+ }
+ },
+ "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": 21.452050537336618,
+ "min": 21.309229454025626,
+ "max": 25.56006005825475
+ },
+ "client_elapsed_s": {
+ "median": 24.832701905164868,
+ "min": 24.34548173006624,
+ "max": 28.51033451827243
+ },
+ "prefill_tok_s": {
+ "median": 1535.3043152321604,
+ "min": 1287.3621020209323,
+ "max": 1541.9364553531095
+ },
+ "decode_tok_s": {
+ "median": 83.77511617252438,
+ "min": 75.29190317931825,
+ "max": 86.0446356547459
+ }
+ },
+ "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": 83.63668359210715,
+ "min": 83.57521791290492,
+ "max": 83.71144899306819
+ },
+ "client_elapsed_s": {
+ "median": 86.94621253013611,
+ "min": 86.8487858697772,
+ "max": 87.01042662188411
+ },
+ "prefill_tok_s": {
+ "median": 1533.4979447533403,
+ "min": 1532.1542927252594,
+ "max": 1534.5017125278878
+ },
+ "decode_tok_s": {
+ "median": 77.1154019941561,
+ "min": 76.87456833128135,
+ "max": 77.7029077885024
+ }
+ }
+}
diff --git a/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/initial-status.json b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/initial-status.json
new file mode 100644
index 000000000..2f57b28d2
--- /dev/null
+++ b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/initial-status.json
@@ -0,0 +1,61 @@
+{
+ "service": "strata",
+ "model": "qwen3.8-flash-next-iq2_xs",
+ "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": 1791146167,
+ "uptime_s": 2,
+ "cache_max_tokens": 131072,
+ "context": {
+ "native": 131072,
+ "max_positions": 131072
+ },
+ "concurrency": {
+ "serving": 1,
+ "requested": 1
+ },
+ "dialects": [
+ "/v1/chat/completions",
+ "/v1/messages",
+ "/v1/responses"
+ ],
+ "vision": {
+ "enabled": false,
+ "available": false,
+ "error": null
+ },
+ "activity": {
+ "requests": 0,
+ "in_flight": 0,
+ "last_request_at": null
+ },
+ "last_timings": null,
+ "vram": {
+ "elastic": false
+ },
+ "machine": {
+ "at": 1791146169,
+ "gpu": {
+ "name": "Tesla V100-PCIE-32GB + NVIDIA GeForce RTX 4070",
+ "used_mib": 44134.0,
+ "total_mib": 45050.0,
+ "util_pct": 0.5,
+ "temp_c": 41,
+ "power_w": 68.438
+ },
+ "ram": {
+ "used_gib": 5.4,
+ "total_gib": 15.4
+ }
+ }
+}
diff --git a/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/needles.json b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/needles.json
new file mode 100644
index 000000000..0e85819e4
--- /dev/null
+++ b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/needles.json
@@ -0,0 +1,56 @@
+[
+ {
+ "length": "32k",
+ "depth": 10,
+ "prompt_tokens": 32171,
+ "seconds": 22.2,
+ "found": true,
+ "word": "meadow-copper-504",
+ "answer": "meadow-copper-504"
+ },
+ {
+ "length": "32k",
+ "depth": 50,
+ "prompt_tokens": 32171,
+ "seconds": 20.6,
+ "found": true,
+ "word": "falcon-quartz-940",
+ "answer": "falcon-quartz-940"
+ },
+ {
+ "length": "32k",
+ "depth": 90,
+ "prompt_tokens": 32172,
+ "seconds": 11.8,
+ "found": true,
+ "word": "willow-cobalt-696",
+ "answer": "willow-cobalt-696"
+ },
+ {
+ "length": "128k",
+ "depth": 10,
+ "prompt_tokens": 125451,
+ "seconds": 82.1,
+ "found": true,
+ "word": "falcon-saffron-138",
+ "answer": "falcon-saffron-138"
+ },
+ {
+ "length": "128k",
+ "depth": 50,
+ "prompt_tokens": 125449,
+ "seconds": 82.4,
+ "found": true,
+ "word": "quartz-tundra-528",
+ "answer": "quartz-tundra-528"
+ },
+ {
+ "length": "128k",
+ "depth": 90,
+ "prompt_tokens": 125449,
+ "seconds": 73.5,
+ "found": true,
+ "word": "quartz-glacier-192",
+ "answer": "quartz-glacier-192"
+ }
+]
\ No newline at end of file
diff --git a/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/results.json b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/results.json
new file mode 100644
index 000000000..aca8331c8
--- /dev/null
+++ b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/results.json
@@ -0,0 +1,392 @@
+[
+ {
+ "label": "warmup",
+ "expected_prompt_tokens": null,
+ "request_sha256": "b63e57873441a996a529b246a66cf12de70a7c671777f99329354d5c195f788f",
+ "client_ttft_s": 0.4636265989392996,
+ "client_elapsed_s": 0.5710911811329424,
+ "finish_reason": "stop",
+ "usage": {
+ "prompt_tokens": 19,
+ "completion_tokens": 2,
+ "total_tokens": 21,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791146169.934103,
+ "duration_s": 0.5,
+ "finish": "stop",
+ "prompt_tokens": 19,
+ "reused": 0,
+ "output_tokens": 2,
+ "prompt_total": 19,
+ "prompt_read": 19,
+ "engine_generated": 2,
+ "prompt_ms": 397.7,
+ "decode_ms": 147.5,
+ "decode_tok_s": 13.6,
+ "hit_rate": 0.989,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 37.7,
+ "drafts_offered": 3,
+ "drafts_accepted": 3
+ },
+ "text": "READY"
+ },
+ {
+ "label": "tokens-4096-run-1",
+ "expected_prompt_tokens": 4096,
+ "request_sha256": "5d94c652067354bbe72930d2bdad3886564f08cf2546b32411af02d33ad3ce05",
+ "client_ttft_s": 8.240959075279534,
+ "client_elapsed_s": 11.554926462005824,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 4096,
+ "completion_tokens": 256,
+ "total_tokens": 4352,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791146170.996481,
+ "duration_s": 11.5,
+ "finish": "length",
+ "prompt_tokens": 4096,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 4096,
+ "prompt_read": 4096,
+ "engine_generated": 256,
+ "prompt_ms": 8163.4,
+ "decode_ms": 3334.3,
+ "decode_tok_s": 76.8,
+ "hit_rate": 0.997,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 794.2,
+ "drafts_offered": 232,
+ "drafts_accepted": 149
+ },
+ "text": "# Analysis of Synthetic Python Module: Deterministic Integer Transforms\n\nThe provided Python module consists of a series of functions, `task_00000` through `task_00112`, each implementing a specific deterministic integer transformation. While the code appears repetitive, it serves as a clear example of modular arithmetic, function design, and the trade-offs between explicit implementation and algorithmic abstraction. Below is a detailed discussion covering the mathematical basis, testing implications, naming conventions, complexity, and maintainability.\n\n## 1. Mathematical Basis: Deterministic Transforms and Modulo Arithmetic\n\nAt its core, every function in this module performs a linear transformation on an input integer `value`. The general pattern for most functions is:\n\n$$ f(x) = (x \\cdot a + b) \\pmod{M} $$\n\nWhere:\n- $a$ is the multiplier (coefficient of `value`).\n- $b$ is the additive constant.\n- $M$ is the modulus, fixed at `100003`.\n\nFor `task_00000`, the formula is $(value \\cdot 1 + 0) \\pmod{100003}$. For `task"
+ },
+ {
+ "label": "tokens-4096-run-2",
+ "expected_prompt_tokens": 4096,
+ "request_sha256": "8da8a04e70e4d916f6630729082bdfb9d6ebbb47117aad60bc0541bce198a213",
+ "client_ttft_s": 4.14390745293349,
+ "client_elapsed_s": 7.138099517673254,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 4096,
+ "completion_tokens": 256,
+ "total_tokens": 4352,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791146182.9648235,
+ "duration_s": 7.1,
+ "finish": "length",
+ "prompt_tokens": 4096,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 4096,
+ "prompt_read": 4096,
+ "engine_generated": 256,
+ "prompt_ms": 4113.4,
+ "decode_ms": 3014.6,
+ "decode_tok_s": 84.9,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 243.3,
+ "drafts_offered": 215,
+ "drafts_accepted": 156
+ },
+ "text": "# Analysis of Synthetic Python Module: Deterministic Integer Transforms\n\nThe provided Python module consists of a series of functions, `task_00000` through `task_00112`, each implementing a specific deterministic integer transformation. While the code appears repetitive, it serves as a clear example of modular arithmetic, function design, and the trade-offs between explicit definition and programmatic generation. Below is a detailed discussion of the code's structure, mathematical properties, testing implications, and maintainability.\n\n## 1. 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 modulo a prime number. The general form of each function is:\n\n$$ f_n(x) = (x \\cdot a_n + b_n) \\pmod{M} $$\n\nWhere:\n- $M = 100003$ is a fixed modulus.\n- $a_n$ is the multiplier for function $n$.\n- $b_n$ is the additive constant for function $n$.\n\nFor most functions (e.g., `task_00000` to `task_00096`"
+ },
+ {
+ "label": "tokens-4096-run-3",
+ "expected_prompt_tokens": 4096,
+ "request_sha256": "946079edb58e764050805886156dc8f877cc29e1ca8d01c84e9a1e7917d49492",
+ "client_ttft_s": 4.1272510858252645,
+ "client_elapsed_s": 6.965439323801547,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 4096,
+ "completion_tokens": 256,
+ "total_tokens": 4352,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791146190.5620193,
+ "duration_s": 7.0,
+ "finish": "length",
+ "prompt_tokens": 4096,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 4096,
+ "prompt_read": 4096,
+ "engine_generated": 256,
+ "prompt_ms": 4097.5,
+ "decode_ms": 2858.5,
+ "decode_tok_s": 89.6,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 225.2,
+ "drafts_offered": 208,
+ "drafts_accepted": 162
+ },
+ "text": "# Analysis of Synthetic Python Module: Deterministic Integer Transforms\n\nThe provided Python module consists of a series of functions, `task_00000` through `task_00112`, each implementing a specific deterministic integer transformation. While the code appears repetitive, it serves as a clear example of modular arithmetic, function design, and the trade-offs between explicit definition and programmatic generation. Below is a detailed discussion of the code's structure, mathematical properties, testing implications, and maintainability.\n\n## 1. Mathematical Structure and Deterministic Transforms\n\nAt its core, every function in this module implements a linear congruential transformation. The general form of the operation is:\n\n$$ f(x) = (a \\cdot x + 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 `task_00000`, the parameters are $a=1, b=0$. For `task_00001`, they are $a=2, b"
+ },
+ {
+ "label": "tokens-32768-run-1",
+ "expected_prompt_tokens": 32768,
+ "request_sha256": "e37cfc2ab9867d91130927440df24a57255a736b8d0d829d07d828e22e3de572",
+ "client_ttft_s": 21.904872216284275,
+ "client_elapsed_s": 24.963105875998735,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 32768,
+ "completion_tokens": 256,
+ "total_tokens": 33024,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791146198.421331,
+ "duration_s": 24.9,
+ "finish": "length",
+ "prompt_tokens": 32768,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 32768,
+ "prompt_read": 32768,
+ "engine_generated": 256,
+ "prompt_ms": 21811.3,
+ "decode_ms": 3085.1,
+ "decode_tok_s": 83.0,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 224.9,
+ "drafts_offered": 207,
+ "drafts_accepted": 155
+ },
+ "text": "Based on the provided Python module, here is a detailed technical review and explanation.\n\n### 1. Overview and Pattern Analysis\n\nThe provided code consists of a series of functions named `task_00000` through `task_00888` (the list is truncated in the prompt, but the pattern is clear). Each function accepts an integer `value` and returns an integer. The core logic in every function is identical in structure, differing only by specific constants.\n\nThe general formula for any function `task_N` is:\n$$ f_N(x) = (x \\cdot A_N + B_N) \\pmod{100003} $$\n\nWhere:\n* $A_N$ is the multiplier.\n* $B_N$ is the additive constant.\n* $100003$ is the modulus.\n\n### 2. Deterministic Integer Transforms and Modulo Arithmetic\n\nThe code implements **deterministic integer transforms**. In computer science, a deterministic function is one that, given the same input, always produces the same output. This is crucial for reproducibility, caching, and cryptographic hashing (though this specific implementation is not cryptographically secure).\n\nThe use"
+ },
+ {
+ "label": "tokens-32768-run-2",
+ "expected_prompt_tokens": 32768,
+ "request_sha256": "ed2dfaa11aecad9f4563f33bb5f5d4b8704486508700b8fa572722cc1225ee26",
+ "client_ttft_s": 20.52639808319509,
+ "client_elapsed_s": 23.761319294106215,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 32768,
+ "completion_tokens": 256,
+ "total_tokens": 33024,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791146224.2524004,
+ "duration_s": 23.7,
+ "finish": "length",
+ "prompt_tokens": 32768,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 32768,
+ "prompt_read": 32768,
+ "engine_generated": 256,
+ "prompt_ms": 20457.0,
+ "decode_ms": 3255.4,
+ "decode_tok_s": 78.6,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 197.7,
+ "drafts_offered": 218,
+ "drafts_accepted": 150
+ },
+ "text": "Based on the provided Python module, here is a detailed technical review and explanation.\n\n### Overview of the Module\n\nThe provided code defines a series of functions, `task_00000` through `task_00888`, that perform deterministic integer transformations. Each function takes an integer `value` and returns a new integer based on a specific linear formula involving multiplication, addition, and modulo arithmetic. The benchmark nonce `series-32768-trial-2` suggests this code is part of a larger test suite or performance benchmark, likely designed to evaluate computational consistency, hash distribution, or arithmetic performance across a large number of distinct operations.\n\n### Mathematical Logic and Deterministic Transforms\n\nAt its core, every function in this module implements a linear congruential generator (LCG) style transformation, albeit with fixed parameters per function. The general structure of each function is:\n\n$$ f_i(v) = (v \\cdot a_i + b_i) \\pmod{100003} $$\n\nWhere:\n* $v$ is the input integer.\n* $a_i$ is the multiplier for function $i$.\n* $b_i$ is the additive constant for function $"
+ },
+ {
+ "label": "tokens-32768-run-3",
+ "expected_prompt_tokens": 32768,
+ "request_sha256": "2a3c7342622e80c3cd8b37e062f0a2f64640c119ece8cccbf168639041eac079",
+ "client_ttft_s": 20.482019165996462,
+ "client_elapsed_s": 23.601120492909104,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 32768,
+ "completion_tokens": 256,
+ "total_tokens": 33024,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791146248.8717053,
+ "duration_s": 23.6,
+ "finish": "length",
+ "prompt_tokens": 32768,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 32768,
+ "prompt_read": 32768,
+ "engine_generated": 256,
+ "prompt_ms": 20418.5,
+ "decode_ms": 3139.4,
+ "decode_tok_s": 81.5,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 151.6,
+ "drafts_offered": 197,
+ "drafts_accepted": 152
+ },
+ "text": "Based on the provided Python module, here is a detailed technical review and explanation.\n\n### Overview of the Module\n\nThe provided code defines a series of functions, `task_00000` through `task_00888`, each performing a specific deterministic integer transformation. Each function takes an integer `value` as input and returns an integer result. The core logic in every function is identical in structure but varies in its parameters:\n\n```python\ndef task_XXXXX(value: int) -> int:\n return (value * multiplier + offset) % 100003\n```\n\nThis module serves as a synthetic benchmark or test harness, likely designed to evaluate the performance, correctness, or consistency of integer arithmetic operations under modulo constraints.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nThe fundamental operation in this module is a linear congruential transformation. For any given function `task_N`, the output is determined by the formula:\n\n$$ f(x) = (x \\cdot a + b) \\pmod m $$\n\nWhere:\n* $x$ is the input `value`.\n* $a$ is the multiplier (ranging from 1 to 97).\n*"
+ },
+ {
+ "label": "tokens-128000-run-1",
+ "expected_prompt_tokens": 128000,
+ "request_sha256": "3235aac3f934cf1d889c25973ca172b355509dc2522fdfb463fbefe979a9075d",
+ "client_ttft_s": 82.89438402280211,
+ "client_elapsed_s": 86.11529892403632,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 128000,
+ "completion_tokens": 256,
+ "total_tokens": 128256,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791146275.011518,
+ "duration_s": 86.0,
+ "finish": "length",
+ "prompt_tokens": 128000,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 128000,
+ "prompt_read": 128000,
+ "engine_generated": 256,
+ "prompt_ms": 82720.0,
+ "decode_ms": 3242.3,
+ "decode_tok_s": 79.0,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 120.8,
+ "drafts_offered": 198,
+ "drafts_accepted": 152
+ },
+ "text": "# Analysis of the Synthetic Python Module\n\nThe provided Python module consists of a massive, repetitive collection of functions, ranging from `task_00000` to `task_03404`. While the code appears verbose and redundant, it serves as a synthetic benchmark for evaluating static analysis tools, code generation models, or execution environments. Below is a detailed breakdown of the code's structure, mathematical properties, and software engineering implications.\n\n## 1. Structural Overview and Naming Conventions\n\nThe module is defined by a strict, machine-generated naming convention. Each function follows the pattern `task_XXXXX`, where `XXXXX` is a zero-padded integer representing the function's index. This naming scheme is highly deterministic and suggests that the code was generated programmatically rather than written by a human developer.\n\nThe functions are uniform in signature:\n```python\ndef task_XXXXX(value: int) -> int:\n return (value * A + B) % 100003\n```\nHere, `A` and `B` are constants that vary per function. The return type is explicitly annotated as `int`, and the input is also annotated as `int`. This consistency makes the module easy to parse programm"
+ },
+ {
+ "label": "tokens-128000-run-2",
+ "expected_prompt_tokens": 128000,
+ "request_sha256": "5f4b8bc9f0afc7765320abd89960c0938e0d7cf5974e962fdbd0613fef31c8d4",
+ "client_ttft_s": 82.61103533906862,
+ "client_elapsed_s": 86.0524044581689,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 128000,
+ "completion_tokens": 256,
+ "total_tokens": 128256,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791146363.5426695,
+ "duration_s": 85.9,
+ "finish": "length",
+ "prompt_tokens": 128000,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 128000,
+ "prompt_read": 128000,
+ "engine_generated": 256,
+ "prompt_ms": 82449.6,
+ "decode_ms": 3462.5,
+ "decode_tok_s": 73.9,
+ "hit_rate": 0.999,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 120.9,
+ "drafts_offered": 210,
+ "drafts_accepted": 144
+ },
+ "text": "This synthetic Python module presents a fascinating case study in code generation, algorithmic uniformity, and the trade-offs between explicit definition and programmatic abstraction. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. Each function performs a deterministic integer transform on an input `value` using a linear congruential generator (LCG) formula, modulo a prime number `100003`.\n\n### 1. The Mathematical Core: Deterministic Transforms and Modulo Arithmetic\n\nAt the heart of every function lies the formula:\n$$ f(x) = (x \\cdot a + b) \\pmod{100003} $$\n\nHere, `a` is the multiplier and `b` is the additive constant. The modulus `100003` is a prime number, which is significant in number theory and cryptography. Using a prime modulus ensures that the ring of integers modulo $p$ forms a field, meaning every non-zero element has a multiplicative inverse. This property is crucial if one were to attempt to reverse the transform (decrypting the value), as it guarantees that the mapping is bijective (one-to-one) for"
+ },
+ {
+ "label": "tokens-128000-run-3",
+ "expected_prompt_tokens": 128000,
+ "request_sha256": "5c3fb71db9f9f44765f28389d1032f2c8b6687d1bf5ca6f33aeb924072cfa6e4",
+ "client_ttft_s": 82.51828518882394,
+ "client_elapsed_s": 85.90580249298364,
+ "finish_reason": "length",
+ "usage": {
+ "prompt_tokens": 128000,
+ "completion_tokens": 256,
+ "total_tokens": 128256,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ }
+ },
+ "engine": {
+ "projection": null,
+ "time": 1791146451.988141,
+ "duration_s": 85.8,
+ "finish": "length",
+ "prompt_tokens": 128000,
+ "reused": 0,
+ "output_tokens": 256,
+ "prompt_total": 128000,
+ "prompt_read": 128000,
+ "engine_generated": 256,
+ "prompt_ms": 82360.3,
+ "decode_ms": 3409.0,
+ "decode_tok_s": 75.1,
+ "hit_rate": 1.0,
+ "pcie_share": 0.0,
+ "ram_blobs": 0,
+ "file_blobs": 0,
+ "file_mb": 112.5,
+ "drafts_offered": 214,
+ "drafts_accepted": 148
+ },
+ "text": "This synthetic Python module presents a fascinating case study in code generation, algorithmic consistency, and the trade-offs between explicit definition and dynamic abstraction. The module consists of thousands of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer. Each function performs a specific linear transformation on an input integer `value` and returns the result modulo 100,003.\n\n### 1. The Mathematical Core: Deterministic Linear Transforms\n\nAt its heart, every function in this module implements the same mathematical formula:\n$$ f(x) = (a \\cdot x + b) \\pmod{M} $$\nWhere:\n* $x$ is the input `value`.\n* $M = 100,003$ is the modulus.\n* $a$ is the multiplier coefficient.\n* $b$ is the additive constant.\n\nThe code is deterministic. For any given input `value`, the output is fixed and reproducible. This is a classic example of a **Linear Congruential Generator (LCG)** step, often used in pseudo-random number generation, hashing, or cryptographic primitives. However, in this context, it serves as a fixed"
+ }
+]
diff --git a/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/summary.json b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/summary.json
new file mode 100644
index 000000000..cfc8a09c5
--- /dev/null
+++ b/bench/results/2026-10-04-community-v100-rtx4070-split/auto-v100first/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": 4.14390745293349,
+ "min": 4.1272510858252645,
+ "max": 8.240959075279534
+ },
+ "client_elapsed_s": {
+ "median": 7.138099517673254,
+ "min": 6.965439323801547,
+ "max": 11.554926462005824
+ },
+ "prefill_tok_s": {
+ "median": 995.7699226916907,
+ "min": 501.75172109660195,
+ "max": 999.633923123856
+ },
+ "decode_tok_s": {
+ "median": 84.92005572878658,
+ "min": 76.77773445700745,
+ "max": 89.55746020640197
+ }
+ },
+ "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": 20.52639808319509,
+ "min": 20.482019165996462,
+ "max": 21.904872216284275
+ },
+ "client_elapsed_s": {
+ "median": 23.761319294106215,
+ "min": 23.601120492909104,
+ "max": 24.963105875998735
+ },
+ "prefill_tok_s": {
+ "median": 1601.7988952436817,
+ "min": 1502.3405299088088,
+ "max": 1604.8191590959177
+ },
+ "decode_tok_s": {
+ "median": 81.54424412308084,
+ "min": 78.63856976101246,
+ "max": 82.97948202651455
+ }
+ },
+ "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": 82.61103533906862,
+ "min": 82.51828518882394,
+ "max": 82.89438402280211
+ },
+ "client_elapsed_s": {
+ "median": 86.0524044581689,
+ "min": 85.90580249298364,
+ "max": 86.11529892403632
+ },
+ "prefill_tok_s": {
+ "median": 1552.4635656206942,
+ "min": 1547.3887814313346,
+ "max": 1554.1468401644966
+ },
+ "decode_tok_s": {
+ "median": 75.09533587562335,
+ "min": 73.93501805054152,
+ "max": 78.95629645621935
+ }
+ }
+}
diff --git a/bench/results/2026-10-04-community-v100-rtx4070-split/benchmark.py b/bench/results/2026-10-04-community-v100-rtx4070-split/benchmark.py
new file mode 100644
index 000000000..cdb6e4cc0
--- /dev/null
+++ b/bench/results/2026-10-04-community-v100-rtx4070-split/benchmark.py
@@ -0,0 +1,135 @@
+#!/usr/bin/env python3
+"""Serial, fresh-prompt Strata benchmark. Run inside its prepared environment."""
+import argparse
+import hashlib
+import json
+import statistics
+import sys
+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("/workspace/Strata"))
+ parser.add_argument("--pack", type=Path, default=Path("/workspace/Strata-data/packs/iq2_xs"))
+ parser.add_argument("--url", default="http://127.0.0.1:18080")
+ parser.add_argument("--out", type=Path, default=Path("/workspace/results"))
+ 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())
+ tokens = [None] * len(vocab)
+ for token, number in vocab.items():
+ tokens[number] = token
+ tokenizer = Tokenizer(tokens, (directory / "merges.txt").read_text().splitlines(),
+ json.loads((directory / "token_type.json").read_text()))
+ 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")
+ rows = []
+
+ def request(content, maximum=256):
+ return {"model": "strata", "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["prompt_tokens"] != expected:
+ raise RuntimeError(f"token count mismatch: {expected} vs {engine['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")
+ rows.append(row)
+ (args.out / "results.json").write_text(json.dumps(rows, indent=2) + "\n")
+ print("done", label, json.dumps({"ttft_s": first, "elapsed_s": elapsed, "engine": engine}), flush=True)
+ return row
+
+ perform("warmup", request("Reply with exactly the word READY.", 16))
+ # Each nonce occurs before the filler so previous long prompts cannot be reused.
+ 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", 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")
+ print("summary", json.dumps(groups), flush=True)
+
+
+if __name__ == "__main__":
+ main()