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 results for an RTX 4090 Laptop GPU (IQ3_S, 128K and 256K) (#757)
30crows239a1fb45cf2
diff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/README.md b/bench/results/2026-10-04-community-rtx-4090-laptop/README.mdnew file mode 100644index 000000000..6e45074d4--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/README.md@@ -0,0 +1,196 @@+# Community benchmark: RTX 4090 Laptop GPU, Core i9-13900HX++Measured on 2026-10-04 by [30crows](https://github.com/30crows) on a Lenovo Legion+notebook (model 82WQ). This tests Strata 0.1.38 with the original Flash-Next IQ3_S+and one GPU, with a 131,072-token context limit and, in a second session, a+262,144-token limit.++With the 131,072-token limit, median decode throughput was **51.2 tok/s at 4,096+prompt tokens, 49.9 tok/s at 32,768, and 48.1 tok/s at 128,000**; median prompt+throughput was 1,345 / 2,506 / 2,386 tok/s. With the 262,144-token limit, a+**250,000-token prompt was read at 2,116 tok/s (118.5 s to the first token) and+decoded at 40.3 tok/s**; at the shorter lengths decode was 13-17% slower than with+the 131,072-token limit ([below](#262144-token-context)). These are synthetic+code-explanation requests with greedy decoding and a 256-token output cap. They do+not establish general answer quality or performance on other workloads.++## Hardware and software++- NVIDIA GeForce RTX 4090 Laptop GPU (AD103); 16,376 MiB reported VRAM. nvidia-smi+ reported a 175 W current and maximum power limit (default 80 W), with+ `nvidia-powerd` (Dynamic Boost) active. PCIe capability: Gen 4, x16. The engine's+ startup transfer probe reported 19.3 GB/s host-to-device. GPU clocks were not fixed.+- Intel Core i9-13900HX; 32 logical CPUs. No AVX-512: the engine used AVX2 with+ 23 expert-pool workers plus its host thread. CPU limits from the Lenovo firmware+ attributes: PL1 125 W, PL2 190 W.+- 64 GB installed RAM; Linux reported 61.28 GiB usable. Storage: WD_BLACK SN850X+ 2 TB NVMe (model files and data directory). 512 GiB swap file.+- Platform profile `performance` (the `lenovo-wmi-gamezone` driver also offers+ `max-power` and `custom`; they were not used).+- Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic, NVIDIA driver 610.57.04 (reports+ CUDA 13.3).+- Source commit `99f3dbd0b21d1401b3769e0c0d963913607f380b`; engine 0.1.38.+ **Source build:** setup found no ready-made engine for v0.1.38 (the release+ download returned HTTP 404) and compiled one locally for CUDA architecture 89 with+ CUDA Toolkit 13.4 (NVCC V13.4.92) and GCC 15.2.0. Python 3.14.4. Hashes of the+ engine binary and the expert profile are in [artifact-hashes.json](artifact-hashes.json).+- During the run, Firefox and other large applications were closed; the desktop+ session stayed running. The machine was not otherwise isolated.++## Model and configuration++Model: `ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF`, revision+`ed59f92082b1e93c0e96d60a8b11aab089b52f09` (setup's pinned revision):++- `IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf` (54,817,524,224 bytes)+- `IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf` (28,800,138,432 bytes)++The files were downloaded and checked by the unmodified installer; they were not+hashed again for this report. The MTP draft layer was fetched by the installer from+`Qwen/Qwen3.8-Flash-Next`. No vision encoder.++Setup command:++```bash+./setup.sh --yes --family qwen --model IQ3_S --context 131072 --kv int8 --vision no --no-start+```++- Context 131,072; INT8 KV. The launch arguments contain no `--kv-resident`, so KV+ streaming was off (setup's choice for this RAM size).+- Expert cache `auto`: 3,865 slots, 7.38 GiB VRAM, profile-prefilled, no eviction.+ The bundled expert profile was used without calibration.+- Prefill `auto` selected chunks of 8,192 tokens, borrowing 2,333 expert-cache+ slots (4.43 GiB) during prompt processing.+- 46.84 GiB of experts loaded into RAM at 4.96 GiB/s; 4 KB pages (no huge pages).+- MTP `--spec 4 --spec-min-p 0.5`.+- Low-RAM mode off; vision off; experimental speed projection off.+- Reasoning disabled, temperature 0, maximum 256 generated tokens per speed run.++The complete configuration is [strata-iq3_s.json](strata-iq3_s.json). The engine log+of the measured session (from engine start to the last recall check) is+[engine.log](engine.log). The server was started with `BROWSER=true ./run-iq3_s.sh`+so that it opened no browser.++## Method and reproduction++The benchmark and monitor scripts are the ones from the+[RTX 5090 report](../2026-09-30-community-rtx-5090/README.md), unchanged, run from+the repository root against the installed server:++```bash+B=bench/results/2026-09-30-community-rtx-5090+.venv/bin/python $B/monitor.py ~/strata-bench/telemetry.jsonl &+.venv/bin/python $B/benchmark.py --root . --pack ../Strata-data/packs/iq3_s \+ --url http://127.0.0.1:8080 --out ~/strata-bench+kill %1+.venv/bin/python tools/needle_bench.py --url http://127.0.0.1:8080 \+ --lengths 32k,128k --depths 10,50,90 --out ~/strata-bench/needles.json+```++Before the benchmark, the same loaded engine answered one 1,000-token request+(a power check, not part of the results). One short warm-up request was then+excluded. Three runs at each length were executed serially in increasing-length+order. All nine speed requests processed their entire prompt: **zero reused+tokens**. The GPU expert cache was filled at startup and kept between requests;+loading time is excluded.++TTFT and total latency are measured by the client over loopback. Engine prompt+throughput is freshly read tokens divided by `prompt_ms`; decode throughput is+`engine_generated / decode_ms`.++## Results++Each cell is the median **[minimum–maximum]** of three runs. Every request generated+256 tokens and stopped at the output limit, with no failed or cancelled requests.++| Prompt tokens | Reused | Prompt tok/s | Decode tok/s | TTFT seconds | Total seconds |+| ---: | ---: | ---: | ---: | ---: | ---: |+| 4,096 | 0 | 1,345.0 [1,280.0–1,367.7] | 51.2 [42.7–53.9] | 3.084 [3.032–3.235] | 8.004 [7.802–9.205] |+| 32,768 | 0 | 2,505.5 [2,496.1–2,511.8] | 49.9 [49.0–53.1] | 13.150 [13.135–13.201] | 18.305 [17.919–18.345] |+| 128,000 | 0 | 2,385.8 [2,376.5–2,412.7] | 48.1 [47.6–48.8] | 53.818 [53.217–54.043] | 59.164 [58.432–59.333] |++Raw per-run records: [results.json](results.json); aggregates:+[summary.json](summary.json). Decode expert-cache hit rates were 68.2–80.3%, and+the model accepted 136–162 of 203–234 MTP drafts per request. The lowest decode+run (42.7 tok/s) is the first 4K run, which also had the lowest hit rate (68.2%).++[telemetry.jsonl](telemetry.jsonl) has 267 samples over 273.5 seconds, covering the+speed suite only (not the recall checks). Observed peaks+([memory-summary.json](memory-summary.json)):++- GPU memory: **15,698 MiB** of 16,376 MiB, system-wide.+- Host RAM: **54.74 GiB** used (`MemTotal - MemAvailable`, system-wide, not process+ RSS); MemAvailable never fell below 6.55 GiB.+- Swap: 698.5 MiB allocated at the start and at the peak (no increase during the+ run). Swap I/O was not measured.+- GPU power: median **170 W** over the 250 samples with utilization above 50%, peak+ 176 W; peak temperature 86 °C. Prompt processing ran at the power limit.++A separate power check on the same session (one 1,000-token answer, 25-token+prompt, not part of the table) decoded at 57.0 tok/s with a median GPU draw of+116 W (peak 141 W) over 39 busy samples: decode did not reach the power limit.++## Recall++The unchanged `tools/needle_bench.py` found **all six needles** at depths 10%,+50% and 90%. Actual prompt lengths were 31,969–31,970 tokens for `32k` and+122,753–122,755 for `128k`. See [needles.json](needles.json). The third case of+each length reused 16,384 prompt tokens (engine `/metrics`); the others reused zero.++## 262,144-token context++Measured later the same day (after a reboot) on the same machine, commit, engine+build, model files and power mode. Only the context changed:++```bash+./setup.sh --setup --yes --family qwen --model IQ3_S --context 262144 --kv int8 --vision no --no-start+```++The resulting configuration differs from the 131,072-token one only in+`--max-context 262144` ([context-262144/strata-iq3_s.json](context-262144/strata-iq3_s.json)).+KV streaming stayed off, so the larger INT8 KV cache sits in VRAM and the expert+cache shrank to **2,856 slots (5.47 GiB)** from 3,865 (7.38 GiB). Prefill still used+8,192-token chunks and borrowed 2,319 slots (4.43 GiB). The PCIe probe reported+20.6 GB/s. Engine log of this session: [context-262144/engine.log](context-262144/engine.log).++The same benchmark script ran with `--targets 4096,32768,128000,250000`, and the+monitor ran alongside it. No other request preceded the warm-up. All twelve speed+requests read their entire prompt (**zero reused tokens**), generated 256 tokens+and stopped at the output limit.++| Prompt tokens | Reused | Prompt tok/s | Decode tok/s | TTFT seconds | Total seconds |+| ---: | ---: | ---: | ---: | ---: | ---: |+| 4,096 | 0 | 1,343.0 [1,266.5–1,397.2] | 43.4 [37.4–44.1] | 3.097 [2.973–3.278] | 9.056 [8.961–9.783] |+| 32,768 | 0 | 2,457.5 [2,434.0–2,469.2] | 43.3 [43.0–43.3] | 13.412 [13.349–13.539] | 19.295 [19.228–19.457] |+| 128,000 | 0 | 2,291.6 [2,290.5–2,327.3] | 39.7 [39.5–42.6] | 56.027 [55.166–56.054] | 62.031 [61.612–62.448] |+| 250,000 | 0 | 2,116.4 [2,115.7–2,132.3] | 40.3 [40.2–41.0] | 118.457 [117.552–118.483] | 124.661 [123.891–124.798] |++Raw records: [context-262144/results.json](context-262144/results.json); aggregates:+[context-262144/summary.json](context-262144/summary.json). Decode expert-cache hit+rates were 67.1–74.6% (68.2–80.3% with the 131,072-token limit), and the model+accepted 134–155 of 203–246 MTP drafts per request. Against the 131,072-token+configuration, median decode was 15% lower at 4,096 tokens, 13% lower at 32,768+and 17% lower at 128,000; prompt throughput was within 4%.++The telemetry ([context-262144/telemetry.jsonl](context-262144/telemetry.jsonl),+662 samples over 679.5 seconds, speed suite only) shows peaks of **15,718 MiB** GPU+memory and **55.11 GiB** host RAM used; MemAvailable never fell below 6.17 GiB, and+swap stayed at 0.7 MiB. GPU power had a median of **172 W** over the 626 samples with+utilization above 50%, one sample at 184 W, and a peak temperature of 89 °C+([context-262144/memory-summary.json](context-262144/memory-summary.json)).++The needle test ran with `--lengths 32k,128k,256k` and found **all nine needles**.+Actual prompt lengths were 32,034–32,035 tokens for `32k`, 122,798–122,800 for+`128k` and 249,309–249,310 for `256k`+([context-262144/needles.json](context-262144/needles.json)). All three `256k`+cases and the third `32k` and `128k` cases reused 16,384 prompt tokens; the others+reused zero.++## Limitations++This is one machine, one quantization, two context limits and a small synthetic+workload. Long output, sampled decoding, thinking, coding-task correctness, tool+use and a sustained thermal run were not evaluated. A+notebook's power and thermal behaviour depends on its power mode, cooling and+ambient temperature; other power modes were not tested. The README's numbers for+other machines are not a controlled comparison.diff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/TRIMMED.md b/bench/results/2026-10-04-community-rtx-4090-laptop/TRIMMED.mdnew file mode 100644index 000000000..e2973c9cc--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/TRIMMED.md@@ -0,0 +1,13 @@+# Trimmed files++Ported from PR #757 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.++4 files, 0.2 MB:++| file | bytes | why |+|---|---:|---|+| `context-262144/engine.log` | 10,073 | log/raw dump |+| `context-262144/telemetry.jsonl` | 128,080 | log/raw dump |+| `engine.log` | 7,813 | log/raw dump |+| `telemetry.jsonl` | 51,632 | log/raw dump |diff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/artifact-hashes.json b/bench/results/2026-10-04-community-rtx-4090-laptop/artifact-hashes.jsonnew file mode 100644index 000000000..76d61560a--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/artifact-hashes.json@@ -0,0 +1,4 @@+{+ "engine/strata": "903787d803c2944f41d1d1120b318cf8d405dea39c11fa6d3449fd0464163af6",+ "data/expert-profile.bin": "8f59b4aa8873209dff11c11e37bcda9529a1335b724a1afeea37bf6388975baf"+}\ No newline at end of filediff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/initial-status.json b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/initial-status.jsonnew file mode 100644index 000000000..c4be15ddc--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/initial-status.json@@ -0,0 +1,57 @@+{+ "service": "strata",+ "model": "qwen3.8-flash-next-iq3_s",+ "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.38",+ "started": 1791109452,+ "uptime_s": 12,+ "cache_max_tokens": 262144,+ "context": {+ "native": 262144,+ "max_positions": 262144+ },+ "concurrency": {+ "serving": 1,+ "requested": 1+ },+ "dialects": [+ "/v1/chat/completions",+ "/v1/messages"+ ],+ "vision": {+ "enabled": false,+ "available": false,+ "error": null+ },+ "activity": {+ "requests": 0,+ "in_flight": 0,+ "last_request_at": null+ },+ "last_timings": null,+ "machine": {+ "at": 1791109464,+ "gpu": {+ "name": "NVIDIA GeForce RTX 4090 Laptop GPU",+ "used_mib": 15969.0,+ "total_mib": 16376.0,+ "util_pct": 0,+ "temp_c": 41,+ "power_w": 28.199+ },+ "ram": {+ "used_gib": 53.9,+ "total_gib": 61.3+ }+ }+}diff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/memory-summary.json b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/memory-summary.jsonnew file mode 100644index 000000000..8dc728c3b--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/memory-summary.json@@ -0,0 +1,16 @@+{+ "samples": 662,+ "span_s": 679.5,+ "mem_total_gib": 61.28,+ "host_ram_used_peak_gib": 55.11,+ "mem_available_min_gib": 6.17,+ "swap_used_start_mib": 0.7,+ "swap_used_peak_mib": 0.7,+ "gpu_memory_used_peak_mib": 15718.0,+ "gpu_memory_total_mib": 16376.0,+ "gpu_power_peak_w": 184.22,+ "gpu_power_median_w_util_over_50pct": 171.56,+ "gpu_samples_util_over_50pct": 626,+ "gpu_temp_peak_c": 89.0,+ "definition": "host RAM used = MemTotal - MemAvailable (system-wide, not process RSS); GPU values from nvidia-smi once per second"+}\ No newline at end of filediff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/needles.json b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/needles.jsonnew file mode 100644index 000000000..388662bf5--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/needles.json@@ -0,0 +1,83 @@+[+ {+ "length": "32k",+ "depth": 10,+ "prompt_tokens": 32034,+ "seconds": 14.4,+ "found": true,+ "word": "meadow-copper-504",+ "answer": "meadow-copper-504"+ },+ {+ "length": "32k",+ "depth": 50,+ "prompt_tokens": 32034,+ "seconds": 14.0,+ "found": true,+ "word": "falcon-quartz-940",+ "answer": "falcon-quartz-940"+ },+ {+ "length": "32k",+ "depth": 90,+ "prompt_tokens": 32035,+ "seconds": 7.4,+ "found": true,+ "word": "willow-cobalt-696",+ "answer": "willow-cobalt-696"+ },+ {+ "length": "128k",+ "depth": 10,+ "prompt_tokens": 122800,+ "seconds": 54.0,+ "found": true,+ "word": "falcon-saffron-138",+ "answer": "falcon-saffron-138"+ },+ {+ "length": "128k",+ "depth": 50,+ "prompt_tokens": 122798,+ "seconds": 54.6,+ "found": true,+ "word": "quartz-tundra-528",+ "answer": "quartz-tundra-528"+ },+ {+ "length": "128k",+ "depth": 90,+ "prompt_tokens": 122798,+ "seconds": 48.0,+ "found": true,+ "word": "quartz-glacier-192",+ "answer": "quartz-glacier-192"+ },+ {+ "length": "256k",+ "depth": 10,+ "prompt_tokens": 249309,+ "seconds": 114.9,+ "found": true,+ "word": "tundra-falcon-946",+ "answer": "tundra-falcon-946"+ },+ {+ "length": "256k",+ "depth": 50,+ "prompt_tokens": 249309,+ "seconds": 115.1,+ "found": true,+ "word": "willow-glacier-745",+ "answer": "willow-glacier-745"+ },+ {+ "length": "256k",+ "depth": 90,+ "prompt_tokens": 249310,+ "seconds": 115.3,+ "found": true,+ "word": "falcon-juniper-150",+ "answer": "falcon-juniper-150"+ }+]\ No newline at end of filediff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/results.json b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/results.jsonnew file mode 100644index 000000000..729ab2f23--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/results.json@@ -0,0 +1,496 @@+[+ {+ "label": "warmup",+ "expected_prompt_tokens": null,+ "request_sha256": "b63e57873441a996a529b246a66cf12de70a7c671777f99329354d5c195f788f",+ "client_ttft_s": 0.4938286670000025,+ "client_elapsed_s": 0.6190126369999973,+ "finish_reason": "stop",+ "usage": {+ "prompt_tokens": 19,+ "completion_tokens": 2,+ "total_tokens": 21,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109464.3412027,+ "duration_s": 0.6,+ "finish": "stop",+ "prompt_tokens": 19,+ "reused": 0,+ "output_tokens": 2,+ "prompt_total": 19,+ "prompt_read": 19,+ "engine_generated": 2,+ "prompt_ms": 443.2,+ "decode_ms": 170.2,+ "decode_tok_s": 11.8,+ "hit_rate": 0.226,+ "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": "5d94c652067354bbe72930d2bdad3886564f08cf2546b32411af02d33ad3ce05",+ "client_ttft_s": 2.9728507060000027,+ "client_elapsed_s": 9.783303002999986,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109465.416688,+ "duration_s": 9.8,+ "finish": "length",+ "prompt_tokens": 4096,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 4096,+ "prompt_read": 4096,+ "engine_generated": 256,+ "prompt_ms": 2931.5,+ "decode_ms": 6839.5,+ "decode_tok_s": 37.4,+ "hit_rate": 0.671,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 246,+ "drafts_accepted": 145+ },+ "text": "The provided Python module presents a synthetic collection of functions, labeled `task_00000` through `task_00112` (and potentially beyond, given the truncation), that perform deterministic integer transformations. At first glance, the code appears repetitive and mechanically generated, but it serves as an excellent case study for understanding modular arithmetic, function design patterns, and the trade-offs between explicit definition and programmatic generation in software engineering.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nEach function in the module accepts a single integer argument, `value`, and returns an integer result. The core logic of every function follows a linear transformation formula: `(value * multiplier + offset) % modulus`. In this specific module, the modulus is consistently `100003`, which is a prime number. The use of a prime modulus is significant in computer science, particularly in cryptography and hashing algorithms, as it ensures that the multiplicative group of integers modulo $p$ is cyclic, allowing for better distribution of results and avoiding certain periodic patterns that composite moduli might introduce.\n\nThe transformation itself is an affine map. For any given function `task_NNNNN`, the multiplier and offset are derived from the function's index. For the first"+ },+ {+ "label": "tokens-4096-run-2",+ "expected_prompt_tokens": 4096,+ "request_sha256": "8da8a04e70e4d916f6630729082bdfb9d6ebbb47117aad60bc0541bce198a213",+ "client_ttft_s": 3.096903908999991,+ "client_elapsed_s": 8.960572068999994,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109476.0071821,+ "duration_s": 9.0,+ "finish": "length",+ "prompt_tokens": 4096,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 4096,+ "prompt_read": 4096,+ "engine_generated": 256,+ "prompt_ms": 3049.8,+ "decode_ms": 5897.9,+ "decode_tok_s": 43.4,+ "hit_rate": 0.715,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 227,+ "drafts_accepted": 150+ },+ "text": "The provided Python module presents a synthetic collection of functions, labeled `task_00000` through `task_00112` (with the last one truncated), that perform deterministic integer transformations. At first glance, the code appears repetitive and verbose, but it serves as an excellent case study for discussing algorithmic patterns, modular arithmetic, code maintainability, and the trade-offs between explicitness and abstraction.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nEach function in the module follows a strict mathematical pattern: `return (value * multiplier + offset) % 100003`. This is a linear congruential transformation, a common primitive in pseudorandom number generation and cryptographic hashing, though here it is used in a simplified, deterministic context. The core operation involves three steps: multiplication, addition, and modulo reduction.\n\nThe modulo operator (`%`) ensures that the output is always constrained within the range `[0, 100002]`. The modulus `100003` is a prime number, which is significant in number theory. Using a prime modulus ensures that the multiplicative group of integers modulo `100003` is cyclic, meaning that for any non"+ },+ {+ "label": "tokens-4096-run-3",+ "expected_prompt_tokens": 4096,+ "request_sha256": "946079edb58e764050805886156dc8f877cc29e1ca8d01c84e9a1e7917d49492",+ "client_ttft_s": 3.2776614609999797,+ "client_elapsed_s": 9.056425740999998,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109485.7861407,+ "duration_s": 9.0,+ "finish": "length",+ "prompt_tokens": 4096,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 4096,+ "prompt_read": 4096,+ "engine_generated": 256,+ "prompt_ms": 3234.1,+ "decode_ms": 5810.3,+ "decode_tok_s": 44.1,+ "hit_rate": 0.72,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 224,+ "drafts_accepted": 149+ },+ "text": "The provided Python module presents a synthetic collection of functions, labeled `task_00000` through `task_00112` (with the last one truncated), that perform deterministic integer transformations. At first glance, the code appears repetitive and verbose, but it serves as an excellent case study for analyzing algorithmic patterns, modular arithmetic, code maintainability, and the trade-offs between explicit definition and programmatic generation.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nEach function in the module follows a strict linear transformation pattern: $f(x) = (a \\cdot x + b) \\pmod m$. Here, $x$ is the input `value`, $a$ is a multiplier, $b$ is an additive constant, and $m$ is the modulus, fixed at $100,003$. This modulus is a prime number, which is significant in number theory and cryptography because it ensures that the multiplicative group of integers modulo $m$ is cyclic. This property guarantees that for any non-zero multiplier $a$, the transformation is bijective (one-to-one and onto) within the range $[0, m-1]$. Consequently, every output value is unique for a given input within that"+ },+ {+ "label": "tokens-32768-run-1",+ "expected_prompt_tokens": 32768,+ "request_sha256": "e37cfc2ab9867d91130927440df24a57255a736b8d0d829d07d828e22e3de572",+ "client_ttft_s": 13.412378540999981,+ "client_elapsed_s": 19.295468575,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109496.2633154,+ "duration_s": 19.3,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 13333.7,+ "decode_ms": 5915.9,+ "decode_tok_s": 43.3,+ "hit_rate": 0.69,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 203,+ "drafts_accepted": 153+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888`, each performing a specific linear transformation on an integer input. While the code appears repetitive, it serves as a rigorous stress test for deterministic integer transforms and modulo arithmetic within a constrained environment.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of every function in this module is a linear congruential generator (LCG) style transformation, defined by the formula:\n\n$$ f(x) = (a \\cdot x + c) \\pmod m $$\n\nWhere:\n* $x$ is the input `value`.\n* $a$ is the multiplier (coefficient).\n* $c$ is the additive constant.\n* $m$ is the modulus, fixed at `100003` for all functions.\n\nThe modulus `100003` is a prime number. This choice is significant in computational mathematics and cryptography because it ensures that the multiplicative group of integers modulo $"+ },+ {+ "label": "tokens-32768-run-2",+ "expected_prompt_tokens": 32768,+ "request_sha256": "ed2dfaa11aecad9f4563f33bb5f5d4b8704486508700b8fa572722cc1225ee26",+ "client_ttft_s": 13.348980681,+ "client_elapsed_s": 19.228359006999995,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109517.1243386,+ "duration_s": 19.2,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 13270.5,+ "decode_ms": 5912.1,+ "decode_tok_s": 43.3,+ "hit_rate": 0.687,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 212,+ "drafts_accepted": 155+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888` (and potentially beyond, given the truncation), each performing a specific linear transformation on an integer input. While the code appears repetitive and trivial at first glance, it serves as a rigorous stress test for several fundamental aspects of software engineering and computer science, including deterministic integer transforms, modulo arithmetic, code maintainability, and computational complexity.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of every function in this module is a deterministic linear transformation defined by the formula:\n$$ f(x) = (a \\cdot x + b) \\pmod{m} $$\nwhere $x$ is the input `value`, $a$ is a multiplier, $b$ is an additive constant, and $m$ is the modulus, fixed at `100003` for all functions.\n\nThe choice of `100003` as the modulus is significant. It is a prime number. In modular arithmetic, using"+ },+ {+ "label": "tokens-32768-run-3",+ "expected_prompt_tokens": 32768,+ "request_sha256": "2a3c7342622e80c3cd8b37e062f0a2f64640c119ece8cccbf168639041eac079",+ "client_ttft_s": 13.539152602000001,+ "client_elapsed_s": 19.456694891000012,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109537.9798918,+ "duration_s": 19.4,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 13462.6,+ "decode_ms": 5949.0,+ "decode_tok_s": 43.0,+ "hit_rate": 0.718,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 213,+ "drafts_accepted": 144+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888`, each performing a specific linear transformation on an integer input. While the code appears repetitive and trivial at first glance, it serves as a rigorous stress test for several fundamental aspects of software engineering and computer science, including deterministic integer transforms, modulo arithmetic, code maintainability, and computational complexity.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of every function in this module is a deterministic integer transform. A deterministic transform is a function where the output is entirely determined by the input, with no randomness or side effects. In this case, the transform is a linear congruential generator (LCG) step, a concept frequently used in pseudo-random number generation and cryptographic hashing. The general form of the operation is:\n\n$$ f(x) = (a \\cdot x + c) \\pmod m $$\n\nWhere:\n* $x$ is the input value.\n* $a$ is the multiplier (coefficient).\n* "+ },+ {+ "label": "tokens-128000-run-1",+ "expected_prompt_tokens": 128000,+ "request_sha256": "3235aac3f934cf1d889c25973ca172b355509dc2522fdfb463fbefe979a9075d",+ "client_ttft_s": 55.16646516900002,+ "client_elapsed_s": 61.612296993,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109560.648786,+ "duration_s": 61.5,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 55000.2,+ "decode_ms": 6485.0,+ "decode_tok_s": 39.5,+ "hit_rate": 0.718,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 226,+ "drafts_accepted": 145+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. It consists of a massive, repetitive series of function definitions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. The core logic within each function is identical in structure but varies in its specific integer constants. This structure allows for a detailed examination of deterministic integer transforms, modular arithmetic, code complexity, and maintainability issues inherent in such generated code.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nAt the heart of every function in this module is a linear congruential-like transformation: `(value * multiplier + addend) % modulus`. Here, the `modulus` is constant at `100003`, a prime number often used in hashing and cryptographic contexts to ensure uniform distribution of results. The `multiplier` and `addend` vary per function, creating a unique deterministic mapping for each task.\n\nFor the first 97 functions (`task_00000` to `task_00096`), the pattern is strictly linear: the multiplier is `index + 1` and the addend is `"+ },+ {+ "label": "tokens-128000-run-2",+ "expected_prompt_tokens": 128000,+ "request_sha256": "5f4b8bc9f0afc7765320abd89960c0938e0d7cf5974e962fdbd0613fef31c8d4",+ "client_ttft_s": 56.05381016800004,+ "client_elapsed_s": 62.03087383400003,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109625.604749,+ "duration_s": 61.9,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 55883.0,+ "decode_ms": 6008.8,+ "decode_tok_s": 42.6,+ "hit_rate": 0.705,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 209,+ "drafts_accepted": 154+ },+ "text": "The provided Python module represents a synthetic benchmark designed to evaluate the performance, correctness, and maintainability of code generation or execution systems. It consists of a massive, repetitive series of function definitions, ranging from `task_00000` to `task_03404` (and potentially beyond, given the truncation). Each function accepts a single integer argument `value` and returns an integer result. While the code appears verbose and redundant, it serves as a rigorous test case for understanding deterministic integer transforms, modular arithmetic, and the trade-offs between explicit definition and programmatic generation.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nAt the core of every function in this module is a linear congruential-like transformation followed by a modulo operation. The general form of the transformation is:\n\n$$ f(x) = (x \\cdot a + b) \\pmod m $$\n\nWhere:\n* $x$ is the input `value`.\n* $a$ is a multiplier that varies per function.\n* $b$ is an additive constant that varies per function.\n* $m$ is the modulus, consistently set to `100003` across all functions.\n\nThe modulus `1"+ },+ {+ "label": "tokens-128000-run-3",+ "expected_prompt_tokens": 128000,+ "request_sha256": "5c3fb71db9f9f44765f28389d1032f2c8b6687d1bf5ca6f33aeb924072cfa6e4",+ "client_ttft_s": 56.027062927999964,+ "client_elapsed_s": 62.44793611,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109690.8857803,+ "duration_s": 62.3,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 55856.6,+ "decode_ms": 6453.5,+ "decode_tok_s": 39.7,+ "hit_rate": 0.734,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 220,+ "drafts_accepted": 134+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. It consists of a massive, repetitive series of function definitions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. The core logic within each function is identical in structure but varies in its specific integer constants. This structure allows for a detailed examination of deterministic integer transforms, modular arithmetic, code complexity, and maintainability.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nAt the heart of every function in this module is a linear congruential-like transformation: `(value * multiplier + addend) % modulus`. The modulus is consistently set to `100003`, a prime number. Using a prime modulus is a common practice in hashing and cryptographic primitives because it ensures that the multiplicative group of integers modulo `p` is cyclic, which can help distribute results more evenly if the multiplier is not a multiple of the modulus.\n\nThe transformation is deterministic. For any given input `value`, the output is always the same, assuming no overflow issues (which Python handles automatically via arbitrary-precision integers). The `multiplier` and `addend` vary per"+ },+ {+ "label": "tokens-250000-run-1",+ "expected_prompt_tokens": 250000,+ "request_sha256": "f73fdb1c0bd699461463ea8cc037206117ee1bf4aa2bb0597ad07c32c7c8c05f",+ "client_ttft_s": 117.55214359999997,+ "client_elapsed_s": 123.89100434699998,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 250000,+ "completion_tokens": 256,+ "total_tokens": 250256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109759.1402538,+ "duration_s": 123.6,+ "finish": "length",+ "prompt_tokens": 250000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 250000,+ "prompt_read": 250000,+ "engine_generated": 256,+ "prompt_ms": 117243.4,+ "decode_ms": 6376.0,+ "decode_tok_s": 40.2,+ "hit_rate": 0.746,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 214,+ "drafts_accepted": 144+ },+ "text": "This synthetic Python module presents a highly repetitive, yet mathematically structured collection of functions that perform deterministic integer transformations. At first glance, the code appears to be a brute-force enumeration of linear congruential operations, but a deeper analysis reveals a systematic pattern governed by modular arithmetic, specific parameter cycling, and rigid naming conventions. This review explores the mathematical underpinnings, structural design, computational complexity, and maintainability implications of this module.\n\n### Mathematical Structure and Deterministic Transforms\n\nThe core operation in every function is a linear transformation followed by a modulo operation. The general form of each function `task_XXXXX` is:\n\n```python\nreturn (value * multiplier + offset) % 100003\n```\n\nHere, `100003` is a prime number. Using a prime modulus is significant in cryptography and hashing because it ensures that the multiplicative group of integers modulo `p` is cyclic, which can be useful for generating pseudo-random sequences or ensuring uniform distribution in hash tables.\n\nThe parameters `multiplier` and `offset` are not random; they follow a strict, deterministic pattern based on the function's index (the number in the function name).\n\n1. **The Offset:** The"+ },+ {+ "label": "tokens-250000-run-2",+ "expected_prompt_tokens": 250000,+ "request_sha256": "358239db3b46ace54d5072611dce678e1e0526645cdbf419cbfb5e8679e67dbd",+ "client_ttft_s": 118.45694852600002,+ "client_elapsed_s": 124.66089850100002,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 250000,+ "completion_tokens": 256,+ "total_tokens": 250256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791109888.8918397,+ "duration_s": 124.4,+ "finish": "length",+ "prompt_tokens": 250000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 250000,+ "prompt_read": 250000,+ "engine_generated": 256,+ "prompt_ms": 118123.6,+ "decode_ms": 6239.2,+ "decode_tok_s": 41.0,+ "hit_rate": 0.744,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 218,+ "drafts_accepted": 148+ },+ "text": "This Python module presents a highly structured, synthetic collection of functions designed to demonstrate deterministic integer transformations under modular arithmetic. The code consists of thousands of individual functions, each named with a sequential identifier (e.g., `task_00000`, `task_00001`), and each performing a specific linear transformation on an input integer `value`. The core operation in every function is identical in structure: `(value * multiplier + offset) % modulus`.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the heart of this module is the concept of a **linear congruential transformation**. Each function maps an input integer to an output integer within a fixed range defined by the modulus, which is consistently set to `100003` across all functions. This modulus is a prime number, a choice that is significant in cryptography and random number generation because it ensures that the multiplicative group of integers modulo `100003` is cyclic. This property guarantees that for any non-zero multiplier, the transformation is bijective (one-to-one and onto) within the range `[0, 100002]`.\n\nThe transformation follows the formula:\n$$ f(x) = (a \\cdot x"+ },+ {+ "label": "tokens-250000-run-3",+ "expected_prompt_tokens": 250000,+ "request_sha256": "c7695d40043cdb33fc8d881e0a4326cdb312e80a5fdb334af9d5340f524f34e2",+ "client_ttft_s": 118.48339724100003,+ "client_elapsed_s": 124.79798430300002,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 250000,+ "completion_tokens": 256,+ "total_tokens": 250256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791110019.7602403,+ "duration_s": 124.5,+ "finish": "length",+ "prompt_tokens": 250000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 250000,+ "prompt_read": 250000,+ "engine_generated": 256,+ "prompt_ms": 118163.1,+ "decode_ms": 6351.7,+ "decode_tok_s": 40.3,+ "hit_rate": 0.734,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 227,+ "drafts_accepted": 154+ },+ "text": "This synthetic Python module presents a highly repetitive, yet structurally coherent, 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` 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 the formula:\n$$ f(x) = (x \\cdot a + b) \\pmod m $$\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 represents a **Linear Congruential Generator (LCG)** step or a simple affine cipher operation. The transformation is deterministic: for any given input `value`, the output is always the same, provided the parameters $a$ and $b$ remain constant. This determinism is crucial for benchmarking, as it"+ }+]diff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/strata-iq3_s.json b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/strata-iq3_s.jsonnew file mode 100644index 000000000..0fd8e22bb--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/strata-iq3_s.json@@ -0,0 +1,38 @@+{+ "exe": "/home/r/Documents/dev/Strata/engine/strata",+ "args": [+ "--pack",+ "/home/r/Documents/dev/Strata-data/packs/iq3_s",+ "--native",+ "/home/r/Documents/dev/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf",+ "--ple-gguf",+ "/home/r/Documents/dev/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf",+ "--expert-profile",+ "/home/r/Documents/dev/Strata/data/expert-profile.bin",+ "--expert-cache",+ "auto",+ "--prefill",+ "auto",+ "--spec",+ "4",+ "--spec-min-p",+ "0.5",+ "--mtp",+ "/home/r/Documents/dev/Strata-data/mtp/rt",+ "--max-context",+ "262144",+ "--kv",+ "int8"+ ],+ "cwd": "/home/r/Documents/dev/Strata",+ "tokenizer": "/home/r/Documents/dev/Strata-data/packs/iq3_s/tokenizer",+ "model_name": "qwen3.8-flash-next-iq3_s",+ "log": "/home/r/Documents/dev/Strata/strata-iq3_s.log",+ "lib_dirs": [+ "/usr/local/cuda-13.4/bin",+ "/usr/local/cuda-13.4/lib64"+ ],+ "port": 8080,+ "gpu": 0,+ "gpus_asked": true+}\ No newline at end of filediff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/summary.json b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/summary.jsonnew file mode 100644index 000000000..a289a852c--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/context-262144/summary.json@@ -0,0 +1,150 @@+{+ "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": 3.096903908999991,+ "min": 2.9728507060000027,+ "max": 3.2776614609999797+ },+ "client_elapsed_s": {+ "median": 9.056425740999998,+ "min": 8.960572068999994,+ "max": 9.783303002999986+ },+ "prefill_tok_s": {+ "median": 1343.038887795921,+ "min": 1266.5038186821682,+ "max": 1397.2369094320313+ },+ "decode_tok_s": {+ "median": 43.40527984536869,+ "min": 37.429636669347175,+ "max": 44.05968710737828+ }+ },+ "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": 13.412378540999981,+ "min": 13.348980681,+ "max": 13.539152602000001+ },+ "client_elapsed_s": {+ "median": 19.295468575,+ "min": 19.228359006999995,+ "max": 19.456694891000012+ },+ "prefill_tok_s": {+ "median": 2457.532417858509,+ "min": 2434.0023472434746,+ "max": 2469.2362759504163+ },+ "decode_tok_s": {+ "median": 43.27321286701939,+ "min": 43.032442427298705,+ "max": 43.30102670793795+ }+ },+ "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": 56.027062927999964,+ "min": 55.16646516900002,+ "max": 56.05381016800004+ },+ "client_elapsed_s": {+ "median": 62.03087383400003,+ "min": 61.612296993,+ "max": 62.44793611+ },+ "prefill_tok_s": {+ "median": 2291.5823734348314,+ "min": 2290.499794212909,+ "max": 2327.2642644935836+ },+ "decode_tok_s": {+ "median": 39.66839699387929,+ "min": 39.47571318427139,+ "max": 42.60418053521502+ }+ },+ "250000": {+ "prompt_tokens": {+ "median": 250000,+ "min": 250000,+ "max": 250000+ },+ "cached_tokens": {+ "median": 0,+ "min": 0,+ "max": 0+ },+ "output_tokens": {+ "median": 256,+ "min": 256,+ "max": 256+ },+ "client_ttft_s": {+ "median": 118.45694852600002,+ "min": 117.55214359999997,+ "max": 118.48339724100003+ },+ "client_elapsed_s": {+ "median": 124.66089850100002,+ "min": 123.89100434699998,+ "max": 124.79798430300002+ },+ "prefill_tok_s": {+ "median": 2116.4271999837456,+ "min": 2115.7197128375947,+ "max": 2132.3161900797827+ },+ "decode_tok_s": {+ "median": 40.304170537021584,+ "min": 40.15056461731493,+ "max": 41.03090139761508+ }+ }+}diff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/initial-status.json b/bench/results/2026-10-04-community-rtx-4090-laptop/initial-status.jsonnew file mode 100644index 000000000..7365919a9--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/initial-status.json@@ -0,0 +1,70 @@+{+ "service": "strata",+ "model": "qwen3.8-flash-next-iq3_s",+ "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.38",+ "started": 1791068360,+ "uptime_s": 55,+ "cache_max_tokens": 131072,+ "context": {+ "native": 131072,+ "max_positions": 131072+ },+ "concurrency": {+ "serving": 1,+ "requested": 1+ },+ "dialects": [+ "/v1/chat/completions",+ "/v1/messages"+ ],+ "vision": {+ "enabled": false,+ "available": false,+ "error": null+ },+ "activity": {+ "requests": 1,+ "in_flight": 0,+ "last_request_at": 1791068388+ },+ "last_timings": {+ "cache_n": 0,+ "prompt_n": 25,+ "prompt_ms": 513.4,+ "prompt_per_token_ms": 20.536,+ "prompt_per_second": 48.7,+ "predicted_n": 1000,+ "predicted_ms": 17533.2,+ "predicted_per_token_ms": 17.533,+ "predicted_per_second": 57.0,+ "draft_n": 895,+ "draft_n_accepted": 650,+ "at": 1791068388+ },+ "machine": {+ "at": 1791068415,+ "gpu": {+ "name": "NVIDIA GeForce RTX 4090 Laptop GPU",+ "used_mib": 16059.0,+ "total_mib": 16376.0,+ "util_pct": 0,+ "temp_c": 52,+ "power_w": 4.817+ },+ "ram": {+ "used_gib": 53.7,+ "total_gib": 61.3+ }+ }+}diff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/memory-summary.json b/bench/results/2026-10-04-community-rtx-4090-laptop/memory-summary.jsonnew file mode 100644index 000000000..00afdd340--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/memory-summary.json@@ -0,0 +1,16 @@+{+ "samples": 267,+ "span_s": 273.5,+ "mem_total_gib": 61.28,+ "host_ram_used_peak_gib": 54.74,+ "mem_available_min_gib": 6.55,+ "swap_used_start_mib": 698.5,+ "swap_used_peak_mib": 698.5,+ "gpu_memory_used_peak_mib": 15698.0,+ "gpu_memory_total_mib": 16376.0,+ "gpu_power_peak_w": 176.04,+ "gpu_power_median_w_util_over_50pct": 170.18,+ "gpu_samples_util_over_50pct": 250,+ "gpu_temp_peak_c": 86.0,+ "definition": "host RAM used = MemTotal - MemAvailable (system-wide, not process RSS); GPU values from nvidia-smi once per second"+}\ No newline at end of filediff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/needles.json b/bench/results/2026-10-04-community-rtx-4090-laptop/needles.jsonnew file mode 100644index 000000000..fba93a522--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/needles.json@@ -0,0 +1,56 @@+[+ {+ "length": "32k",+ "depth": 10,+ "prompt_tokens": 31969,+ "seconds": 13.9,+ "found": true,+ "word": "meadow-copper-504",+ "answer": "meadow-copper-504"+ },+ {+ "length": "32k",+ "depth": 50,+ "prompt_tokens": 31969,+ "seconds": 13.5,+ "found": true,+ "word": "falcon-quartz-940",+ "answer": "falcon-quartz-940"+ },+ {+ "length": "32k",+ "depth": 90,+ "prompt_tokens": 31970,+ "seconds": 7.1,+ "found": true,+ "word": "willow-cobalt-696",+ "answer": "willow-cobalt-696"+ },+ {+ "length": "128k",+ "depth": 10,+ "prompt_tokens": 122755,+ "seconds": 52.4,+ "found": true,+ "word": "falcon-saffron-138",+ "answer": "falcon-saffron-138"+ },+ {+ "length": "128k",+ "depth": 50,+ "prompt_tokens": 122753,+ "seconds": 53.2,+ "found": true,+ "word": "quartz-tundra-528",+ "answer": "quartz-tundra-528"+ },+ {+ "length": "128k",+ "depth": 90,+ "prompt_tokens": 122753,+ "seconds": 46.8,+ "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-4090-laptop/results.json b/bench/results/2026-10-04-community-rtx-4090-laptop/results.jsonnew file mode 100644index 000000000..2f115c624--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/results.json@@ -0,0 +1,382 @@+[+ {+ "label": "warmup",+ "expected_prompt_tokens": null,+ "request_sha256": "b63e57873441a996a529b246a66cf12de70a7c671777f99329354d5c195f788f",+ "client_ttft_s": 0.46364896099998987,+ "client_elapsed_s": 0.5735629650000647,+ "finish_reason": "stop",+ "usage": {+ "prompt_tokens": 19,+ "completion_tokens": 2,+ "total_tokens": 21,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791068415.9060824,+ "duration_s": 0.6,+ "finish": "stop",+ "prompt_tokens": 19,+ "reused": 0,+ "output_tokens": 2,+ "prompt_total": 19,+ "prompt_read": 19,+ "engine_generated": 2,+ "prompt_ms": 428.7,+ "decode_ms": 142.2,+ "decode_tok_s": 14.1,+ "hit_rate": 0.26,+ "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": "5d94c652067354bbe72930d2bdad3886564f08cf2546b32411af02d33ad3ce05",+ "client_ttft_s": 3.234662473999947,+ "client_elapsed_s": 9.204596740999932,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791068416.9572825,+ "duration_s": 9.2,+ "finish": "length",+ "prompt_tokens": 4096,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 4096,+ "prompt_read": 4096,+ "engine_generated": 256,+ "prompt_ms": 3200.0,+ "decode_ms": 5996.6,+ "decode_tok_s": 42.7,+ "hit_rate": 0.682,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 234,+ "drafts_accepted": 158+ },+ "text": "The provided Python module presents a synthetic collection of functions, labeled `task_00000` through `task_00112` (and potentially beyond, given the truncation), that perform deterministic integer transformations. At first glance, the code appears repetitive and mechanically generated, but it serves as an excellent case study for understanding modular arithmetic, code generation patterns, and the trade-offs between explicit definition and dynamic execution in software engineering.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nEach function in the module follows a strict mathematical pattern: `return (value * multiplier + addend) % 100003`. This is a linear congruential transformation, a fundamental concept in number theory and cryptography. The operation consists of three steps:\n1. **Multiplication**: The input `value` is multiplied by a specific integer coefficient.\n2. **Addition**: A constant offset is added to the product.\n3. **Modulo Operation**: The result is reduced modulo 100,003.\n\nThe modulus 100,003 is a prime number. Using a prime modulus is significant because it ensures that the multiplicative group of integers modulo $p$ is cyclic"+ },+ {+ "label": "tokens-4096-run-2",+ "expected_prompt_tokens": 4096,+ "request_sha256": "8da8a04e70e4d916f6630729082bdfb9d6ebbb47117aad60bc0541bce198a213",+ "client_ttft_s": 3.032426429999987,+ "client_elapsed_s": 8.003982200999985,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791068426.9690282,+ "duration_s": 8.0,+ "finish": "length",+ "prompt_tokens": 4096,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 4096,+ "prompt_read": 4096,+ "engine_generated": 256,+ "prompt_ms": 2994.8,+ "decode_ms": 4997.8,+ "decode_tok_s": 51.2,+ "hit_rate": 0.792,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 213,+ "drafts_accepted": 146+ },+ "text": "The provided Python module presents a synthetic collection of functions, labeled `task_00000` through `task_00112` (with the last one truncated), that perform deterministic integer transformations. At first glance, the code appears repetitive and verbose, but it serves as an excellent case study for discussing algorithmic patterns, modular arithmetic, code maintainability, and the trade-offs between explicitness and abstraction in software engineering.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nEach function in the module follows a strict mathematical pattern: `return (value * multiplier + offset) % 100003`. This is a linear congruential transformation, a common primitive in pseudorandom number generation and cryptographic hashing, though here it is used in a simplified, deterministic context. The core operation involves three steps: multiplication, addition, and modulo reduction.\n\nThe modulus `100003` is a prime number. Using a prime modulus is significant in number theory because it ensures that the multiplicative group of integers modulo `p` is cyclic. This property is crucial if these functions were part of a larger system requiring invertibility or specific distribution properties. However, in this isolated context, the primary purpose of the modulo operation is"+ },+ {+ "label": "tokens-4096-run-3",+ "expected_prompt_tokens": 4096,+ "request_sha256": "946079edb58e764050805886156dc8f877cc29e1ca8d01c84e9a1e7917d49492",+ "client_ttft_s": 3.0839603470000156,+ "client_elapsed_s": 7.801856047000001,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791068435.693668,+ "duration_s": 7.8,+ "finish": "length",+ "prompt_tokens": 4096,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 4096,+ "prompt_read": 4096,+ "engine_generated": 256,+ "prompt_ms": 3045.4,+ "decode_ms": 4746.3,+ "decode_tok_s": 53.9,+ "hit_rate": 0.787,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 224,+ "drafts_accepted": 159+ },+ "text": "The provided Python module represents a synthetic collection of deterministic integer transformation functions, specifically designed to illustrate patterns in algorithmic design, modular arithmetic, and code maintainability. The module consists of a series of functions named `task_00000` through `task_00112` (with the last one truncated in the snippet), each accepting a single integer argument `value` and returning an integer result. The core logic within each function follows a consistent linear transformation pattern: `(value * multiplier + offset) % modulus`.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the heart of this module is the concept of a **linear congruential transformation**. Each function applies a linear equation of the form $f(x) = (ax + b) \\pmod m$, where $a$ is the multiplier, $b$ is the offset, and $m$ is the modulus. In this specific code, the modulus is consistently set to `100003`, which is a prime number. Using a prime modulus is a common practice in cryptography and hashing algorithms because it ensures that the multiplicative group of integers modulo $m$ is cyclic, allowing for better distribution properties and invertibility of the transformation (provided the multiplier $"+ },+ {+ "label": "tokens-32768-run-1",+ "expected_prompt_tokens": 32768,+ "request_sha256": "e37cfc2ab9867d91130927440df24a57255a736b8d0d829d07d828e22e3de572",+ "client_ttft_s": 13.134677652999926,+ "client_elapsed_s": 17.91851878,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791068444.8111954,+ "duration_s": 17.9,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 13045.6,+ "decode_ms": 4817.3,+ "decode_tok_s": 53.1,+ "hit_rate": 0.768,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 210,+ "drafts_accepted": 162+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888` (and potentially beyond, given the truncation), each performing a specific linear transformation on an integer input. This analysis explores the mathematical structure, implementation details, and software engineering implications of this codebase.\n\n### 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 coefficient.\n* $b$ is the additive constant.\n* $m$ is the modulus, fixed at `100003` for all functions.\n\nThe modulus `100003` is a prime number. In number theory, using a prime modulus ensures that the multiplicative group of integers modulo $m$ is cyclic,"+ },+ {+ "label": "tokens-32768-run-2",+ "expected_prompt_tokens": 32768,+ "request_sha256": "ed2dfaa11aecad9f4563f33bb5f5d4b8704486508700b8fa572722cc1225ee26",+ "client_ttft_s": 13.149978099999998,+ "client_elapsed_s": 18.34486596900001,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791068464.2135844,+ "duration_s": 18.3,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 13078.6,+ "decode_ms": 5220.6,+ "decode_tok_s": 49.0,+ "hit_rate": 0.777,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 217,+ "drafts_accepted": 145+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888` (and potentially beyond, given the truncation), each performing a specific linear transformation on an integer input. While the code appears repetitive and trivial at first glance, it serves as a rigorous stress test for several fundamental aspects of software engineering and computer science, including deterministic integer transforms, modulo arithmetic, code maintainability, and computational complexity.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of every function in this module is a deterministic integer transform. A deterministic transform is a function where the output is entirely determined by the input, with no side effects, randomness, or external state dependencies. In this module, the transform is a linear congruential generator (LCG) step, specifically of the form $f(x) = (ax + c) \\pmod m$.\n\nHere, $a$ is the multiplier, $c$ is the increment, and $m$ is the modulus, which is consistently set to `10000"+ },+ {+ "label": "tokens-32768-run-3",+ "expected_prompt_tokens": 32768,+ "request_sha256": "2a3c7342622e80c3cd8b37e062f0a2f64640c119ece8cccbf168639041eac079",+ "client_ttft_s": 13.201195067999947,+ "client_elapsed_s": 18.305361754000046,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791068484.0976012,+ "duration_s": 18.3,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 13127.5,+ "decode_ms": 5133.6,+ "decode_tok_s": 49.9,+ "hit_rate": 0.777,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 222,+ "drafts_accepted": 152+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. The code consists of a series of function definitions, ranging from `task_00000` to `task_00888` (and potentially beyond, given the truncation), each implementing a specific linear transformation on an integer input. While the code appears repetitive and trivial at first glance, it serves as a rigorous stress test for several fundamental aspects of software engineering and computer science, including deterministic integer transforms, modular arithmetic, code maintainability, and computational complexity.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nAt the core of every function in this module is a deterministic integer transform. Each function accepts an integer `value` and returns a new integer derived from a linear equation of the form $f(x) = (ax + b) \\pmod m$. Here, $a$ is the multiplier, $b$ is the additive constant, and $m$ is the modulus, which is consistently set to `100003` across all functions.\n\nThe choice of `100003` as the modulus is significant. It is a prime number, which"+ },+ {+ "label": "tokens-128000-run-1",+ "expected_prompt_tokens": 128000,+ "request_sha256": "3235aac3f934cf1d889c25973ca172b355509dc2522fdfb463fbefe979a9075d",+ "client_ttft_s": 53.216803176999974,+ "client_elapsed_s": 58.432046727000056,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791068505.8138661,+ "duration_s": 58.3,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 53051.7,+ "decode_ms": 5244.0,+ "decode_tok_s": 48.8,+ "hit_rate": 0.786,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 216,+ "drafts_accepted": 150+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. It consists of a massive, repetitive series of function definitions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. The core logic within each function is identical in structure but varies in its specific integer constants. This structure allows for a detailed examination of deterministic integer transforms, modular arithmetic, code complexity, and maintainability issues inherent in such generated code.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nAt the heart of every function in this module is a linear congruential-like transformation: `(value * multiplier + addend) % modulus`. Here, the `modulus` is consistently `100003`, a prime number often used in hashing and cryptographic contexts to ensure uniform distribution of results. The `multiplier` and `addend` are derived from the function\u2019s index.\n\nFor the first 97 functions (`task_00000` to `task_00096`), the pattern is straightforward: the multiplier is `index + 1` and the addend is `index`. For example, `task"+ },+ {+ "label": "tokens-128000-run-2",+ "expected_prompt_tokens": 128000,+ "request_sha256": "5f4b8bc9f0afc7765320abd89960c0938e0d7cf5974e962fdbd0613fef31c8d4",+ "client_ttft_s": 53.81830440800002,+ "client_elapsed_s": 59.164006125000014,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791068567.6605227,+ "duration_s": 59.0,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 53649.8,+ "decode_ms": 5374.3,+ "decode_tok_s": 47.6,+ "hit_rate": 0.796,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 203,+ "drafts_accepted": 136+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. It consists of a massive, repetitive series of function definitions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. The core logic within each function is identical in structure but varies in its specific constants, creating a deterministic integer transform pipeline.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the heart of every function in this module is the expression:\n`return (value * multiplier + addend) % 100003`\n\nThis is a classic **Linear Congruential Generator (LCG)** step, a fundamental algorithm in pseudo-random number generation and hashing. The operation transforms an input integer `value` into a new integer within the range `[0, 100002]`.\n\n1. **Multiplication (`value * multiplier`)**: This scales the input. The multiplier cycles through values from 1 to 97. This cycling suggests a pattern where the \"state\" of the transform changes periodically, perhaps to simulate different computational loads or to prevent simple pattern recognition in the output if the input were sequential"+ },+ {+ "label": "tokens-128000-run-3",+ "expected_prompt_tokens": 128000,+ "request_sha256": "5c3fb71db9f9f44765f28389d1032f2c8b6687d1bf5ca6f33aeb924072cfa6e4",+ "client_ttft_s": 54.042843436,+ "client_elapsed_s": 59.33340658899999,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791068630.3384264,+ "duration_s": 59.2,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 53859.6,+ "decode_ms": 5322.4,+ "decode_tok_s": 48.1,+ "hit_rate": 0.803,+ "ram_blobs": 0,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 213,+ "drafts_accepted": 136+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the execution speed, memory management, and parsing capabilities of a Python interpreter or static analysis tool. It consists of a massive, repetitive series of function definitions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. The core logic within each function is identical in structure but varies in its specific integer constants. This structure allows for a detailed examination of deterministic integer transforms, modular arithmetic, code complexity, and maintainability.\n\n### Deterministic Integer Transforms and Modular Arithmetic\n\nAt the heart of every function in this module is a linear congruential-like transformation: `(value * multiplier + addend) % modulus`. The modulus is consistently set to `100003`, a prime number. Using a prime modulus is a common practice in hashing and cryptographic primitives because it ensures that the multiplicative group of integers modulo `p` is cyclic, which can help distribute results more evenly if the multiplier is not a multiple of the modulus.\n\nThe transformation is deterministic. For any given input `value`, the output is always the same, assuming no overflow issues (which Python handles automatically via arbitrary-precision integers). The `multiplier` and `addend` vary per"+ }+]diff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/strata-iq3_s.json b/bench/results/2026-10-04-community-rtx-4090-laptop/strata-iq3_s.jsonnew file mode 100644index 000000000..184f3b8d3--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/strata-iq3_s.json@@ -0,0 +1,38 @@+{+ "exe": "/home/r/Documents/dev/Strata/engine/strata",+ "args": [+ "--pack",+ "/home/r/Documents/dev/Strata-data/packs/iq3_s",+ "--native",+ "/home/r/Documents/dev/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf",+ "--ple-gguf",+ "/home/r/Documents/dev/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf",+ "--expert-profile",+ "/home/r/Documents/dev/Strata/data/expert-profile.bin",+ "--expert-cache",+ "auto",+ "--prefill",+ "auto",+ "--spec",+ "4",+ "--spec-min-p",+ "0.5",+ "--mtp",+ "/home/r/Documents/dev/Strata-data/mtp/rt",+ "--max-context",+ "131072",+ "--kv",+ "int8"+ ],+ "cwd": "/home/r/Documents/dev/Strata",+ "tokenizer": "/home/r/Documents/dev/Strata-data/packs/iq3_s/tokenizer",+ "model_name": "qwen3.8-flash-next-iq3_s",+ "log": "/home/r/Documents/dev/Strata/strata-iq3_s.log",+ "lib_dirs": [+ "/usr/local/cuda-13.4/bin",+ "/usr/local/cuda-13.4/lib64"+ ],+ "port": 8080,+ "gpu": 0,+ "gpus_asked": true+}\ No newline at end of filediff --git a/bench/results/2026-10-04-community-rtx-4090-laptop/summary.json b/bench/results/2026-10-04-community-rtx-4090-laptop/summary.jsonnew file mode 100644index 000000000..b32643271--- /dev/null+++ b/bench/results/2026-10-04-community-rtx-4090-laptop/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": 3.0839603470000156,+ "min": 3.032426429999987,+ "max": 3.234662473999947+ },+ "client_elapsed_s": {+ "median": 8.003982200999985,+ "min": 7.801856047000001,+ "max": 9.204596740999932+ },+ "prefill_tok_s": {+ "median": 1344.9793130623236,+ "min": 1280.0,+ "max": 1367.7040203018564+ },+ "decode_tok_s": {+ "median": 51.22253791668334,+ "min": 42.69085815295334,+ "max": 53.93675073214926+ }+ },+ "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": 13.149978099999998,+ "min": 13.134677652999926,+ "max": 13.201195067999947+ },+ "client_elapsed_s": {+ "median": 18.305361754000046,+ "min": 17.91851878,+ "max": 18.34486596900001+ },+ "prefill_tok_s": {+ "median": 2505.4669460033947,+ "min": 2496.1340697010096,+ "max": 2511.8047464279143+ },+ "decode_tok_s": {+ "median": 49.86753934860526,+ "min": 49.03650921350036,+ "max": 53.141801424034206+ }+ },+ "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": 53.81830440800002,+ "min": 53.216803176999974,+ "max": 54.042843436+ },+ "client_elapsed_s": {+ "median": 59.164006125000014,+ "min": 58.432046727000056,+ "max": 59.33340658899999+ },+ "prefill_tok_s": {+ "median": 2385.843004074572,+ "min": 2376.5493988072694,+ "max": 2412.740779277573+ },+ "decode_tok_s": {+ "median": 48.09860213437547,+ "min": 47.63411048880785,+ "max": 48.81769641495042+ }+ }+}