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 with 16 GB of RAM (Coder IQ1_M) (#823)
christopherrobertbrooks-tech3366409f6825
diff --git a/bench/results/2026-10-04-community-v100-16gb-ram/README.md b/bench/results/2026-10-04-community-v100-16gb-ram/README.mdnew file mode 100644index 000000000..4d46c5cb1--- /dev/null+++ b/bench/results/2026-10-04-community-v100-16gb-ram/README.md@@ -0,0 +1,77 @@+# Community benchmark on Tesla V100-PCIE-32GB with 16 GB of system RAM++Measured on 2026-10-04 by christopherrobertbrooks-tech. The Coder IQ1_M on one Volta card (the experimental CUDA 12+engine) in a PC with only 16 GB of RAM, below the 32 GB the Coder normally asks for. Main limitation: one machine, one+model size; the V100 sits on a PCIe 3.0 x4 link.++## Hardware and software++- GPU: Tesla V100-PCIE-32GB (sm_70), PCIe 3.0 **x4** (the 16-lane slot holds an RTX 4070 12 GB that drives the display+ and was idle during the runs); power limit 250 W (default). CPU: Intel Core i7-13700KF (24 threads, AVX2, no+ integrated GPU). RAM: **16 GB DDR5** (15 GiB visible). Model files on a SATA SSD (Samsung 870 EVO 500 GB).+- OS: 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. Engine built by setup.sh from source (CUDA 12, `-DSTRATA_EXPERIMENTAL_SM60=ON`,+ sm_70; the build took ~45 s). One local change in `serve/frontend.py` (images inside Anthropic tool_result blocks, PR #819);+ it does not touch the engine or these OpenAI-API requests.+- Transparent huge pages: `enabled = madvise`, `defrag = madvise`.+- Background: the server ran behind llama-swap (requests went through its proxy on the same machine); no other GPU work.++## Model and configuration++- Qwen3.8-Flash-Next GSQ-RCO **Coder IQ1_M** (setup's `--family coder`):+ `Qwen3.8-Flash-Next-GSQ-RCO-IQ1_M-00001-of-00002.gguf`, `-00002-of-00002.gguf`. Vision encoder on+ (`mmproj-Qwen3.8-Flash-Next-BF16.gguf`, on the GPU). Expert profile `data/expert-profile-coder.bin` (shipped).+- Context 131,072; KV int8 in VRAM (setup turned KV streaming off: "it needs ~1.8 GB of RAM beside the ~32 GB IQ1_M uses,+ and this PC has 15"); expert cache auto; prefill auto; `--resident-experts` (setup's low-RAM choice, `--low-ram on`).+- At start: "resident RAM mode: 4.61 GiB of experts in RAM (page-locked), **11650 in the GPU cache**"; "672 MiB of VRAM+ free with everything loaded". Without the vision encoder all **12,288** experts were in the GPU cache (3.40 GiB in RAM).+- MTP `--spec 4 --spec-min-p 0.5`; reasoning `none` for these runs; temperature 0; no calibration, no speed projection.+ The config also sets `"reasoning_budget_tokens": 8192` (irrelevant here with reasoning off).++```text+./setup.sh --yes --family coder --gpu 1 --cuda 12 --low-ram on --vision gpu --data-dir /mnt/steam/Strata-data --no-start+engine args: --pack .../packs/coder-iq1_m --native ...-00001-of-00002.gguf --ple-gguf ...-00002-of-00002.gguf+ --expert-profile data/expert-profile-coder.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5+ --mtp .../mtp/rt --max-context 131072 --kv int8 --resident-experts --vision --vram-reserve-mib 700+```++## Method++The `benchmark.py` from `bench/results/2026-10-03-community-2x-mi50/` (same model), unchanged: serial requests with fresh+prompts (0 reused tokens), one warm-up, three measured runs at 4,096, 32,768 and 128,000 prompt tokens, output capped at+256 tokens, `reasoning_effort: none`, temperature 0. Prompt and decode rates are the engine's own timings; TTFT and total+time are measured at the client, through llama-swap, with the model already loaded. Per-run JSON is in this folder.++## 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 |+| --- | ---: | ---: | ---: | ---: | --- | --- | --- |+| Coder IQ1_M, V100 only | 4,096 | 0 | 256 | 3 | 1,233 (1,232–1,234) | 69.3 (67.2–77.1) | 3.35 (3.35–3.36) |+| Coder IQ1_M, V100 only | 32,768 | 0 | 256 | 3 | 1,580 (1,580–1,581) | 68.6 (64.6–69.0) | 20.80 (20.80–20.81) |+| Coder IQ1_M, V100 only | 128,000 | 0 | 256 | 3 | 1,394 (1,393–1,395) | 67.1 (65.5–71.6) | 92.01 (91.93–92.06) |++- Total request time (client): 7.0 s, 24.5 s and 95.8 s (medians).+- GPU expert-cache hit rate 0.997–0.999; **0.0 MB read from the model files** in every run; PCIe share 0.0 (engine log).+- MTP draft acceptance 0.63–0.78.+- Memory: V100 31.5–32.2 GB used while serving; system RAM ~8–9 GB used of 15 GiB. No paging, no out-of-memory failures.+- Start-up through llama-swap (load to first answer): ~80 s, model files on the SATA SSD.+- PCIe, measured separately with `nvidia-smi dmon -s t` during agent work: 120–150 MB/s into the card, 3–19 MB/s out --+ about 4% of the x4 link, so the narrow slot did not limit inference with the model resident.++## Correctness and limitations++- Long-context recall, `tools/needle_bench.py --lengths 32k,128k --depths 10,50,90`: **6 of 6 found** (32,171-32,172 and+ 125,449-125,451 prompt tokens; 11-22 s and 81-90 s per check). Results in `needles.json`.+- HumanEval (164, greedy, thinking off, our own harness, not part of this repo): **158/164**, 7.1 min.+- As the builder of a local coding agent (Claude Agent SDK -> `/v1/messages`, medium effort), 4 real tasks in an existing+ Python/GTK project, 3 rounds: 12/12 finished with all acceptance tests and hidden layout checks passing.+- For reference, the README's Coder rows (other engine versions and settings, so only roughly comparable): RTX 5070+ 12 GB with 64 GB RAM, 55 / 43 tok/s decode (short / 128K) and 2,180 tok/s prompt; this V100 holds the whole Coder in+ VRAM and decodes 69 / 67 tok/s, with slower prompt reading (1,580 at 32K).+- Not tested: other sizes, a layer split with the second card, thinking on for the speed runs, more than three runs.+- Observed once in agent use (not in this benchmark): a single thinking block ran to the 32K output cap. A+ `reasoning_budget_tokens` cap bounds that: on a prompt built to think at length, no cap gave no answer+ (`finish_reason: length`), a 400-token cap gave the server's wrap-up line and a full answer. In later agent runs with+ an 8K cap the cap never fired (longest thought ~4K tokens). See #710/#728.++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-16gb-ram/benchmark.py b/bench/results/2026-10-04-community-v100-16gb-ram/benchmark.pynew file mode 100644index 000000000..cdb6e4cc0--- /dev/null+++ b/bench/results/2026-10-04-community-v100-16gb-ram/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()diff --git a/bench/results/2026-10-04-community-v100-16gb-ram/initial-status.json b/bench/results/2026-10-04-community-v100-16gb-ram/initial-status.jsonnew file mode 100644index 000000000..4926116a9--- /dev/null+++ b/bench/results/2026-10-04-community-v100-16gb-ram/initial-status.json@@ -0,0 +1,74 @@+{+ "service": "strata",+ "model": "qwen3.8-flash-next-coder-iq1_m",+ "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": 1791139671,+ "uptime_s": 1606,+ "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": true,+ "available": true,+ "error": null+ },+ "activity": {+ "requests": 42,+ "in_flight": 0,+ "last_request_at": 1791140315+ },+ "last_timings": {+ "cache_n": 97,+ "prompt_n": 5,+ "prompt_ms": 921.8,+ "prompt_per_token_ms": 184.36,+ "prompt_per_second": 5.4,+ "predicted_n": 2461,+ "predicted_ms": 22560.2,+ "predicted_per_token_ms": 11.043,+ "predicted_per_second": 90.6,+ "draft_n": 1669,+ "draft_n_accepted": 1441,+ "at": 1791140315+ },+ "vram": {+ "elastic": false+ },+ "machine": {+ "at": 1791141277,+ "gpu": {+ "name": "Tesla V100-PCIE-32GB",+ "used_mib": 32489.0,+ "total_mib": 32768.0,+ "util_pct": 0,+ "temp_c": 33,+ "power_w": 36.704+ },+ "ram": {+ "used_gib": 9.1,+ "total_gib": 15.4+ }+ }+}diff --git a/bench/results/2026-10-04-community-v100-16gb-ram/needles.json b/bench/results/2026-10-04-community-v100-16gb-ram/needles.jsonnew file mode 100644index 000000000..4f36dc890--- /dev/null+++ b/bench/results/2026-10-04-community-v100-16gb-ram/needles.json@@ -0,0 +1,56 @@+[+ {+ "length": "32k",+ "depth": 10,+ "prompt_tokens": 32171,+ "seconds": 21.5,+ "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.2,+ "found": true,+ "word": "willow-cobalt-696",+ "answer": "willow-cobalt-696"+ },+ {+ "length": "128k",+ "depth": 10,+ "prompt_tokens": 125451,+ "seconds": 89.9,+ "found": true,+ "word": "falcon-saffron-138",+ "answer": "falcon-saffron-138"+ },+ {+ "length": "128k",+ "depth": 50,+ "prompt_tokens": 125449,+ "seconds": 90.3,+ "found": true,+ "word": "quartz-tundra-528",+ "answer": "quartz-tundra-528"+ },+ {+ "length": "128k",+ "depth": 90,+ "prompt_tokens": 125449,+ "seconds": 80.7,+ "found": true,+ "word": "quartz-glacier-192",+ "answer": "quartz-glacier-192"+ }+]\ No newline at end of filediff --git a/bench/results/2026-10-04-community-v100-16gb-ram/results.json b/bench/results/2026-10-04-community-v100-16gb-ram/results.jsonnew file mode 100644index 000000000..c8a5002ad--- /dev/null+++ b/bench/results/2026-10-04-community-v100-16gb-ram/results.json@@ -0,0 +1,392 @@+[+ {+ "label": "warmup",+ "expected_prompt_tokens": null,+ "request_sha256": "b63e57873441a996a529b246a66cf12de70a7c671777f99329354d5c195f788f",+ "client_ttft_s": 0.24697245610877872,+ "client_elapsed_s": 0.28630991373211145,+ "finish_reason": "stop",+ "usage": {+ "prompt_tokens": 19,+ "completion_tokens": 2,+ "total_tokens": 21,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791141277.2863934,+ "duration_s": 0.3,+ "finish": "stop",+ "prompt_tokens": 19,+ "reused": 0,+ "output_tokens": 2,+ "prompt_total": 19,+ "prompt_read": 19,+ "engine_generated": 2,+ "prompt_ms": 223.6,+ "decode_ms": 59.3,+ "decode_tok_s": 33.7,+ "hit_rate": 0.987,+ "pcie_share": 0.0,+ "ram_blobs": 27,+ "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.356622613966465,+ "client_elapsed_s": 7.1478219497948885,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791141278.0464547,+ "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": 3323.8,+ "decode_ms": 3811.7,+ "decode_tok_s": 67.2,+ "hit_rate": 0.993,+ "pcie_share": 0.0,+ "ram_blobs": 1140,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 222,+ "drafts_accepted": 158+ },+ "text": "The provided Python module consists of a series of functions, each named with a specific pattern (`task_XXXXX`), that perform a deterministic integer transformation. Each function takes a single integer argument `value` and returns an integer result computed using a linear congruential formula modulo a fixed prime number, 100003. The general form of the transformation for a given task index `n` is:\n\n```python\nresult = (value * multiplier + addend) % 100003\n```\n\nwhere `multiplier` and `addend` are derived from the task index. For most tasks (0 through 96), the multiplier is `n + 1` and the addend is `n`. For example, `task_00000` uses multiplier 1 and addend 0, while `task_00096` uses multiplier 97 and addend 96. However, starting from `task_00097`, the pattern changes: the multiplier resets to 1, and the addend continues to increment. Thus, `task_00097` uses multiplier 1 and addend 97, `task_00"+ },+ {+ "label": "tokens-4096-run-2",+ "expected_prompt_tokens": 4096,+ "request_sha256": "8da8a04e70e4d916f6630729082bdfb9d6ebbb47117aad60bc0541bce198a213",+ "client_ttft_s": 3.35425907606259,+ "client_elapsed_s": 7.029130578041077,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791141285.6620922,+ "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": 3322.7,+ "decode_ms": 3695.8,+ "decode_tok_s": 69.3,+ "hit_rate": 0.997,+ "pcie_share": 0.0,+ "ram_blobs": 445,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 214,+ "drafts_accepted": 148+ },+ "text": "The provided Python module presents a series of deterministic integer transforms, each encapsulated within a uniquely named function. These functions, labeled from `task_00000` to `task_00112` (and potentially beyond), follow a consistent mathematical pattern: they take an integer input, apply a linear transformation of the form `(value * multiplier + offset) % modulus`, and return the result. This structure is a classic example of a linear congruential generator (LCG) step, often used in pseudo-random number generation, hashing, or cryptographic primitives, though here it appears to be a synthetic benchmark or test harness.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nEach function implements a linear congruential step: `f(x) = (a * x + c) % m`, where `a` is the multiplier, `c` is the increment, and `m` is the modulus (100003 in all cases). The modulus 100003 is a prime number, which ensures that the multiplicative group modulo 100003 is cyclic and that multiplication by any non-zero `a` is invertible. This property is critical for ensuring that the transform is bi"+ },+ {+ "label": "tokens-4096-run-3",+ "expected_prompt_tokens": 4096,+ "request_sha256": "946079edb58e764050805886156dc8f877cc29e1ca8d01c84e9a1e7917d49492",+ "client_ttft_s": 3.3490091399289668,+ "client_elapsed_s": 6.650079580955207,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 4096,+ "completion_tokens": 256,+ "total_tokens": 4352,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791141293.1593246,+ "duration_s": 6.6,+ "finish": "length",+ "prompt_tokens": 4096,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 4096,+ "prompt_read": 4096,+ "engine_generated": 256,+ "prompt_ms": 3320.4,+ "decode_ms": 3321.6,+ "decode_tok_s": 77.1,+ "hit_rate": 0.999,+ "pcie_share": 0.0,+ "ram_blobs": 160,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 206,+ "drafts_accepted": 161+ },+ "text": "The provided Python module consists of a series of functions, each named with a specific pattern (`task_XXXXX`), that perform a deterministic integer transformation. Each function takes a single integer argument `value` and returns an integer result computed using a linear congruential formula modulo a large prime number, specifically 100003. The general form of the transformation in each function is:\n\n```python\nreturn (value * multiplier + offset) % 100003\n```\n\nwhere `multiplier` and `offset` are constants specific to each function. For example, `task_00000` uses `multiplier = 1` and `offset = 0`, while `task_00001` uses `multiplier = 2` and `offset = 1`, and so on. The pattern continues sequentially for the first 97 functions, where the multiplier increases by 1 and the offset increases by 1 for each subsequent function. However, starting from `task_00097`, the pattern resets: `task_00097` uses `multiplier = 1` and `offset = 97`, `task_00098"+ },+ {+ "label": "tokens-32768-run-1",+ "expected_prompt_tokens": 32768,+ "request_sha256": "e37cfc2ab9867d91130927440df24a57255a736b8d0d829d07d828e22e3de572",+ "client_ttft_s": 20.795668938197196,+ "client_elapsed_s": 24.736219028942287,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791141300.724632,+ "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": 20730.2,+ "decode_ms": 3961.4,+ "decode_tok_s": 64.6,+ "hit_rate": 0.999,+ "pcie_share": 0.0,+ "ram_blobs": 164,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 224,+ "drafts_accepted": 142+ },+ "text": "This Python module presents a highly repetitive, synthetic collection of functions that perform deterministic integer transforms. Each function follows a strict pattern: it accepts an integer `value`, applies a linear transformation of the form `(value * multiplier + offset) % modulus`, and returns the result. The modulus is consistently set to `100003`, which is a prime number. This choice of modulus is significant because it ensures that the multiplicative group of integers modulo 100003 is cyclic, and every non-zero multiplier has a unique modular inverse. This property is often desirable in cryptographic or hashing contexts, though here it appears to be used for simple arithmetic obfuscation or benchmarking.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nThe core operation in each function is a linear congruential generator (LCG) step, commonly used in pseudo-random number generation. The formula $f(x) = (a \\cdot x + c) \\pmod m$ defines an affine transformation over the finite field $\\mathbb{Z}_m$. In this module, the multiplier $a$ and the constant $c$ vary per function, while the modulus $m$ remains fixed at 100003.\n\nFor example, `"+ },+ {+ "label": "tokens-32768-run-2",+ "expected_prompt_tokens": 32768,+ "request_sha256": "ed2dfaa11aecad9f4563f33bb5f5d4b8704486508700b8fa572722cc1225ee26",+ "client_ttft_s": 20.814467289019376,+ "client_elapsed_s": 24.52733530290425,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791141326.3545923,+ "duration_s": 24.5,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 20744.4,+ "decode_ms": 3733.6,+ "decode_tok_s": 68.6,+ "hit_rate": 0.999,+ "pcie_share": 0.0,+ "ram_blobs": 146,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 223,+ "drafts_accepted": 151+ },+ "text": "This Python module presents a highly repetitive, synthetic collection of functions that serve as a benchmark for deterministic integer transforms. The code consists of a series of functions named `task_00000` through `task_00888` (and potentially beyond, though the snippet cuts off at `task_00888`). Each function accepts a single integer argument `value` and returns an integer result. The core logic of every function is identical in structure: it performs a linear transformation on the input value and then applies a modulo operation.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nThe fundamental operation in each function is `(value * multiplier + offset) % 100003`. This is a classic example of a linear congruential generator (LCG) step, often used in pseudo-random number generation or cryptographic hashing, though here it is used for deterministic mapping. The modulus `100003` is a prime number, which ensures that the multiplication by the `multiplier` (if not a multiple of the modulus) is invertible modulo the prime. This property is crucial for ensuring that the transform is a bijection (a one-to-one mapping) within the range of the modulus, provided"+ },+ {+ "label": "tokens-32768-run-3",+ "expected_prompt_tokens": 32768,+ "request_sha256": "2a3c7342622e80c3cd8b37e062f0a2f64640c119ece8cccbf168639041eac079",+ "client_ttft_s": 20.795822857879102,+ "client_elapsed_s": 24.487016988918185,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 32768,+ "completion_tokens": 256,+ "total_tokens": 33024,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791141351.749946,+ "duration_s": 24.5,+ "finish": "length",+ "prompt_tokens": 32768,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 32768,+ "prompt_read": 32768,+ "engine_generated": 256,+ "prompt_ms": 20736.7,+ "decode_ms": 3712.2,+ "decode_tok_s": 69.0,+ "hit_rate": 0.999,+ "pcie_share": 0.0,+ "ram_blobs": 169,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 206,+ "drafts_accepted": 148+ },+ "text": "The provided Python module represents a synthetic benchmark designed to test the performance and correctness of a system's ability to handle a large volume of deterministic integer transforms. The code consists of a series of functions, named sequentially from `task_00000` to `task_00888`, each performing a specific linear transformation on an input integer `value`.\n\n### Deterministic Integer Transforms and Modulo Arithmetic\n\nAt the core of each function is a linear congruential generator (LCG) style transformation, defined by the formula:\n$$ f(x) = (a \\cdot x + c) \\pmod m $$\nwhere $m = 100003$. The modulus $100003$ is a prime number, which is a common choice in cryptographic and hashing contexts to ensure that the multiplicative group modulo $m$ is cyclic and that inverses exist for all non-zero elements. This property ensures that for any $a$ not divisible by $m$, the mapping is a bijection over the set $\\{0, 1, ..., m-1\\}$.\n\nThe parameters $a$ (the multiplier) and $c$ (the additive constant) vary across the functions. For example"+ },+ {+ "label": "tokens-128000-run-1",+ "expected_prompt_tokens": 128000,+ "request_sha256": "3235aac3f934cf1d889c25973ca172b355509dc2522fdfb463fbefe979a9075d",+ "client_ttft_s": 91.93281602999195,+ "client_elapsed_s": 95.48440524097532,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791141378.7643752,+ "duration_s": 95.4,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 91772.3,+ "decode_ms": 3573.4,+ "decode_tok_s": 71.6,+ "hit_rate": 0.999,+ "pcie_share": 0.0,+ "ram_blobs": 121,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 215,+ "drafts_accepted": 163+ },+ "text": "This Python module represents a synthetic benchmark designed to test the performance and correctness of integer arithmetic operations, specifically focusing on linear transforms and modular arithmetic. The code consists of a series 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.\n\n### 1. Deterministic Integer Transforms\n\nThe core logic of each function is a linear transformation of the form:\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 (offset).\n- $m$ is the modulus, which is consistently `100003` across all functions.\n\nThe multiplier $a$ and the offset $b$ vary deterministically based on the function's index. For example:\n- `task_00000`: $a=1, b=0$\n- `task_00001`: $a=2, b=1$\n- `task_00002`:"+ },+ {+ "label": "tokens-128000-run-2",+ "expected_prompt_tokens": 128000,+ "request_sha256": "5f4b8bc9f0afc7765320abd89960c0938e0d7cf5974e962fdbd0613fef31c8d4",+ "client_ttft_s": 92.00833646394312,+ "client_elapsed_s": 95.8041584729217,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791141476.6835833,+ "duration_s": 95.7,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 91849.2,+ "decode_ms": 3817.5,+ "decode_tok_s": 67.1,+ "hit_rate": 0.999,+ "pcie_share": 0.0,+ "ram_blobs": 112,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 220,+ "drafts_accepted": 156+ },+ "text": "This Python module represents a synthetic benchmark designed to test the performance and correctness of integer arithmetic operations, specifically focusing on linear transformations and modular arithmetic. The code consists of a series of functions, each named `task_XXXXX`, where `XXXXX` is a zero-padded integer index. Each function accepts a single integer argument `value` and returns a new integer calculated using a specific linear formula.\n\n### 1. Deterministic Integer Transforms\n\nThe core logic of every function in this module is identical in structure:\n```python\nreturn (value * multiplier + constant) % modulus\n```\nThis is a **linear congruential transform**. It maps an input integer `value` to an output integer based on two parameters: a `multiplier` and an `additive constant`.\n\n* **Multiplier Pattern:** The multiplier cycles through the integers 1 to 97. For example:\n * `task_00000`: multiplier = 1\n * `task_00001`: multiplier = 2\n * ...\n * `task_00096`: multiplier = 97\n * `task_00097`: multiplier ="+ },+ {+ "label": "tokens-128000-run-3",+ "expected_prompt_tokens": 128000,+ "request_sha256": "5c3fb71db9f9f44765f28389d1032f2c8b6687d1bf5ca6f33aeb924072cfa6e4",+ "client_ttft_s": 92.06323295319453,+ "client_elapsed_s": 95.94703643629327,+ "finish_reason": "length",+ "usage": {+ "prompt_tokens": 128000,+ "completion_tokens": 256,+ "total_tokens": 128256,+ "prompt_tokens_details": {+ "cached_tokens": 0+ }+ },+ "engine": {+ "projection": null,+ "time": 1791141574.9215646,+ "duration_s": 95.8,+ "finish": "length",+ "prompt_tokens": 128000,+ "reused": 0,+ "output_tokens": 256,+ "prompt_total": 128000,+ "prompt_read": 128000,+ "engine_generated": 256,+ "prompt_ms": 91901.2,+ "decode_ms": 3905.6,+ "decode_tok_s": 65.5,+ "hit_rate": 0.999,+ "pcie_share": 0.0,+ "ram_blobs": 166,+ "file_blobs": 0,+ "file_mb": 0.0,+ "drafts_offered": 216,+ "drafts_accepted": 151+ },+ "text": "This Python module represents a synthetic benchmark designed to test the performance and correctness of a system's ability to handle a large volume of deterministic, stateless integer transformations. The code consists of a series of functions, each named with a specific pattern (`task_XXXXX`), that perform a linear transformation on an input integer and return the result modulo a large prime number.\n\n### 1. The Mathematical Transform\n\nEach function in the module follows the general form:\n```python\ndef task_XXXXX(value: int) -> int:\n return (value * A + B) % M\n```\nWhere:\n* `value` is the input integer.\n* `A` is a multiplier (coefficient).\n* `B` is an additive constant.\n* `M` is the modulus, which is consistently set to `100003` throughout the module.\n\nThe modulus `100003` is a prime number. In modular arithmetic, using a prime modulus ensures that the set of integers modulo $M$ forms a finite field ($\\mathbb{Z}_M$). This property is crucial in cryptography and error-correcting codes because it guarantees that every non-zero element has"+ }+]diff --git a/bench/results/2026-10-04-community-v100-16gb-ram/summary.json b/bench/results/2026-10-04-community-v100-16gb-ram/summary.jsonnew file mode 100644index 000000000..912241c18--- /dev/null+++ b/bench/results/2026-10-04-community-v100-16gb-ram/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.35425907606259,+ "min": 3.3490091399289668,+ "max": 3.356622613966465+ },+ "client_elapsed_s": {+ "median": 7.029130578041077,+ "min": 6.650079580955207,+ "max": 7.1478219497948885+ },+ "prefill_tok_s": {+ "median": 1232.7324164083427,+ "min": 1232.3244479210541,+ "max": 1233.586314901819+ },+ "decode_tok_s": {+ "median": 69.2678175225932,+ "min": 67.16163391662514,+ "max": 77.0712909441233+ }+ },+ "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.795822857879102,+ "min": 20.795668938197196,+ "max": 20.814467289019376+ },+ "client_elapsed_s": {+ "median": 24.52733530290425,+ "min": 24.487016988918185,+ "max": 24.736219028942287+ },+ "prefill_tok_s": {+ "median": 1580.1935698544128,+ "min": 1579.6070264746147,+ "max": 1580.6890430386586+ },+ "decode_tok_s": {+ "median": 68.56653096207414,+ "min": 64.62361791285909,+ "max": 68.96180162706752+ }+ },+ "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": 92.00833646394312,+ "min": 91.93281602999195,+ "max": 92.06323295319453+ },+ "client_elapsed_s": {+ "median": 95.8041584729217,+ "min": 95.48440524097532,+ "max": 95.94703643629327+ },+ "prefill_tok_s": {+ "median": 1393.5886213489068,+ "min": 1392.8000940140064,+ "max": 1394.7563698414444+ },+ "decode_tok_s": {+ "median": 67.05959397511461,+ "min": 65.54690700532569,+ "max": 71.64045446913305+ }+ }+}