From 3c06abe654be4e7b14877b972c660e0edcc3c8a8 Mon Sep 17 00:00:00 2001 From: Robert Karl Date: Sat, 17 Oct 2026 23:41:13 -0700 Subject: [PATCH] Step 9 rows 1-2: upstream v0.1.45-poly.1 vs fork on the RTX 3090 pod bench/unbiased/2026-10-17-3090pod-step9/: four arms (upstream and fork, Flash-Next IQ3_XXS and Qwen3.6 UD-Q3_K_M), upstream's tools/strata_bench.py --runs 3 --long plus the three-document sustained supplement, raw client output, server logs, provenance (engine sha256, fork commit), the runner, the launch logs, and a README with the comparison tables and the two client-compatibility gaps found on the way. Flash-Next: fork faster on every workload (chat 103.1 vs 87.1 tok/s, sustained 119.1 vs 105.1, prefill 2065/2531/2616 vs 1924/2342/2393). Qwen3.6: decode within the run-to-run range; 4K prefill 4.7 % faster; 16K prefill 2.3 % slower with non-overlapping ranges, recorded as a finding to explain. Engines were built separately in each tree, so a build difference is not excluded. PLAN.md section 11 and the step table, docs/MODEL-FILES.md statuses updated. Row 3 (pi wall time) pending. Co-Authored-By: Claude Fable 5.1 --- PLAN.md | 11 +- .../2026-10-17-3090pod-step9/README.md | 85 + .../provenance.json | 9 + .../server-command.json | 42 + .../server-exit.json | 1 + .../server.json | 35 + .../fork-flash-next/benchmark-command.json | 13 + .../README.md | 61 + .../results.json | 933 ++ .../fork-flash-next/complete.json | 5 + .../fork-flash-next/health.json | 8 + .../fork-flash-next/provenance.json | 9 + .../fork-flash-next/server-command.json | 42 + .../fork-flash-next/server-exit.json | 1 + .../fork-flash-next/server.json | 35 + .../fork-flash-next/summary.json | 184 + .../fork-flash-next/sustained.json | 443 + .../fork-qwen36-q3km/benchmark-command.json | 13 + .../README.md | 64 + .../results.json | 834 ++ .../fork-qwen36-q3km/complete.json | 5 + .../fork-qwen36-q3km/expert-profile.txt | 10442 +++++++++++++++ .../fork-qwen36-q3km/health.json | 8 + .../fork-qwen36-q3km/provenance.json | 9 + .../fork-qwen36-q3km/server-command.json | 22 + .../fork-qwen36-q3km/server-exit.json | 1 + .../fork-qwen36-q3km/server.json | 15 + .../fork-qwen36-q3km/summary.json | 174 + .../fork-qwen36-q3km/sustained.json | 443 + .../benchmark-command.json | 13 + .../README.md | 61 + .../results.json | 998 ++ .../upstream-flash-next/complete.json | 5 + .../upstream-flash-next/health.json | 10 + .../upstream-flash-next/provenance.json | 9 + .../upstream-flash-next/server-command.json | 12 + .../upstream-flash-next/server-exit.json | 1 + .../upstream-flash-next/server.json | 44 + .../upstream-flash-next/summary.json | 199 + .../upstream-flash-next/sustained.json | 506 + .../benchmark-command.json | 13 + .../README.md | 64 + .../results.json | 877 ++ .../upstream-qwen36-q3km/complete.json | 5 + .../upstream-qwen36-q3km/expert-profile.txt | 10444 ++++++++++++++++ .../upstream-qwen36-q3km/health.json | 10 + .../upstream-qwen36-q3km/provenance.json | 9 + .../upstream-qwen36-q3km/server-command.json | 12 + .../upstream-qwen36-q3km/server-exit.json | 1 + .../upstream-qwen36-q3km/server.json | 24 + .../upstream-qwen36-q3km/summary.json | 189 + .../upstream-qwen36-q3km/sustained.json | 506 + .../2026-10-17-3090pod-step9/us2-step9-run.py | 118 + docs/MODEL-FILES.md | 4 +- 54 files changed, 28078 insertions(+), 3 deletions(-) create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/README.md create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/provenance.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server-command.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server-exit.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/benchmark-command.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/README.md create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/results.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/complete.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/health.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/provenance.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server-command.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server-exit.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/summary.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/sustained.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/benchmark-command.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/README.md create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/results.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/complete.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/expert-profile.txt create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/health.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/provenance.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server-command.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server-exit.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/summary.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/sustained.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/benchmark-command.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/README.md create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/results.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/complete.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/health.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/provenance.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server-command.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server-exit.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/summary.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/sustained.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/benchmark-command.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/README.md create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/results.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/complete.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/expert-profile.txt create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/health.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/provenance.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server-command.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server-exit.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/summary.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/sustained.json create mode 100644 bench/unbiased/2026-10-17-3090pod-step9/us2-step9-run.py diff --git a/PLAN.md b/PLAN.md index f7c4e8a..9bcca25 100644 --- a/PLAN.md +++ b/PLAN.md @@ -313,7 +313,7 @@ Expected diff shape: removals dominated by `setup.py`, `serve/`, translations an | 6 | First end-to-end chat, both engines | Qwen3.6 UD-Q3_K_M from GGUF; Flash-Next IQ3_XXS from the pod's existing pack and MTP dir. Streaming and non-streaming, reasoning on and off, greedy output equal to upstream PolyStrata on the same ids (teacher-forced id comparison, not text) | | 7 | Tool calls under pi | pi completes a multi-step coding task against each model. Test the request shapes pi sends: no `max_tokens`, `max_tokens` 32768, optional arguments first, `reasoning_content` on assistant messages, parallel calls, a client that disconnects mid-stream, a stream silent during a long prompt. Raw output logged on parse failure | | 8 | Images | a screenshot through pi to Qwen3.6; projector width checked against the model | -| 9 | Measurements (§11) | tables under `bench/unbiased/` with commands, raw outputs, checksums of the model files | +| 9 | Measurements (§11) | tables under `bench/unbiased/` with commands, raw outputs, checksums of the model files | Rows 1-2 done 2026-10-18 (`bench/unbiased/2026-10-17-3090pod-step9/`); row 3 pending; one cell to explain (Qwen3.6 16K prefill 2.3 % slower). | | 10 | `README.md`, `UPSTREAM.md` complete | every `src/`/`include/` hunk since the import appears in `UPSTREAM.md`; README has only numbers that have rows | | 11 | **Correctness plan** (added 2026-10-17). An agent writes `docs/CORRECTNESS-PLAN.md`: how to check PolyStrata's engines against llama.cpp at the pinned commit for the kernels actually in use on our target (the expert MMQ paths for IQ3_XXS and the K-quants, the MTP draft layer, the Q8/int8 KV paths, the prompt path, `strata-poly`'s qwen35moe path), which of upstream's ~70 parity and bench programs cover them and what each compares against, the teacher-forced greedy id comparison against llama.cpp for Flash-Next and Qwen3.6 (same ids in, how many tokens, what divergence is tolerated and why), what a failure would mean for the fork, and the cost in machine time. Planning only: this step runs nothing on a GPU and changes no code | the document, with each proposed check naming the program or script, the reference it compares against and the pass criterion; your sign-off on which checks become a later step | | 12 | **Correctness checks** (added 2026-10-17). Run the checks step 11 proposed and you signed off: upstream's parity programs that cover the kernels in use, and the teacher-forced greedy id comparison of each engine against llama.cpp at the pinned commit for Flash-Next IQ3_XXS and Qwen3.6 UD-Q3_K_M. Results, commands and raw outputs under `bench/unbiased/correctness/`; a divergence is a bug to find, in the engine or in llama.cpp, before any README claim beyond "same output as upstream PolyStrata" | every signed-off check has a result on disk with its pass criterion met, or an open finding with the first diverging token, the inputs that reproduce it and which side is wrong; `docs/MODEL-FILES.md` says per file whether it passed | @@ -354,6 +354,15 @@ Pass: fork within noise of upstream (the run-to-run range) on decode and PP. A f upstream on any row is a bug to find before the README claims anything. The llama.cpp rows already recorded stay in the table as context, labelled with their different quant. +Rows 1 and 2 measured 2026-10-18 UTC on the RTX 3090 pod: `bench/unbiased/2026-10-17-3090pod-step9/README.md`. +Row 1 (Flash-Next): fork faster on every workload (chat decode 103.1 vs 87.1 tok/s, sustained 119.1 vs 105.1, +prefill 4K/16K/32K 2065/2531/2616 vs 1924/2342/2393). Row 2 (Qwen3.6 UD-Q3_K_M): decode within the +run-to-run range (chat 213.5 vs 220.8, sustained 200.0 vs 207.6, ranges overlap); prefill 4K 4.7 % faster, +prefill 16K 2.3 % slower with non-overlapping ranges (3486 vs 3570), which the pass rule counts as a finding +to explain. The engine binaries were built separately in the two trees (sha256 in each arm's provenance), +so an engine-build difference is not excluded. Two client-compatibility gaps found and fixed on the way +(`/health` fields, usage in streams; commits 453d3015, 96f4ef1f). Row 3 (pi wall time) pending. + ## 12. Decisions, taken 2026-10-17 1. **Repository.** The fork continues the `UnbiasedStrata` repo (`~/Code/UnbiasedStrata`, remote diff --git a/bench/unbiased/2026-10-17-3090pod-step9/README.md b/bench/unbiased/2026-10-17-3090pod-step9/README.md new file mode 100644 index 0000000..866492c --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/README.md @@ -0,0 +1,85 @@ +# Step 9: upstream PolyStrata v0.1.45-poly.1 vs UnbiasedStrata 2, RTX 3090 pod, 2026-10-18 UTC + +PLAN.md section 11, rows 1 and 2. Same pod (RunPod RTX 3090 24 GB, driver 580.126.20, 31 CPU quota), same model +files (`docs/MODEL-FILES.md`), same engine arguments, same context, greedy, the same client: upstream's +`tools/strata_bench.py --runs 3 --long` (chat, 4K/16K/32K prompts, agent session) plus the three-document sustained +supplement of the 2026-10-17 upstream run (3 runs x 3 documents, 512 tokens each). Driver: `us2-step9-run.py` (copy +here), run from upstream's venv. Arms ran back to back, one server at a time, nothing else on the card. + +| Arm | Front end | Engine | Server port | Started (UTC) | +| --- | --- | --- | --- | --- | +| upstream-flash-next | upstream `serve/server.py` (Python) | upstream `build/strata`, sha256 `4e7254ef…` | 18080 | 05:48:30 | +| fork-flash-next | `unbiased-strata` (fork 143ada2 = 453d3015 locally) | fork `build/bin/strata`, sha256 `62b91d67…` | 18090 | 06:29:25 | +| upstream-qwen36-q3km | upstream `serve/server.py` | upstream `build/strata-poly`, sha256 `c893c169…` | 18080 | 06:34:20 | +| fork-qwen36-q3km | `unbiased-strata` (fork 143ada2) | fork `build/bin/strata-poly`, sha256 `7ba58112…` | 18091 | 06:35:57 | + +Both engines are built from the same v0.1.45-poly.1 sources, once in upstream's tree and once in the fork's tree; the +binaries differ (different build directories and times), so an engine-build difference is not excluded by this run. + +## Row 1: Qwen3.8 Flash-Next IQ3_XXS, MTP spec 4, 64K context, int8 KV + +Median of 3 runs (range). tok/s unless noted. 45 requests per arm, all successful, nothing skipped. + +| Workload | upstream | fork | fork / upstream | +| --- | --- | --- | --- | +| chat decode (9 requests) | 87.1 (72.5 - 107.0) | 103.1 (94.3 - 139.3) | 1.18 | +| chat TTFT s | 0.406 (0.361 - 0.478) | 0.346 (0.297 - 0.373) | 0.85 | +| prefill 4K | 1923.9 (1835.2 - 1933.9) | 2064.7 (2058.3 - 2075.5) | 1.07 | +| prefill 16K | 2342.1 (2326.5 - 2347.6) | 2531.0 (2406.6 - 2531.9) | 1.08 | +| prefill 32K | 2392.9 (2388.9 - 2395.0) | 2616.0 (2600.4 - 2617.4) | 1.09 | +| agent turn decode (15 turns) | 110.6 (70.0 - 135.6) | 116.8 (106.6 - 154.2) | 1.06 | +| agent turn TTFT s | 2.003 (1.641 - 2.261) | 1.914 (1.579 - 2.055) | 0.96 | +| sustained decode, 512 tokens (9 requests) | 105.1 (92.9 - 115.5) | 119.1 (113.3 - 130.2) | 1.13 | +| sustained prompt | 1776.7 | 1929.0 | 1.09 | +| draft acceptance % | 64.3 | 66.8 | | + +## Row 2: Qwen3.6-35B-A3B UD-Q3_K_M (unsloth MTP file), draft on, 32K context + +42 requests per arm, all successful; the 32K prompt is skipped by the client on both arms (context is 32768). + +| Workload | upstream | fork | fork / upstream | +| --- | --- | --- | --- | +| chat decode (9 requests) | 220.8 (198.5 - 271.1) | 213.5 (196.5 - 259.2) | 0.97 | +| chat TTFT s | 0.178 (0.175 - 0.184) | 0.110 (0.107 - 0.117) | 0.62 | +| prefill 4K | 3651.6 (3598.4 - 3655.0) | 3821.6 (3792.1 - 3831.6) | 1.05 | +| prefill 16K | 3569.7 (3567.6 - 3589.4) | 3486.3 (3483.0 - 3497.4) | 0.98 | +| agent turn decode (15 turns) | 194.0 (174.1 - 223.7) | 186.9 (169.4 - 202.8) | 0.96 | +| agent turn TTFT s | 1.127 (0.565 - 1.278) | 1.069 (0.518 - 1.198) | 0.95 | +| sustained decode, 512 tokens (9 requests) | 207.6 (198.5 - 225.7) | 200.0 (188.4 - 218.4) | 0.96 | +| sustained prompt | 3381.8 | 3480.6 | 1.03 | +| draft acceptance % | 80.4 | 80.0 | | + +## Reading + +- Row 1: the fork is faster than upstream on every workload, by 6 to 18 % on decode and 7 to 9 % on prefill; the + chat and sustained ranges do not overlap. The engine binaries differ, so this is not attributed to the front end + yet (PLAN.md section 11 asks only that the fork is not slower). +- Row 2: decode is within the run-to-run range on chat, agent and sustained (ranges overlap). Prefill 16K is 2.3 % + slower with non-overlapping ranges (3483 - 3497 vs 3568 - 3589); prefill 4K is 4.7 % faster. Per the plan's pass + rule this one cell is a finding to explain, not a pass. Candidates: engine build differences (see above), the + fork's own `expert-profile.txt` written during the run versus upstream's. +- Chat TTFT is lower on the fork on both models (0.85x and 0.62x). + +## What went wrong on the way (kept for the record) + +- `fork-flash-next.attempt1-health-mismatch/`: the first fork arm (fork 4c25aa6f) served fine at 18 s but upstream's + client never considered it ready (`/health` lacked `service: "strata"` and `loaded: true`); killed after the 1800 s + wait. Fixed by fork commit 453d3015 (`143ada2` on the pod). `step9-launch.log` is that first campaign. +- The fork streams no `usage` block unless asked (`stream_options.include_usage`, llama.cpp's behaviour), upstream + always sends one; the client takes `prompt_tokens` from it, so `prompt_tokens` is null in the fork rows (the token + counts in `timings` are present). The runner's summary step crashed on it once (`step9-launch-2.log`), was made + tolerant, and the fork-flash-next summary was regenerated from the recorded data (`US2_SUMMARIZE_ONLY=1`). Fork + commit 96f4ef1f always sends the usage chunk; it was built on the pod after the campaign, so it is not what was + measured here. +- `server-exit.json` is 1 for both fork arms: on SIGTERM the front end logs `E srv operator(): ; shutting down so the + service manager can restart` and exits non-zero (the engine child dies with the process group, the front end + reports an engine death with an empty message). Harmless here; a clean SIGTERM exit is a fix to make before the + systemd unit uses `Restart=on-failure`. + +## Files + +Per arm: `server.json` (the client's config), `server-command.json`, `provenance.json` (engine sha256, fork commit, +GPU, CPU quota), `health.json`, `server.log` (upstream arms also `engine.log`), `community/` (the client's own +report and `results.json`), `sustained.json`, `summary.json`, `complete.json`, `server-exit.json`. The Qwen3.6 arms +also have the `expert-profile.txt` the engine wrote. Launch logs: `step9-launch.log` (first campaign, upstream +Flash-Next and the failed fork attempt), `step9-launch-2.log` (fork Flash-Next), `step9-launch-3.log` (Qwen3.6 arms). diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/provenance.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/provenance.json new file mode 100644 index 0000000..e3d8114 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/provenance.json @@ -0,0 +1,9 @@ +{ + "arm": "fork-flash-next", + "engine_binary": "/opt/us2-build/build/bin/strata", + "engine_sha256": "62b91d67a03c03898e2801ab595fcc6dede03bed94994e6109d05ff38c4be22d", + "fork_commit": "4c25aa6f6a99d6cb9f0a350bf1141865c158f593", + "nvidia_smi": "NVIDIA GeForce RTX 3090, 580.126.20, 24576 MiB", + "cpu_quota": "3112500/100000", + "started_utc": "2026-10-18T05:54:20Z" +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server-command.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server-command.json new file mode 100644 index 0000000..977139f --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server-command.json @@ -0,0 +1,42 @@ +[ + "/opt/us2-build/build/bin/unbiased-strata", + "--engine", + "/opt/us2-build/build/bin/strata", + "-m", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--host", + "127.0.0.1", + "--port", + "18090", + "--alias", + "qwen3.8-flash-next-iq3_xxs", + "--", + "--pack", + "/opt/us2-models/pack-iq3-xxs", + "--native", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/opt/us2-models/pack-iq3-xxs/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--mtp", + "/opt/us2-models/mtp", + "--max-context", + "65536", + "--kv", + "int8", + "--ple-io", + "ram", + "--pool-workers", + "15", + "--kv-resident", + "32768" +] diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server-exit.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server-exit.json new file mode 100644 index 0000000..b7410a7 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server-exit.json @@ -0,0 +1 @@ +{"returncode": 1} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server.json new file mode 100644 index 0000000..34e3beb --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next.attempt1-health-mismatch/server.json @@ -0,0 +1,35 @@ +{ + "exe": "/opt/us2-build/build/bin/unbiased-strata", + "engine": "/opt/us2-build/build/bin/strata", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "args": [ + "--pack", + "/opt/us2-models/pack-iq3-xxs", + "--native", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/opt/us2-models/pack-iq3-xxs/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--mtp", + "/opt/us2-models/mtp", + "--max-context", + "65536", + "--kv", + "int8", + "--ple-io", + "ram", + "--pool-workers", + "15", + "--kv-resident", + "32768" + ] +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/benchmark-command.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/benchmark-command.json new file mode 100644 index 0000000..d352645 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/benchmark-command.json @@ -0,0 +1,13 @@ +[ + "/opt/polystrata-v0.1.45-poly.1/.venv/bin/python", + "/opt/polystrata-v0.1.45-poly.1/tools/strata_bench.py", + "--url", + "http://127.0.0.1:18090", + "--config", + "/opt/us2-results/step9/2026-10-17-rtx3090/fork-flash-next/server.json", + "--runs", + "3", + "--long", + "--out", + "/opt/us2-results/step9/2026-10-17-rtx3090/fork-flash-next/community" +] \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/README.md b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/README.md new file mode 100644 index 0000000..43392a2 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/README.md @@ -0,0 +1,61 @@ +# Community benchmark on NVIDIA GeForce RTX 3090 + +Measured on 2026-10-18 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: NVIDIA GeForce RTX 3090, 24 GiB VRAM +- CPU: AMD EPYC 7H12 64-Core Processor (? cores, 256 threads); installed RAM: 1007.6 GiB; storage: not measured +- OS: Linux 6.8.0-107-generic; GPU driver: 580.126.20; CUDA: 13.0 +- PolyStrata: project 0.1.45, commit d0cd84dc; engine b11062-3cf03257f +- Background workloads and power limits: not recorded + +## Model and configuration + +- Model and quantization: qwen3.8-flash-next-iq3_xxs +- Context: 65536 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged; thinking off for the suite; temperature 0 + +```text +unbiased-strata --pack pack-iq3-xxs --native Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp mtp --max-context 65536 --kv int8 --ple-io ram --pool-workers 15 --kv-resident 32768 +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | not measured | 0 | 100 (100-100) | 9 | not measured | 103.1 (94.3-139.3) | 0.35 (0.30-0.37) | +| 4K prompt, fresh | not measured | 0 (0-0) | 24 cap | 3 | 2064.7 (2058.3-2075.5) | not measured | 1.93 (1.93-1.95) | +| 16K prompt, fresh | not measured | 0 (0-0) | 24 cap | 3 | 2531.0 (2406.6-2531.9) | not measured | 6.30 (6.30-6.62) | +| 32K prompt, fresh | not measured | 0 (0-0) | 24 cap | 3 | 2616.0 (2600.4-2617.4) | not measured | 12.13 (12.13-12.21) | +| agent session, follow-up turns | not measured at the last turn | see below | up to 64 | 3 | see below | 116.8 (106.6-154.2) | 1.91 (1.58-2.06) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 3253000.0 % (3246900.0-3254000.0); earlier-turn tokens read again per session: 0 (0-0) (earlier turns that the cache did not hold; the 14408 (14407-14408) new tokens of the files are read once); first turn (nothing cached) first token: 0.89 s (0.83-0.90). + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | None | 0 | 645 | 790.7716337341952 | 0.828 | 78.90880396798558 | +| 1 | None | 662 | 3556 | 1783.488686432496 | 2.009 | 109.23390620448588 | +| 2 | None | 4281 | 1598 | 1025.1120374326267 | 1.591 | 113.27919906212014 | +| 3 | None | 5872 | 3443 | 1697.4011472124512 | 2.055 | 108.76291559622705 | +| 4 | None | 9373 | 2922 | 1582.8270309155043 | 1.903 | 138.7945329563966 | +| 5 | None | 12352 | 2889 | 1560.5815151307265 | 1.92 | 123.79204508388385 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load and power limits are not recorded. Total time of the suite: 117 s. diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/results.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/results.json new file mode 100644 index 0000000..ecca0fd --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/results.json @@ -0,0 +1,933 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-10-18", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 116.55190896987915, + "machine": { + "gpu": [ + "NVIDIA GeForce RTX 3090" + ], + "gpu_vram_mib": 24576, + "gpu_driver": "580.126.20", + "cuda": "13.0", + "cpu": "AMD EPYC 7H12 64-Core Processor", + "cpu_cores": null, + "cpu_threads": 256, + "ram_gib": 1007.6, + "os": "Linux 6.8.0-107-generic", + "python": "3.12.3", + "strata_version": "0.1.45", + "strata_commit": "d0cd84dc", + "engine_version": "b11062-3cf03257f", + "model": "qwen3.8-flash-next-iq3_xxs", + "quant": "IQ3", + "context": 65536, + "parallel_slots": 1, + "config": { + "exe": "unbiased-strata", + "engine": "strata", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "args": [ + "--pack", + "pack-iq3-xxs", + "--native", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--mtp", + "mtp", + "--max-context", + "65536", + "--kv", + "int8", + "--ple-io", + "ram", + "--pool-workers", + "15", + "--kv-resident", + "32768" + ] + }, + "launch": "unbiased-strata --pack pack-iq3-xxs --native Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp mtp --max-context 65536 --kv int8 --ple-io ram --pool-workers 15 --kv-resident 32768", + "engine_info": {}, + "vram_after": {} + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.373, + "total_s": 1.201, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 138.3448530289385, + "prompt_tps_source": "engine", + "decode_tps": 119.52162375558673, + "decode_tps_source": "engine", + "prompt_ms": 368.644, + "decode_ms": 828.302, + "drafts_offered": 87, + "drafts_accepted": 70, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.353, + "total_s": 1.403, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 123.46281615812428, + "prompt_tps_source": "engine", + "decode_tps": 94.33261106950312, + "decode_tps_source": "engine", + "prompt_ms": 348.283, + "decode_ms": 1049.478, + "drafts_offered": 100, + "drafts_accepted": 50, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.351, + "total_s": 1.393, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 132.87117273252457, + "prompt_tps_source": "engine", + "decode_tps": 95.02573853716034, + "decode_tps_source": "engine", + "prompt_ms": 346.2, + "decode_ms": 1041.823, + "drafts_offered": 100, + "drafts_accepted": 51, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.347, + "total_s": 1.058, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 149.08880430778947, + "prompt_tps_source": "engine", + "decode_tps": 139.3041826432617, + "decode_tps_source": "engine", + "prompt_ms": 342.078, + "decode_ms": 710.675, + "drafts_offered": 87, + "drafts_accepted": 71, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.307, + "total_s": 1.287, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 142.23433603027277, + "prompt_tps_source": "engine", + "decode_tps": 101.0688799730483, + "decode_tps_source": "engine", + "prompt_ms": 302.318, + "decode_ms": 979.53, + "drafts_offered": 106, + "drafts_accepted": 52, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.322, + "total_s": 1.303, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 144.9494567546447, + "prompt_tps_source": "engine", + "decode_tps": 100.94233235925681, + "decode_tps_source": "engine", + "prompt_ms": 317.352, + "decode_ms": 980.758, + "drafts_offered": 97, + "drafts_accepted": 49, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.346, + "total_s": 1.07, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 149.5811727163941, + "prompt_tps_source": "engine", + "decode_tps": 136.61824308939387, + "decode_tps_source": "engine", + "prompt_ms": 340.952, + "decode_ms": 724.647, + "drafts_offered": 85, + "drafts_accepted": 71, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.297, + "total_s": 1.187, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 146.9497671017063, + "prompt_tps_source": "engine", + "decode_tps": 111.30649085487882, + "decode_tps_source": "engine", + "prompt_ms": 292.617, + "decode_ms": 889.436, + "drafts_offered": 95, + "drafts_accepted": 55, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.314, + "total_s": 1.275, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 148.37895986349136, + "prompt_tps_source": "engine", + "decode_tps": 103.14659631860421, + "decode_tps_source": "engine", + "prompt_ms": 310.017, + "decode_ms": 959.799, + "drafts_offered": 100, + "drafts_accepted": 51, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 103.147, + "min": 94.333, + "max": 139.304, + "n": 9 + }, + "ttft_s": { + "median": 0.346, + "min": 0.297, + "max": 0.373, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": null + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.946, + "total_s": 2.188, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 3939, + "generated_tokens": 24, + "prompt_tps": 2058.3120482582467, + "prompt_tps_source": "engine", + "decode_tps": 95.02326004147973, + "decode_tps_source": "engine", + "prompt_ms": 1913.704, + "decode_ms": 242.046, + "drafts_offered": 21, + "drafts_accepted": 13, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.93, + "total_s": 2.199, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 3939, + "generated_tokens": 24, + "prompt_tps": 2075.4605636147894, + "prompt_tps_source": "engine", + "decode_tps": 85.68916441887845, + "decode_tps_source": "engine", + "prompt_ms": 1897.892, + "decode_ms": 268.412, + "drafts_offered": 20, + "drafts_accepted": 8, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.931, + "total_s": 2.14, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 3939, + "generated_tokens": 24, + "prompt_tps": 2064.671010215902, + "prompt_tps_source": "engine", + "decode_tps": 110.30751817676061, + "decode_tps_source": "engine", + "prompt_ms": 1907.81, + "decode_ms": 208.508, + "drafts_offered": 18, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 2064.671, + "min": 2058.312, + "max": 2075.461, + "n": 3 + }, + "ttft_s": { + "median": 1.931, + "min": 1.93, + "max": 1.946, + "n": 3 + }, + "prompt_tokens": null, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 6.305, + "total_s": 6.545, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 15716, + "generated_tokens": 24, + "prompt_tps": 2531.044999809157, + "prompt_tps_source": "engine", + "decode_tps": 95.74277662377668, + "decode_tps_source": "engine", + "prompt_ms": 6209.293, + "decode_ms": 240.227, + "drafts_offered": 21, + "drafts_accepted": 12, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.621, + "total_s": 6.864, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 15716, + "generated_tokens": 24, + "prompt_tps": 2406.6065607132964, + "prompt_tps_source": "engine", + "decode_tps": 94.80470231323473, + "decode_tps_source": "engine", + "prompt_ms": 6530.357, + "decode_ms": 242.604, + "drafts_offered": 21, + "drafts_accepted": 12, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.298, + "total_s": 6.524, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 15716, + "generated_tokens": 24, + "prompt_tps": 2531.8866115620995, + "prompt_tps_source": "engine", + "decode_tps": 101.99104252583035, + "decode_tps_source": "engine", + "prompt_ms": 6207.229, + "decode_ms": 225.51, + "drafts_offered": 22, + "drafts_accepted": 11, + "run": 2 + } + ], + "prompt_tps": { + "median": 2531.045, + "min": 2406.607, + "max": 2531.887, + "n": 3 + }, + "ttft_s": { + "median": 6.305, + "min": 6.298, + "max": 6.621, + "n": 3 + }, + "prompt_tokens": null, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 12.209, + "total_s": 12.483, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 31373, + "generated_tokens": 24, + "prompt_tps": 2600.4485738562457, + "prompt_tps_source": "engine", + "decode_tps": 84.36651749688211, + "decode_tps_source": "engine", + "prompt_ms": 12064.457, + "decode_ms": 272.62, + "drafts_offered": 13, + "drafts_accepted": 10, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.129, + "total_s": 12.4, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 31373, + "generated_tokens": 24, + "prompt_tps": 2617.3629448882957, + "prompt_tps_source": "engine", + "decode_tps": 85.3042952567103, + "decode_tps_source": "engine", + "prompt_ms": 11986.492, + "decode_ms": 269.623, + "drafts_offered": 20, + "drafts_accepted": 11, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 12.131, + "total_s": 12.372, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 31373, + "generated_tokens": 24, + "prompt_tps": 2615.9565931144803, + "prompt_tps_source": "engine", + "decode_tps": 95.68382735309413, + "decode_tps_source": "engine", + "prompt_ms": 11992.936, + "decode_ms": 240.375, + "drafts_offered": 14, + "drafts_accepted": 10, + "run": 2 + } + ], + "prompt_tps": { + "median": 2615.957, + "min": 2600.449, + "max": 2617.363, + "n": 3 + }, + "ttft_s": { + "median": 12.131, + "min": 12.129, + "max": 12.209, + "n": 3 + }, + "prompt_tokens": null, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 0.828, + "total_s": 1.006, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 645, + "generated_tokens": 14, + "prompt_tps": 790.7716337341952, + "prompt_tps_source": "engine", + "decode_tps": 78.90880396798558, + "decode_tps_source": "engine", + "prompt_ms": 815.659, + "decode_ms": 177.42, + "drafts_offered": 20, + "drafts_accepted": 10, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.009, + "total_s": 2.586, + "prompt_tokens": null, + "reused_tokens": 662, + "read_tokens": 3556, + "generated_tokens": 64, + "prompt_tps": 1783.488686432496, + "prompt_tps_source": "engine", + "decode_tps": 109.23390620448588, + "decode_tps_source": "engine", + "prompt_ms": 1993.845, + "decode_ms": 576.744, + "drafts_offered": 56, + "drafts_accepted": 44, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.591, + "total_s": 2.147, + "prompt_tokens": null, + "reused_tokens": 4281, + "read_tokens": 1598, + "generated_tokens": 64, + "prompt_tps": 1025.1120374326267, + "prompt_tps_source": "engine", + "decode_tps": 113.27919906212014, + "decode_tps_source": "engine", + "prompt_ms": 1558.854, + "decode_ms": 556.148, + "drafts_offered": 62, + "drafts_accepted": 43, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.055, + "total_s": 2.589, + "prompt_tokens": null, + "reused_tokens": 5872, + "read_tokens": 3443, + "generated_tokens": 58, + "prompt_tps": 1697.4011472124512, + "prompt_tps_source": "engine", + "decode_tps": 108.76291559622705, + "decode_tps_source": "engine", + "prompt_ms": 2028.395, + "decode_ms": 533.27, + "drafts_offered": 62, + "drafts_accepted": 35, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.903, + "total_s": 2.315, + "prompt_tokens": null, + "reused_tokens": 9373, + "read_tokens": 2922, + "generated_tokens": 57, + "prompt_tps": 1582.8270309155043, + "prompt_tps_source": "engine", + "decode_tps": 138.7945329563966, + "decode_tps_source": "engine", + "prompt_ms": 1846.064, + "decode_ms": 410.679, + "drafts_offered": 51, + "drafts_accepted": 40, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.92, + "total_s": 2.429, + "prompt_tokens": null, + "reused_tokens": 12352, + "read_tokens": 2889, + "generated_tokens": 64, + "prompt_tps": 1560.5815151307265, + "prompt_tps_source": "engine", + "decode_tps": 123.79204508388385, + "decode_tps_source": "engine", + "prompt_ms": 1851.233, + "decode_ms": 508.918, + "drafts_offered": 58, + "drafts_accepted": 44, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.903, + "total_s": 1.009, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 645, + "generated_tokens": 9, + "prompt_tps": 725.6934873228662, + "prompt_tps_source": "engine", + "decode_tps": 85.3209965492397, + "decode_tps_source": "engine", + "prompt_ms": 888.805, + "decode_ms": 105.484, + "drafts_offered": 12, + "drafts_accepted": 7, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.014, + "total_s": 2.56, + "prompt_tokens": null, + "reused_tokens": 657, + "read_tokens": 3556, + "generated_tokens": 64, + "prompt_tps": 1789.638916694724, + "prompt_tps_source": "engine", + "decode_tps": 115.47090133286412, + "decode_tps_source": "engine", + "prompt_ms": 1986.993, + "decode_ms": 545.592, + "drafts_offered": 64, + "drafts_accepted": 40, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.589, + "total_s": 2.138, + "prompt_tokens": null, + "reused_tokens": 4206, + "read_tokens": 1668, + "generated_tokens": 64, + "prompt_tps": 1074.042617856538, + "prompt_tps_source": "engine", + "decode_tps": 114.94882040615249, + "decode_tps_source": "engine", + "prompt_ms": 1553.011, + "decode_ms": 548.07, + "drafts_offered": 66, + "drafts_accepted": 39, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.009, + "total_s": 2.363, + "prompt_tokens": null, + "reused_tokens": 5938, + "read_tokens": 3372, + "generated_tokens": 43, + "prompt_tps": 1719.423004064508, + "prompt_tps_source": "engine", + "decode_tps": 122.03878562893966, + "decode_tps_source": "engine", + "prompt_ms": 1961.123, + "decode_ms": 352.347, + "drafts_offered": 47, + "drafts_accepted": 27, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.902, + "total_s": 2.198, + "prompt_tokens": null, + "reused_tokens": 9353, + "read_tokens": 2922, + "generated_tokens": 40, + "prompt_tps": 1586.234825725884, + "prompt_tps_source": "engine", + "decode_tps": 135.68060784912316, + "decode_tps_source": "engine", + "prompt_ms": 1842.098, + "decode_ms": 294.81, + "drafts_offered": 39, + "drafts_accepted": 27, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.914, + "total_s": 2.126, + "prompt_tokens": null, + "reused_tokens": 12315, + "read_tokens": 2889, + "generated_tokens": 24, + "prompt_tps": 1569.4024645431298, + "prompt_tps_source": "engine", + "decode_tps": 113.71712864250178, + "decode_tps_source": "engine", + "prompt_ms": 1840.828, + "decode_ms": 211.05, + "drafts_offered": 26, + "drafts_accepted": 14, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.893, + "total_s": 0.996, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 645, + "generated_tokens": 9, + "prompt_tps": 733.4262718976069, + "prompt_tps_source": "engine", + "decode_tps": 87.63473841030586, + "decode_tps_source": "engine", + "prompt_ms": 879.434, + "decode_ms": 102.699, + "drafts_offered": 12, + "drafts_accepted": 7, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.001, + "total_s": 2.437, + "prompt_tokens": null, + "reused_tokens": 657, + "read_tokens": 3556, + "generated_tokens": 64, + "prompt_tps": 1801.6155769830941, + "prompt_tps_source": "engine", + "decode_tps": 144.46327307915442, + "decode_tps_source": "engine", + "prompt_ms": 1973.784, + "decode_ms": 436.097, + "drafts_offered": 57, + "drafts_accepted": 47, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.579, + "total_s": 2.171, + "prompt_tokens": null, + "reused_tokens": 4206, + "read_tokens": 1668, + "generated_tokens": 64, + "prompt_tps": 1080.8660147342514, + "prompt_tps_source": "engine", + "decode_tps": 106.5658069230561, + "decode_tps_source": "engine", + "prompt_ms": 1543.207, + "decode_ms": 591.184, + "drafts_offered": 78, + "drafts_accepted": 36, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.013, + "total_s": 2.553, + "prompt_tokens": null, + "reused_tokens": 5937, + "read_tokens": 3373, + "generated_tokens": 64, + "prompt_tps": 1717.416939749368, + "prompt_tps_source": "engine", + "decode_tps": 116.8274125324289, + "decode_tps_source": "engine", + "prompt_ms": 1963.996, + "decode_ms": 539.257, + "drafts_offered": 67, + "drafts_accepted": 38, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.882, + "total_s": 2.272, + "prompt_tokens": null, + "reused_tokens": 9374, + "read_tokens": 2922, + "generated_tokens": 60, + "prompt_tps": 1604.5679116070885, + "prompt_tps_source": "engine", + "decode_tps": 154.2305438168975, + "decode_tps_source": "engine", + "prompt_ms": 1821.051, + "decode_ms": 389.028, + "drafts_offered": 50, + "drafts_accepted": 43, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.885, + "total_s": 2.383, + "prompt_tokens": null, + "reused_tokens": 12356, + "read_tokens": 2889, + "generated_tokens": 64, + "prompt_tps": 1591.9048141207302, + "prompt_tps_source": "engine", + "decode_tps": 126.67619754248177, + "decode_tps_source": "engine", + "prompt_ms": 1814.807, + "decode_ms": 497.331, + "drafts_offered": 61, + "drafts_accepted": 44, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 3253000.0, + "min": 3246900.0, + "max": 3254000.0, + "n": 3 + }, + "reread_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + }, + "new_tokens": { + "median": 14408, + "min": 14407, + "max": 14408, + "n": 3 + }, + "turn_ttft_s": { + "median": 1.914, + "min": 1.579, + "max": 2.055, + "n": 15 + }, + "last_turn_prompt_tokens": null, + "turn_decode_tps": { + "median": 116.827, + "min": 106.566, + "max": 154.231, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 0.893, + "min": 0.828, + "max": 0.903, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/complete.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/complete.json new file mode 100644 index 0000000..b8277d9 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/complete.json @@ -0,0 +1,5 @@ +{ + "complete": true, + "bench_seconds": 116.70975160598755, + "finished_utc": "2026-10-18T06:32:33Z" +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/health.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/health.json new file mode 100644 index 0000000..4169ee8 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/health.json @@ -0,0 +1,8 @@ +{ + "status": "ok", + "busy": false, + "service": "strata", + "loaded": true, + "model": "qwen3.8-flash-next-iq3_xxs", + "max_context": 65536 +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/provenance.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/provenance.json new file mode 100644 index 0000000..4e7c964 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/provenance.json @@ -0,0 +1,9 @@ +{ + "arm": "fork-flash-next", + "engine_binary": "/opt/us2-build/build/bin/strata", + "engine_sha256": "62b91d67a03c03898e2801ab595fcc6dede03bed94994e6109d05ff38c4be22d", + "fork_commit": "143ada26fe968d27686cab50ad76c9c171eb748d", + "nvidia_smi": "NVIDIA GeForce RTX 3090, 580.126.20, 24576 MiB", + "cpu_quota": "3112500/100000", + "started_utc": "2026-10-18T06:29:25Z" +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server-command.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server-command.json new file mode 100644 index 0000000..977139f --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server-command.json @@ -0,0 +1,42 @@ +[ + "/opt/us2-build/build/bin/unbiased-strata", + "--engine", + "/opt/us2-build/build/bin/strata", + "-m", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--host", + "127.0.0.1", + "--port", + "18090", + "--alias", + "qwen3.8-flash-next-iq3_xxs", + "--", + "--pack", + "/opt/us2-models/pack-iq3-xxs", + "--native", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/opt/us2-models/pack-iq3-xxs/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--mtp", + "/opt/us2-models/mtp", + "--max-context", + "65536", + "--kv", + "int8", + "--ple-io", + "ram", + "--pool-workers", + "15", + "--kv-resident", + "32768" +] diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server-exit.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server-exit.json new file mode 100644 index 0000000..b7410a7 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server-exit.json @@ -0,0 +1 @@ +{"returncode": 1} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server.json new file mode 100644 index 0000000..34e3beb --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/server.json @@ -0,0 +1,35 @@ +{ + "exe": "/opt/us2-build/build/bin/unbiased-strata", + "engine": "/opt/us2-build/build/bin/strata", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "args": [ + "--pack", + "/opt/us2-models/pack-iq3-xxs", + "--native", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/opt/us2-models/pack-iq3-xxs/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--mtp", + "/opt/us2-models/mtp", + "--max-context", + "65536", + "--kv", + "int8", + "--ple-io", + "ram", + "--pool-workers", + "15", + "--kv-resident", + "32768" + ] +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/summary.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/summary.json new file mode 100644 index 0000000..215b45c --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/summary.json @@ -0,0 +1,184 @@ +{ + "checks": { + "requests": 45, + "all_successful": true, + "skipped": {}, + "failures": [] + }, + "sustained": { + "decode_tps": { + "median": 119.11607943527324, + "min": 113.31778965113644, + "max": 130.21188352891025, + "n": 9 + }, + "prompt_tps": { + "median": 1928.9791374505783, + "min": 1178.2302509227504, + "max": 2047.0140075286968, + "n": 9 + }, + "ttft_s": { + "median": 2.288, + "min": 1.424, + "max": 2.501, + "n": 9 + }, + "total_s": { + "median": 6.582, + "min": 5.349, + "max": 6.877, + "n": 9 + }, + "draft_acceptance_pct": 66.82312252964427 + }, + "chat": { + "median": 103.147, + "min": 94.333, + "max": 139.304, + "n": 9 + }, + "chat_ttft_s": { + "median": 0.346, + "min": 0.297, + "max": 0.373, + "n": 9 + }, + "prefill": { + "4K": { + "median": 2064.671, + "min": 2058.312, + "max": 2075.461, + "n": 3 + }, + "16K": { + "median": 2531.045, + "min": 2406.607, + "max": 2531.887, + "n": 3 + }, + "32K": { + "median": 2615.957, + "min": 2600.449, + "max": 2617.363, + "n": 3 + } + }, + "prefill_ttft_s": { + "4K": { + "median": 1.931, + "min": 1.93, + "max": 1.946, + "n": 3 + }, + "16K": { + "median": 6.305, + "min": 6.298, + "max": 6.621, + "n": 3 + }, + "32K": { + "median": 12.131, + "min": 12.129, + "max": 12.209, + "n": 3 + } + }, + "agent": { + "turn_decode_tps": { + "median": 116.827, + "min": 106.566, + "max": 154.231, + "n": 15 + }, + "turn_ttft_s": { + "median": 1.914, + "min": 1.579, + "max": 2.055, + "n": 15 + } + }, + "per_document": { + "docs/DETAILS.md": { + "prompt_tokens": null, + "decode_tps": { + "median": 120.25920447712545, + "min": 116.77731183655746, + "max": 122.04214968051706, + "n": 3 + }, + "prompt_tps": { + "median": 2043.810751545814, + "min": 2036.5390938449962, + "max": 2047.0140075286968, + "n": 3 + }, + "ttft_s": { + "median": 2.492, + "min": 2.489, + "max": 2.501, + "n": 3 + }, + "total_s": { + "median": 6.739, + "min": 6.679, + "max": 6.877, + "n": 3 + } + }, + "docs/HOW_IT_WORKS.md": { + "prompt_tokens": null, + "decode_tps": { + "median": 128.83212543761323, + "min": 118.68653260895064, + "max": 130.21188352891025, + "n": 3 + }, + "prompt_tps": { + "median": 1200.44365452987, + "min": 1178.2302509227504, + "max": 1201.8813411465069, + "n": 3 + }, + "ttft_s": { + "median": 1.425, + "min": 1.424, + "max": 1.452, + "n": 3 + }, + "total_s": { + "median": 5.392, + "min": 5.349, + "max": 5.758, + "n": 3 + } + }, + "docs/INSTALL.md": { + "prompt_tokens": null, + "decode_tps": { + "median": 118.78301110051645, + "min": 113.31778965113644, + "max": 119.11607943527324, + "n": 3 + }, + "prompt_tps": { + "median": 1928.9791374505783, + "min": 1903.929545021834, + "max": 1936.0449481410203, + "n": 3 + }, + "ttft_s": { + "median": 2.288, + "min": 2.28, + "max": 2.318, + "n": 3 + }, + "total_s": { + "median": 6.582, + "min": 6.579, + "max": 6.828, + "n": 3 + } + } + } +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/sustained.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/sustained.json new file mode 100644 index 0000000..8138277 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-flash-next/sustained.json @@ -0,0 +1,443 @@ +[ + { + "run": 0, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 1.4522951785475016, + "total": 5.757850904017687, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage\n\n## Executive Summary\n\nPolyStrata is an inference engine designed to run massive Mixture-of-Experts (MoE) models\u2014specifically targeting **Qwen3.8-Flash-Next** (and variants like GLM 5.3 Flash)\u2014on consumer hardware with limited VRAM (12\u201324 GB). It achieves this by **stratifying model weights across GPU VRAM, system RAM, and SSD**, leveraging the sparse nature of MoE architectures to minimize memory footprint while maximizing throughput through speculative decoding and parallel CPU/GPU execution.\n\n---\n\n## 1. Core Architecture: The \"Kitchen\" Analogy\n\n### The Problem\nQwen3.8-Flash-Next is a MoE model with **24,576 experts**. A standard dense model would require hundreds of GBs of VRAM. However, MoE models are **sparse**: for any given token, only a small subset of experts (e.g., 10 out of 24,576) are activated.\n\n### The Solution: Hierarchical Memory Stratification\nPolyStrata treats memory like a kitchen:\n- **Counter (GPU VRAM):** Frequently used items (hot experts, attention layers, KV cache).\n- **Pantry (System RAM):** All experts, pinned in memory for fast CPU access.\n- **Storage (SSD):** Large, rarely accessed lookup tables (n-gram tables).\n\nThis allows a 12\u201324 GB GPU to run a model that would otherwise require >100 GB VRAM.\n\n---\n\n## 2. Component Breakdown: Who Does What?\n\n### A. GPU (VRAM) \u2013 The Hot Path\nThe GPU handles the **dense, always-active components** and the **hottest experts**.\n\n**What lives on the GPU:**\n1. **Attention & DeltaNet Mixers:** Core transformer layers.\n2. **Gated-Residual Weights & Routers:** The logic that decides which experts to activate.\n3. **Shared Experts:** Experts used by nearly all tokens.\n4. **Output Head & MTP Draft Layer:** Final projection and speculative decoding helper.\n5. **KV Cache:** \n - For short contexts: Fully in VRAM.\n - For long contexts (>64K tokens): Only the most-read portion stays in VRAM; the rest streams from RAM.", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 1439.447, + "prompt_per_token_ms": 0.8487305424528301, + "prompt_per_second": 1178.2302509227504, + "predicted_n": 512, + "predicted_ms": 4305.459, + "predicted_per_token_ms": 8.425555772994128, + "predicted_per_second": 118.68653260895064, + "draft_n": 456, + "draft_n_accepted": 305 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.452, + "total_s": 5.758, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 1178.2302509227504, + "prompt_tps_source": "engine", + "decode_tps": 118.68653260895064, + "decode_tps_source": "engine", + "prompt_ms": 1439.447, + "decode_ms": 4305.459, + "drafts_offered": 456, + "drafts_accepted": 305 + } + }, + { + "run": 0, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 2.3182232100516558, + "total": 6.828342035412788, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage\n\n## 1. Executive Summary\n\n**PolyStrata** is a specialized local inference engine designed to run large language models (LLMs), specifically optimized for the **Qwen3.8-Flash-Next** model, on consumer-grade hardware. Its core architectural innovation lies in its hybrid memory management strategy, which aggressively balances GPU VRAM and system RAM to enable the execution of massive models (70\u201380 GB) on GPUs with as little as 12 GB of VRAM.\n\nThe project prioritizes **accessibility** and **automation**. It abstracts away the complex dependency management typical of local LLMs (Python environments, CUDA/ROCm drivers, model quantization) behind a single entry point (`START-HERE.bat` or `setup.sh`) that handles installation, compilation, and configuration automatically.\n\n---\n\n## 2. Core Technical Design\n\n### 2.1. Hybrid Memory Architecture (The \"PolyStrata\" Concept)\nThe defining feature of PolyStrata is its approach to memory constraints. Standard local LLM runners often require either:\n1. **Full GPU Offload:** Requires VRAM \u2265 Model Size (impossible for 70GB models on consumer cards).\n2. **Full CPU Offload:** Slow, limited by system RAM bandwidth.\n\nPolyStrata employs a **hybrid expert routing strategy**:\n* **GPU VRAM:** Stores the \"hot\" experts and critical layers of the Mixture-of-Experts (MoE) model.\n* **System RAM:** Stores the remaining experts and weights.\n* **Dynamic Loading:** During inference, the engine dynamically swaps experts between RAM and VRAM based on the prompt's routing path.\n\n**Key Mechanism:**\n* **Page-Locked RAM:** The engine locks a portion of system RAM to prevent swapping to disk, ensuring faster access than standard virtual memory.\n* **Low-RAM Mode:** For systems with <64 GB RAM, PolyStrata maps experts from a pre-prepared \"pack\" on disk (NVMe SSD) rather than keeping them fully resident in RAM, trading latency for feasibility.\n\n### 2.2. Model Support & Quantization\nPolyStrata is not a general-purpose runner but is tuned for specific model families:\n* **Primary Target:** Qwen3.8-Flash-Next (70\u201380 GB).\n*", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 2295.253, + "prompt_per_token_ms": 0.525229519450801, + "prompt_per_second": 1903.929545021834, + "predicted_n": 512, + "predicted_ms": 4509.442, + "predicted_per_token_ms": 8.824739726027397, + "predicted_per_second": 113.31778965113644, + "draft_n": 481, + "draft_n_accepted": 288 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.318, + "total_s": 6.828, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 1903.929545021834, + "prompt_tps_source": "engine", + "decode_tps": 113.31778965113644, + "decode_tps_source": "engine", + "prompt_ms": 2295.253, + "decode_ms": 4509.442, + "drafts_offered": 481, + "drafts_accepted": 288 + } + }, + { + "run": 0, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 2.4919154793024063, + "total": 6.679194720461965, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage\n\n## 1. Executive Summary\n\n**PolyStrata** is a high-performance inference engine designed for running large Mixture-of-Experts (MoE) models on consumer-grade hardware (specifically NVIDIA RTX 30/50 series and AMD RDNA3/4 GPUs). Its core innovation lies in its sophisticated **expert caching and streaming architecture**, which allows massive models (with 23\u201350 GB of expert weights) to run on GPUs with limited VRAM (8\u201312 GB) by dynamically swapping experts between VRAM, system RAM, and disk.\n\nThe engine prioritizes **throughput** (tokens/second) and **context length** (up to 262K tokens) over absolute precision, utilizing aggressive quantization (IQ2_XS, Q2_0) and speculative decoding to achieve usable speeds on hardware that would otherwise be unable to host these models.\n\n---\n\n## 2. Core Architecture & How It Works\n\n### 2.1 The Expert Streaming Engine\nThe fundamental challenge of MoE models is that while only a small fraction of experts are active per token, the total weight size is enormous. PolyStrata solves this via a tiered memory hierarchy:\n\n1. **VRAM (GPU):** Holds the \"hot\" experts (most frequently used) and the KV cache.\n2. **System RAM:** Holds the full set of experts (pinned memory) or a large subset.\n3. **Disk (MMap):** In \"Low-RAM mode,\" experts are memory-mapped from disk, relying on the OS file cache.\n\n**Key Mechanism:** The engine uses an **adaptive tiering system** (`--adapt-swaps`) that monitors expert usage. Frequently accessed experts are promoted to VRAM, while cold experts are demoted to RAM or disk. This allows a 12 GB GPU to effectively \"see\" a 50 GB model.\n\n### 2.2 KV Cache Management\nHandling long contexts (128K\u2013262K tokens) requires massive Key-Value (KV) cache memory. PolyStrata offers several strategies:\n\n* **KV Streaming (`--kv-streaming`):** At contexts >64K, the KV cache is stored in system RAM, with only the active window resident in VRAM (`--kv-resident`). This frees up VRAM for more experts.\n * ", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 2469.896, + "prompt_per_token_ms": 0.48928209191759114, + "prompt_per_second": 2043.810751545814, + "predicted_n": 512, + "predicted_ms": 4187.078, + "predicted_per_token_ms": 8.193890410958906, + "predicted_per_second": 122.04214968051706, + "draft_n": 444, + "draft_n_accepted": 301 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.492, + "total_s": 6.679, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 2043.810751545814, + "prompt_tps_source": "engine", + "decode_tps": 122.04214968051706, + "decode_tps_source": "engine", + "prompt_ms": 2469.896, + "decode_ms": 4187.078, + "drafts_offered": 444, + "drafts_accepted": 301 + } + }, + { + "run": 1, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 1.4247603733092546, + "total": 5.391626071184874, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage\n\n## Executive Summary\n\nPolyStrata is an inference engine designed to run massive Mixture-of-Experts (MoE) models\u2014specifically **Qwen3.8-Flash-Next** (and GLM 5.3 Flash)\u2014on consumer hardware with limited VRAM (12\u201324 GB). It achieves this by **stratifying model weights across GPU VRAM, system RAM, and SSD**, leveraging the sparse nature of MoE architectures to avoid loading all 24,576 experts into VRAM simultaneously. It further accelerates inference via **Multi-Token Prediction (MTP) speculative decoding** and **prompt lookup** for repetitive contexts.\n\n---\n\n## 1. Core Architecture: The \"Kitchen\" Analogy\n\n### The Problem\nQwen3.8-Flash-Next is a MoE model with **24,576 experts**. A standard dense model would require hundreds of GBs of VRAM. A consumer GPU (e.g., RTX 4090 with 24 GB) cannot hold the entire model.\n\n### The Solution: Hierarchical Storage\nPolyStrata treats the model like a kitchen:\n- **Counter (GPU VRAM):** Frequently used items (hot experts, attention layers, KV cache).\n- **Pantry (System RAM):** All experts, pinned in memory.\n- **Storage Room (SSD):** A large n-gram lookup table for speculative decoding.\n\n### Component Breakdown\n\n| Component | Role | Technical Details |\n|-----------|------|-------------------|\n| **GPU (VRAM)** | Fast compute for hot paths | Stores: Attention/DeltaNet mixers, gated-residual weights, routers, shared experts, output head, MTP draft layer, KV cache (partial), and an **adaptive expert cache**. |\n| **RAM** | Full expert storage | Holds all 24,576 experts pinned in memory. CPU computes experts not cached on GPU using AVX-512/AVX2 kernels (via ggml). |\n| **SSD** | Speculative decoding support | Stores a 28.8 GB n-gram table. Only small rows are read per token via OS cache. |\n\n### Key Insight: MoE Sparsity\nEach token only activates **10 out of 24,576 experts**. PolyStrata exploits this by:\n", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 1411.121, + "prompt_per_token_ms": 0.832028891509434, + "prompt_per_second": 1201.8813411465069, + "predicted_n": 512, + "predicted_ms": 3966.402, + "predicted_per_token_ms": 7.762039138943249, + "predicted_per_second": 128.83212543761323, + "draft_n": 433, + "draft_n_accepted": 317 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.425, + "total_s": 5.392, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 1201.8813411465069, + "prompt_tps_source": "engine", + "decode_tps": 128.83212543761323, + "decode_tps_source": "engine", + "prompt_ms": 1411.121, + "decode_ms": 3966.402, + "drafts_offered": 433, + "drafts_accepted": 317 + } + }, + { + "run": 1, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 2.2882438134402037, + "total": 6.578796703368425, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage\n\n## 1. Executive Summary\n\n**PolyStrata** is a specialized local inference engine designed to run large language models (LLMs), specifically optimized for the **Qwen3.8-Flash-Next** model, on consumer-grade hardware. Its core architectural innovation lies in its hybrid memory management strategy, which aggressively balances GPU VRAM and system RAM to enable the execution of massive models (70\u201380 GB) on GPUs with as little as 12 GB of VRAM.\n\nThe project prioritizes **accessibility** and **automation**. It abstracts away the complex dependencies of Python environments, CUDA/ROCm drivers, and model quantization formats, providing a \"one-click\" experience for Windows and Linux users. It supports both NVIDIA (CUDA) and AMD (HIP/ROCm) backends, with specific optimizations for multi-GPU setups and older CPU architectures.\n\n---\n\n## 2. Core Design & Architecture\n\n### 2.1. Hybrid Memory Management (The \"PolyStrata\" Concept)\nThe defining feature of PolyStrata is its approach to memory constraints. Standard LLM inference requires the entire model weights to fit into VRAM. PolyStrata circumvents this by:\n1. **Expert Offloading:** It likely utilizes a Mixture-of-Experts (MoE) architecture or a similar sparse activation pattern where only a subset of the model's parameters (experts) are active per token.\n2. **RAM-to-VRAM Streaming:** It loads 35\u201355 GB of model data into system RAM and \"locks\" or maps specific portions into the GPU's VRAM. This allows a 12 GB GPU to run a model that would otherwise require 40+ GB of VRAM.\n3. **Low-RAM Mode:** For systems with limited RAM, it can map experts from disk (NVMe SSD) via the OS file cache, trading latency for memory capacity.\n\n### 2.2. Backend Abstraction\nPolyStrata abstracts the underlying compute backend:\n* **NVIDIA (CUDA):** Uses pre-compiled engines for RTX 20/30/40/50 series. If a pre-compiled engine isn't available, it can compile a custom engine using Visual Studio Build Tools (Windows) or `build-essential` (Linux).\n* **AMD (HIP/ROCm):** Uses", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 2265.447, + "prompt_per_token_ms": 0.5184089244851259, + "prompt_per_second": 1928.9791374505783, + "predicted_n": 512, + "predicted_ms": 4289.933, + "predicted_per_token_ms": 8.395172211350294, + "predicted_per_second": 119.11607943527324, + "draft_n": 444, + "draft_n_accepted": 294 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.288, + "total_s": 6.579, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 1928.9791374505783, + "prompt_tps_source": "engine", + "decode_tps": 119.11607943527324, + "decode_tps_source": "engine", + "prompt_ms": 2265.447, + "decode_ms": 4289.933, + "drafts_offered": 444, + "drafts_accepted": 294 + } + }, + { + "run": 1, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 2.4888660479336977, + "total": 6.738605448976159, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage\n\n## 1. Executive Summary\n\n**PolyStrata** is a high-performance inference engine designed for running large Mixture-of-Experts (MoE) models on consumer-grade hardware (specifically NVIDIA RTX 30/50 series and AMD RDNA3/4 GPUs). Its core innovation lies in its sophisticated **expert caching and streaming architecture**, which allows massive models (with 23\u201350 GB of expert weights) to run on GPUs with limited VRAM (8\u201312 GB) by dynamically swapping experts between VRAM, system RAM, and disk.\n\nThe engine prioritizes **throughput** (tokens/second) and **context length** (up to 262K tokens) over absolute precision, utilizing aggressive quantization (IQ2_XS, Q2_0) and speculative decoding to achieve usable speeds on hardware that would otherwise be unable to host these models.\n\n---\n\n## 2. Core Architecture & How It Works\n\n### 2.1 The Expert Streaming Engine\nThe fundamental challenge of MoE models is that while only a small fraction of experts are active per token, the total weight size is enormous. PolyStrata solves this via a tiered memory hierarchy:\n\n1. **VRAM (GPU):** Holds the \"hot\" experts (most frequently used) and the KV cache.\n2. **System RAM:** Holds the full set of experts (pinned memory) or a large subset.\n3. **Disk (MMap):** In \"Low-RAM mode,\" experts are memory-mapped from disk, relying on the OS file cache.\n\n**Key Mechanism: KV Streaming (`--kv-resident`)**\nInstead of keeping the entire Key-Value (KV) cache in VRAM, PolyStrata keeps only a resident portion in VRAM (`--kv-resident 32768`) and streams the rest from RAM. This frees up VRAM for more experts.\n* **Tradeoff:** Slight latency increase due to PCIe transfers, but massive gain in expert capacity.\n* **Impact:** On an RTX 5070 (12 GB), this allows Q2_0 models to run at 262K context with 62.6 tokens/s output, compared to 50.9 tokens/s without streaming.\n\n### 2.2 Quantization Strategy\nPolyStrata relies heavily on", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 2466.031, + "prompt_per_token_ms": 0.48851644215530904, + "prompt_per_second": 2047.0140075286968, + "predicted_n": 512, + "predicted_ms": 4249.155, + "predicted_per_token_ms": 8.31537181996086, + "predicted_per_second": 120.25920447712545, + "draft_n": 454, + "draft_n_accepted": 298 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.489, + "total_s": 6.739, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 2047.0140075286968, + "prompt_tps_source": "engine", + "decode_tps": 120.25920447712545, + "decode_tps_source": "engine", + "prompt_ms": 2466.031, + "decode_ms": 4249.155, + "drafts_offered": 454, + "drafts_accepted": 298 + } + }, + { + "run": 2, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 1.4242745153605938, + "total": 5.348992163315415, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage\n\n## Executive Summary\n\nPolyStrata is an inference engine designed to run massive Mixture-of-Experts (MoE) models\u2014specifically **Qwen3.8-Flash-Next** (and GLM 5.3 Flash)\u2014on consumer hardware with limited VRAM (12\u201324 GB). It achieves this by **heterogeneous memory tiering**, distributing model weights across GPU VRAM, system RAM, and SSD, while leveraging **speculative decoding** and **parallel CPU/GPU execution** to maintain high throughput.\n\nThe core insight is that MoE models are sparse: only a small fraction of experts are active per token. PolyStrata exploits this sparsity by keeping frequently used experts on the GPU and streaming rarely used ones from RAM/SSD, overlapping computation to hide latency.\n\n---\n\n## 1. Architectural Design\n\n### 1.1 The Model: A Sparse MoE Team\n\nQwen3.8-Flash-Next is not a monolithic transformer. It is a **Mixture-of-Experts (MoE)** model with:\n- **24,576 experts** (small specialized feed-forward networks).\n- **Sparse activation**: Each token activates only **~10 experts** out of 24,576.\n- **Shared components**: Attention layers, DeltaNet mixers, routers, shared experts, and output heads are dense and always active.\n\nThis sparsity is the foundation of PolyStrata\u2019s design. Instead of loading all 24,576 experts into VRAM (which would require hundreds of GB), PolyStrata treats experts as a **cacheable resource**.\n\n### 1.2 Memory Tiering: The \"Kitchen\" Analogy\n\nPolyStrata implements a three-tier memory hierarchy:\n\n| Tier | Storage | Contents | Role |\n|------|---------|----------|------|\n| **GPU (VRAM)** | Fast, expensive | Dense layers (attention, routers, shared experts), KV cache, **expert cache** | Primary compute engine. Holds the most frequently accessed experts. |\n| **RAM (System)** | Medium speed, large capacity | **All 24,576 experts** (pinned) | Secondary compute engine. CPU computes experts not cached on GPU. |\n| **SSD** | Slow, massive capacity | **28.8 GB n-gram lookup", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 1412.811, + "prompt_per_token_ms": 0.8330253537735849, + "prompt_per_second": 1200.44365452987, + "predicted_n": 512, + "predicted_ms": 3924.373, + "predicted_per_token_ms": 7.67979060665362, + "predicted_per_second": 130.21188352891025, + "draft_n": 440, + "draft_n_accepted": 319 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.424, + "total_s": 5.349, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 1200.44365452987, + "prompt_tps_source": "engine", + "decode_tps": 130.21188352891025, + "decode_tps_source": "engine", + "prompt_ms": 1412.811, + "decode_ms": 3924.373, + "drafts_offered": 440, + "drafts_accepted": 319 + } + }, + { + "run": 2, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 2.2798871099948883, + "total": 6.582283739000559, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage\n\n## 1. Executive Summary\n\n**PolyStrata** is a specialized local inference engine designed to run large language models (LLMs), specifically optimized for the **Qwen3.8-Flash-Next** model, on consumer-grade hardware. Its core architectural innovation lies in its hybrid memory management strategy, which aggressively balances GPU VRAM and system RAM to enable the execution of massive models (70\u201380 GB) on GPUs with as little as 12 GB of VRAM.\n\nThe project prioritizes **accessibility** and **automation**. It abstracts away the complex dependencies of Python environments, CUDA/ROCm drivers, and model quantization formats, providing a \"one-click\" experience for Windows and Linux users. It supports both NVIDIA (CUDA) and AMD (HIP/ROCm) backends, with specific optimizations for multi-GPU setups and older CPU architectures.\n\n---\n\n## 2. Core Design & Architecture\n\n### 2.1. Hybrid Memory Management (The \"PolyStrata\" Concept)\nThe defining feature of PolyStrata is its approach to memory constraints. Standard LLM inference requires the entire model weights to fit into VRAM. PolyStrata circumvents this by:\n1. **Expert Offloading:** It likely utilizes a Mixture-of-Experts (MoE) architecture or a similar sparse activation pattern where only a subset of the model's parameters (experts) are active per token.\n2. **RAM-VRAM Swapping:** It loads 35\u201355 GB of model data into system RAM and \"locks\" a portion of it for the GPU. This suggests a mechanism where inactive experts reside in system RAM (or are streamed from disk) and are swapped into VRAM only when needed for computation.\n3. **Low-RAM Mode:** For systems with limited RAM, it can map experts from a \"pack\" (disk) instead of keeping them fully resident in RAM, trading speed for memory footprint.\n\n### 2.2. Backend Abstraction\nPolyStrata abstracts the underlying compute backend:\n* **NVIDIA (CUDA):** Uses pre-compiled engines for RTX 20/30/40/50 series. It leverages NVIDIA's CUDA libraries via pip. If a pre-compiled engine isn't available, it can compile a custom engine using Visual Studio Build Tools (Windows) or `build-essential", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 2257.179, + "prompt_per_token_ms": 0.516516933638444, + "prompt_per_second": 1936.0449481410203, + "predicted_n": 512, + "predicted_ms": 4301.962, + "predicted_per_token_ms": 8.418712328767125, + "predicted_per_second": 118.78301110051645, + "draft_n": 444, + "draft_n_accepted": 292 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.28, + "total_s": 6.582, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 1936.0449481410203, + "prompt_tps_source": "engine", + "decode_tps": 118.78301110051645, + "decode_tps_source": "engine", + "prompt_ms": 2257.179, + "decode_ms": 4301.962, + "drafts_offered": 444, + "drafts_accepted": 292 + } + }, + { + "run": 2, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 2.500783983618021, + "total": 6.877007979899645, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage\n\n## Executive Summary\n\nPolyStrata is a high-performance inference engine designed for **Mixture-of-Experts (MoE)** Large Language Models (LLMs), specifically optimized for consumer-grade hardware (RTX 30/50 series, AMD RDNA3/4) and constrained memory environments (12GB\u201364GB VRAM/RAM). Its core innovation lies in a hybrid memory management system that dynamically balances **Expert weights** (the model parameters) and **KV Cache** (context memory) across VRAM, RAM, and Disk, combined with aggressive speculative decoding and quantization strategies.\n\nThe engine prioritizes **throughput** (tokens/sec) and **context length** over absolute precision, utilizing advanced quantization (IQ2_XS, Q2_0) and speculative decoding (MTP) to achieve usable speeds on models that would otherwise be too large or slow for local hardware.\n\n---\n\n## 1. Core Architecture & How It Works\n\n### 1.1 The MoE Challenge\nStandard LLMs store all weights in VRAM. MoE models (like Mixtral, DeepSeek, or specialized PolyStrata models) have a small \"shared\" attention layer and a large set of \"expert\" layers. Only a subset of experts is active per token.\n* **Problem:** Storing all experts in VRAM is impossible for large models on consumer GPUs.\n* **PolyStrata Solution:** A **Tiered Memory System**.\n 1. **VRAM:** Holds the most frequently accessed experts and the active KV cache slice.\n 2. **RAM:** Holds the full set of experts (pinned or memory-mapped) and overflow KV cache.\n 3. **Disk:** Used in \"Low-RAM mode\" via memory-mapped files (`mmap`) for experts when RAM is insufficient.\n\n### 1.2 KV Cache Streaming & Management\nThe KV cache (Key-Value pairs for attention) grows linearly with context length. PolyStrata decouples KV storage from expert storage.\n* **Standard Mode:** KV cache resides in VRAM.\n* **Streaming Mode (`--kv-streaming`):** For contexts >64K, the KV cache is stored in **RAM**, and only the \"active window\" (e.g., last 32K tokens) is copied to VRAM. This", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 2478.715, + "prompt_per_token_ms": 0.49102912044374014, + "prompt_per_second": 2036.5390938449962, + "predicted_n": 512, + "predicted_ms": 4375.85, + "predicted_per_token_ms": 8.563307240704502, + "predicted_per_second": 116.77731183655746, + "draft_n": 452, + "draft_n_accepted": 291 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.501, + "total_s": 6.877, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 2036.5390938449962, + "prompt_tps_source": "engine", + "decode_tps": 116.77731183655746, + "decode_tps_source": "engine", + "prompt_ms": 2478.715, + "decode_ms": 4375.85, + "drafts_offered": 452, + "drafts_accepted": 291 + } + } +] \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/benchmark-command.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/benchmark-command.json new file mode 100644 index 0000000..cae5e07 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/benchmark-command.json @@ -0,0 +1,13 @@ +[ + "/opt/polystrata-v0.1.45-poly.1/.venv/bin/python", + "/opt/polystrata-v0.1.45-poly.1/tools/strata_bench.py", + "--url", + "http://127.0.0.1:18091", + "--config", + "/opt/us2-results/step9/2026-10-17-rtx3090/fork-qwen36-q3km/server.json", + "--runs", + "3", + "--long", + "--out", + "/opt/us2-results/step9/2026-10-17-rtx3090/fork-qwen36-q3km/community" +] \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/README.md b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/README.md new file mode 100644 index 0000000..7a04939 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/README.md @@ -0,0 +1,64 @@ +# Community benchmark on NVIDIA GeForce RTX 3090 + +Measured on 2026-10-18 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: NVIDIA GeForce RTX 3090, 24 GiB VRAM +- CPU: AMD EPYC 7H12 64-Core Processor (? cores, 256 threads); installed RAM: 1007.6 GiB; storage: not measured +- OS: Linux 6.8.0-107-generic; GPU driver: 580.126.20; CUDA: 13.0 +- PolyStrata: project 0.1.45, commit d0cd84dc; engine b11062-3cf03257f +- Background workloads and power limits: not recorded + +## Model and configuration + +- Model and quantization: qwen3.6-35b-a3b-ud-q3_k_m +- Context: 32768 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged; thinking off for the suite; temperature 0 + +```text +unbiased-strata --model Qwen3.6-35B-A3B-UD-Q3_K_M.gguf --max-context 32768 --expert-profile expert-profile.txt --tail-skip 6 +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | not measured | 0 | 100 (100-100) | 9 | not measured | 213.5 (196.5-259.2) | 0.11 (0.11-0.12) | +| 4K prompt, fresh | not measured | 0 (0-0) | 24 cap | 3 | 3821.6 (3792.1-3831.6) | not measured | 1.06 (1.06-1.07) | +| 16K prompt, fresh | not measured | 0 (0-0) | 24 cap | 3 | 3486.3 (3482.9-3497.4) | not measured | 4.61 (4.57-4.61) | +| agent session, follow-up turns | not measured at the last turn | see below | up to 64 | 3 | see below | 186.9 (169.4-202.8) | 1.07 (0.52-1.20) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 3254100.0 % (3253300.0-3258000.0); earlier-turn tokens read again per session: 0 (0-0) (earlier turns that the cache did not hold; the 14339 (14339-14339) new tokens of the files are read once); first turn (nothing cached) first token: 0.28 s (0.28-0.29). + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | None | 0 | 645 | 2343.2987106407563 | 0.285 | 200.12007204322592 | +| 1 | None | 663 | 3559 | 3214.3276464691166 | 1.127 | 177.32750717674534 | +| 2 | None | 4275 | 1597 | 3283.393676229011 | 0.523 | 193.90111735518875 | +| 3 | None | 5928 | 3372 | 2946.8904275875084 | 1.182 | 181.11055450657008 | +| 4 | None | 9347 | 2922 | 3027.449078865981 | 1.028 | 194.72337825970752 | +| 5 | None | 12320 | 2889 | 2871.538176349618 | 1.052 | 171.04320062552944 | + +### Skipped and failed + +- skipped 32K: the context is 32768 tokens + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load and power limits are not recorded. Total time of the suite: 45 s. diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/results.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/results.json new file mode 100644 index 0000000..de49e1d --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/results.json @@ -0,0 +1,834 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-10-18", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 44.598809242248535, + "machine": { + "gpu": [ + "NVIDIA GeForce RTX 3090" + ], + "gpu_vram_mib": 24576, + "gpu_driver": "580.126.20", + "cuda": "13.0", + "cpu": "AMD EPYC 7H12 64-Core Processor", + "cpu_cores": null, + "cpu_threads": 256, + "ram_gib": 1007.6, + "os": "Linux 6.8.0-107-generic", + "python": "3.12.3", + "strata_version": "0.1.45", + "strata_commit": "d0cd84dc", + "engine_version": "b11062-3cf03257f", + "model": "qwen3.6-35b-a3b-ud-q3_k_m", + "quant": "UD-Q3_K_M", + "context": 32768, + "parallel_slots": 1, + "config": { + "exe": "unbiased-strata", + "engine": "strata-poly", + "model_name": "qwen3.6-35b-a3b-ud-q3_k_m", + "args": [ + "--model", + "Qwen3.6-35B-A3B-UD-Q3_K_M.gguf", + "--max-context", + "32768", + "--expert-profile", + "expert-profile.txt", + "--tail-skip", + "6" + ] + }, + "launch": "unbiased-strata --model Qwen3.6-35B-A3B-UD-Q3_K_M.gguf --max-context 32768 --expert-profile expert-profile.txt --tail-skip 6", + "engine_info": {}, + "vram_after": {} + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.117, + "total_s": 0.517, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 455.7681480620917, + "prompt_tps_source": "engine", + "decode_tps": 247.63991655285238, + "decode_tps_source": "engine", + "prompt_ms": 111.899, + "decode_ms": 399.774, + "drafts_offered": 70, + "drafts_accepted": 65, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.112, + "total_s": 0.614, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 400.1042131904124, + "prompt_tps_source": "engine", + "decode_tps": 197.2964408917799, + "decode_tps_source": "engine", + "prompt_ms": 107.472, + "decode_ms": 501.783, + "drafts_offered": 73, + "drafts_accepted": 52, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.107, + "total_s": 0.573, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 444.7968438763078, + "prompt_tps_source": "engine", + "decode_tps": 212.396215485615, + "decode_tps_source": "engine", + "prompt_ms": 103.418, + "decode_ms": 466.11, + "drafts_offered": 73, + "drafts_accepted": 58, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.114, + "total_s": 0.495, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 468.69830533397055, + "prompt_tps_source": "engine", + "decode_tps": 259.2152324296584, + "decode_tps_source": "engine", + "prompt_ms": 108.812, + "decode_ms": 381.922, + "drafts_offered": 81, + "drafts_accepted": 72, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.11, + "total_s": 0.611, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 407.1738348199913, + "prompt_tps_source": "engine", + "decode_tps": 197.40187232684966, + "decode_tps_source": "engine", + "prompt_ms": 105.606, + "decode_ms": 501.515, + "drafts_offered": 75, + "drafts_accepted": 52, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.108, + "total_s": 0.571, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 445.01199597554375, + "prompt_tps_source": "engine", + "decode_tps": 213.49596406366925, + "decode_tps_source": "engine", + "prompt_ms": 103.368, + "decode_ms": 463.709, + "drafts_offered": 70, + "drafts_accepted": 56, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.11, + "total_s": 0.494, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 484.6572712845318, + "prompt_tps_source": "engine", + "decode_tps": 257.19630052998025, + "decode_tps_source": "engine", + "prompt_ms": 105.229, + "decode_ms": 384.92, + "drafts_offered": 81, + "drafts_accepted": 72, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.108, + "total_s": 0.611, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 417.2731683648714, + "prompt_tps_source": "engine", + "decode_tps": 196.54400203293997, + "decode_tps_source": "engine", + "prompt_ms": 103.05, + "decode_ms": 503.704, + "drafts_offered": 67, + "drafts_accepted": 49, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.107, + "total_s": 0.555, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 444.71084127690017, + "prompt_tps_source": "engine", + "decode_tps": 221.2137259765245, + "decode_tps_source": "engine", + "prompt_ms": 103.438, + "decode_ms": 447.531, + "drafts_offered": 68, + "drafts_accepted": 58, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 213.496, + "min": 196.544, + "max": 259.215, + "n": 9 + }, + "ttft_s": { + "median": 0.11, + "min": 0.107, + "max": 0.117, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": null + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.073, + "total_s": 1.242, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 3939, + "generated_tokens": 24, + "prompt_tps": 3792.145378088158, + "prompt_tps_source": "engine", + "decode_tps": 136.10997686130395, + "decode_tps_source": "engine", + "prompt_ms": 1038.726, + "decode_ms": 168.981, + "drafts_offered": 15, + "drafts_accepted": 8, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.056, + "total_s": 1.215, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 3939, + "generated_tokens": 24, + "prompt_tps": 3831.5704283304703, + "prompt_tps_source": "engine", + "decode_tps": 144.43879249169478, + "decode_tps_source": "engine", + "prompt_ms": 1028.038, + "decode_ms": 159.237, + "drafts_offered": 17, + "drafts_accepted": 8, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.064, + "total_s": 1.218, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 3939, + "generated_tokens": 24, + "prompt_tps": 3821.6338042380457, + "prompt_tps_source": "engine", + "decode_tps": 150.3611937371294, + "decode_tps_source": "engine", + "prompt_ms": 1030.711, + "decode_ms": 152.965, + "drafts_offered": 18, + "drafts_accepted": 8, + "run": 2 + } + ], + "prompt_tps": { + "median": 3821.634, + "min": 3792.145, + "max": 3831.57, + "n": 3 + }, + "ttft_s": { + "median": 1.064, + "min": 1.056, + "max": 1.073, + "n": 3 + }, + "prompt_tokens": null, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 4.572, + "total_s": 4.732, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 15716, + "generated_tokens": 24, + "prompt_tps": 3497.353952203571, + "prompt_tps_source": "engine", + "decode_tps": 144.20153104408178, + "decode_tps_source": "engine", + "prompt_ms": 4493.683, + "decode_ms": 159.499, + "drafts_offered": 17, + "drafts_accepted": 13, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.611, + "total_s": 4.755, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 15716, + "generated_tokens": 24, + "prompt_tps": 3482.949922954471, + "prompt_tps_source": "engine", + "decode_tps": 160.09800782392003, + "decode_tps_source": "engine", + "prompt_ms": 4512.267, + "decode_ms": 143.662, + "drafts_offered": 15, + "drafts_accepted": 12, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.607, + "total_s": 4.754, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 15716, + "generated_tokens": 24, + "prompt_tps": 3486.289980532145, + "prompt_tps_source": "engine", + "decode_tps": 157.22625541746987, + "decode_tps_source": "engine", + "prompt_ms": 4507.944, + "decode_ms": 146.286, + "drafts_offered": 15, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 3486.29, + "min": 3482.95, + "max": 3497.354, + "n": 3 + }, + "ttft_s": { + "median": 4.607, + "min": 4.572, + "max": 4.611, + "n": 3 + }, + "prompt_tokens": null, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 0.285, + "total_s": 0.375, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 645, + "generated_tokens": 18, + "prompt_tps": 2343.2987106407563, + "prompt_tps_source": "engine", + "decode_tps": 200.12007204322592, + "decode_tps_source": "engine", + "prompt_ms": 275.253, + "decode_ms": 89.946, + "drafts_offered": 12, + "drafts_accepted": 9, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.127, + "total_s": 1.426, + "prompt_tokens": null, + "reused_tokens": 663, + "read_tokens": 3559, + "generated_tokens": 53, + "prompt_tps": 3214.3276464691166, + "prompt_tps_source": "engine", + "decode_tps": 177.32750717674534, + "decode_tps_source": "engine", + "prompt_ms": 1107.23, + "decode_ms": 298.882, + "drafts_offered": 36, + "drafts_accepted": 27, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.523, + "total_s": 0.812, + "prompt_tokens": null, + "reused_tokens": 4275, + "read_tokens": 1597, + "generated_tokens": 56, + "prompt_tps": 3283.393676229011, + "prompt_tps_source": "engine", + "decode_tps": 193.90111735518875, + "decode_tps_source": "engine", + "prompt_ms": 486.387, + "decode_ms": 288.807, + "drafts_offered": 35, + "drafts_accepted": 28, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.182, + "total_s": 1.442, + "prompt_tokens": null, + "reused_tokens": 5928, + "read_tokens": 3372, + "generated_tokens": 47, + "prompt_tps": 2946.8904275875084, + "prompt_tps_source": "engine", + "decode_tps": 181.11055450657008, + "decode_tps_source": "engine", + "prompt_ms": 1144.257, + "decode_ms": 259.51, + "drafts_offered": 34, + "drafts_accepted": 25, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.028, + "total_s": 1.291, + "prompt_tokens": null, + "reused_tokens": 9347, + "read_tokens": 2922, + "generated_tokens": 51, + "prompt_tps": 3027.449078865981, + "prompt_tps_source": "engine", + "decode_tps": 194.72337825970752, + "decode_tps_source": "engine", + "prompt_ms": 965.169, + "decode_ms": 261.91, + "drafts_offered": 33, + "drafts_accepted": 30, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.052, + "total_s": 1.422, + "prompt_tokens": null, + "reused_tokens": 12320, + "read_tokens": 2889, + "generated_tokens": 64, + "prompt_tps": 2871.538176349618, + "prompt_tps_source": "engine", + "decode_tps": 171.04320062552944, + "decode_tps_source": "engine", + "prompt_ms": 1006.081, + "decode_ms": 368.328, + "drafts_offered": 48, + "drafts_accepted": 36, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.286, + "total_s": 0.433, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 645, + "generated_tokens": 30, + "prompt_tps": 2363.8062778296962, + "prompt_tps_source": "engine", + "decode_tps": 203.2699356989437, + "decode_tps_source": "engine", + "prompt_ms": 272.865, + "decode_ms": 147.587, + "drafts_offered": 24, + "drafts_accepted": 17, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.115, + "total_s": 1.371, + "prompt_tokens": null, + "reused_tokens": 675, + "read_tokens": 3559, + "generated_tokens": 46, + "prompt_tps": 3269.5259784462996, + "prompt_tps_source": "engine", + "decode_tps": 179.3889855162893, + "decode_tps_source": "engine", + "prompt_ms": 1088.537, + "decode_ms": 256.426, + "drafts_offered": 41, + "drafts_accepted": 25, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.519, + "total_s": 0.81, + "prompt_tokens": null, + "reused_tokens": 4280, + "read_tokens": 1597, + "generated_tokens": 53, + "prompt_tps": 3308.3086815654497, + "prompt_tps_source": "engine", + "decode_tps": 182.62133982041084, + "decode_tps_source": "engine", + "prompt_ms": 482.724, + "decode_ms": 290.218, + "drafts_offered": 42, + "drafts_accepted": 28, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.198, + "total_s": 1.406, + "prompt_tokens": null, + "reused_tokens": 5930, + "read_tokens": 3372, + "generated_tokens": 41, + "prompt_tps": 2937.7863622938776, + "prompt_tps_source": "engine", + "decode_tps": 197.7752694085072, + "decode_tps_source": "engine", + "prompt_ms": 1147.803, + "decode_ms": 207.306, + "drafts_offered": 28, + "drafts_accepted": 24, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.014, + "total_s": 1.252, + "prompt_tokens": null, + "reused_tokens": 9343, + "read_tokens": 2922, + "generated_tokens": 48, + "prompt_tps": 2994.0242472928776, + "prompt_tps_source": "engine", + "decode_tps": 202.8414709387334, + "decode_tps_source": "engine", + "prompt_ms": 975.944, + "decode_ms": 236.638, + "drafts_offered": 33, + "drafts_accepted": 30, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.069, + "total_s": 1.407, + "prompt_tokens": null, + "reused_tokens": 12313, + "read_tokens": 2889, + "generated_tokens": 64, + "prompt_tps": 2864.5908216090693, + "prompt_tps_source": "engine", + "decode_tps": 186.8598936381621, + "decode_tps_source": "engine", + "prompt_ms": 1008.521, + "decode_ms": 337.151, + "drafts_offered": 49, + "drafts_accepted": 40, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.284, + "total_s": 0.446, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 645, + "generated_tokens": 32, + "prompt_tps": 2378.5027601694824, + "prompt_tps_source": "engine", + "decode_tps": 197.43823885090947, + "decode_tps_source": "engine", + "prompt_ms": 271.179, + "decode_ms": 162.076, + "drafts_offered": 18, + "drafts_accepted": 14, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.109, + "total_s": 1.357, + "prompt_tokens": null, + "reused_tokens": 677, + "read_tokens": 3559, + "generated_tokens": 47, + "prompt_tps": 3287.2678638393145, + "prompt_tps_source": "engine", + "decode_tps": 189.64383274220947, + "decode_tps_source": "engine", + "prompt_ms": 1082.662, + "decode_ms": 247.833, + "drafts_offered": 29, + "drafts_accepted": 22, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.518, + "total_s": 0.799, + "prompt_tokens": null, + "reused_tokens": 4283, + "read_tokens": 1597, + "generated_tokens": 56, + "prompt_tps": 3313.3330013776163, + "prompt_tps_source": "engine", + "decode_tps": 199.32656097613062, + "decode_tps_source": "engine", + "prompt_ms": 481.992, + "decode_ms": 280.946, + "drafts_offered": 38, + "drafts_accepted": 31, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.196, + "total_s": 1.458, + "prompt_tokens": null, + "reused_tokens": 5936, + "read_tokens": 3372, + "generated_tokens": 48, + "prompt_tps": 2937.8657085205077, + "prompt_tps_source": "engine", + "decode_tps": 183.46519894507512, + "decode_tps_source": "engine", + "prompt_ms": 1147.772, + "decode_ms": 261.63, + "drafts_offered": 31, + "drafts_accepted": 25, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.026, + "total_s": 1.284, + "prompt_tokens": null, + "reused_tokens": 9356, + "read_tokens": 2922, + "generated_tokens": 50, + "prompt_tps": 3034.283667101075, + "prompt_tps_source": "engine", + "decode_tps": 194.96749891793039, + "decode_tps_source": "engine", + "prompt_ms": 962.995, + "decode_ms": 256.453, + "drafts_offered": 39, + "drafts_accepted": 32, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.072, + "total_s": 1.422, + "prompt_tokens": null, + "reused_tokens": 12328, + "read_tokens": 2889, + "generated_tokens": 59, + "prompt_tps": 2892.2248306862152, + "prompt_tps_source": "engine", + "decode_tps": 169.36551086666344, + "decode_tps_source": "engine", + "prompt_ms": 998.885, + "decode_ms": 348.359, + "drafts_offered": 40, + "drafts_accepted": 31, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 3254100.0, + "min": 3253300.0, + "max": 3258000.0, + "n": 3 + }, + "reread_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + }, + "new_tokens": { + "median": 14339, + "min": 14339, + "max": 14339, + "n": 3 + }, + "turn_ttft_s": { + "median": 1.069, + "min": 0.518, + "max": 1.198, + "n": 15 + }, + "last_turn_prompt_tokens": null, + "turn_decode_tps": { + "median": 186.86, + "min": 169.366, + "max": 202.841, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 0.285, + "min": 0.284, + "max": 0.286, + "n": 3 + } + }, + "clients": {}, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + } +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/complete.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/complete.json new file mode 100644 index 0000000..f8bb29f --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/complete.json @@ -0,0 +1,5 @@ +{ + "complete": true, + "bench_seconds": 44.7689471244812, + "finished_utc": "2026-10-18T06:37:21Z" +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/expert-profile.txt b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/expert-profile.txt new file mode 100644 index 0000000..e70f5f2 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/expert-profile.txt @@ -0,0 +1,10442 @@ +0 0 872 +0 1 5262 +0 2 3036 +0 3 5403 +0 4 469 +0 5 7155 +0 6 3297 +0 7 1113 +0 8 4200 +0 9 1497 +0 10 3066 +0 11 4391 +0 12 5053 +0 13 56284 +0 14 2292 +0 15 1539 +0 16 1242 +0 17 1266 +0 18 4183 +0 19 8668 +0 20 42785 +0 21 1673 +0 22 2151 +0 23 1414 +0 24 2719 +0 25 5455 +0 26 2515 +0 27 1991 +0 28 6577 +0 29 5438 +0 30 1853 +0 31 24582 +0 32 3656 +0 33 1360 +0 34 3731 +0 35 2535 +0 36 2561 +0 37 2201 +0 38 1779 +0 39 3352 +0 40 1995 +0 41 2576 +0 42 4327 +0 43 1371 +0 44 1817 +0 45 5306 +0 46 1560 +0 47 29693 +0 48 6925 +0 49 1948 +0 50 2388 +0 51 2599 +0 52 3003 +0 53 1341 +0 54 4071 +0 55 15820 +0 56 2404 +0 57 5855 +0 58 4118 +0 59 9544 +0 60 8545 +0 61 2753 +0 62 8396 +0 63 1530 +0 64 1196 +0 65 3368 +0 66 3881 +0 67 7876 +0 68 3601 +0 69 3517 +0 70 4818 +0 71 322 +0 72 1298 +0 73 313 +0 74 10045 +0 75 11738 +0 76 1449 +0 77 1261 +0 78 2597 +0 79 5567 +0 80 1797 +0 81 2441 +0 82 2816 +0 83 5839 +0 84 1244 +0 85 1782 +0 86 1750 +0 87 3256 +0 88 2691 +0 89 2261 +0 90 838 +0 91 2208 +0 92 2158 +0 93 1304 +0 94 2688 +0 95 1345 +0 96 1839 +0 97 2221 +0 98 5718 +0 99 1058 +0 100 4801 +0 101 5733 +0 102 1752 +0 103 2412 +0 104 3702 +0 105 3198 +0 106 3450 +0 107 3658 +0 108 7099 +0 109 3363 +0 110 4687 +0 111 1946 +0 112 1127 +0 113 2455 +0 114 1689 +0 115 6281 +0 116 5192 +0 117 3281 +0 118 1287 +0 119 2819 +0 120 4532 +0 121 2439 +0 122 2656 +0 123 3858 +0 124 2727 +0 125 3074 +0 126 834 +0 127 1898 +0 128 5505 +0 129 4289 +0 130 4479 +0 131 4240 +0 132 1162 +0 133 543 +0 134 2962 +0 135 5608 +0 136 3394 +0 137 770 +0 138 2666 +0 139 4188 +0 140 1452 +0 141 1083 +0 142 2329 +0 143 954 +0 144 3486 +0 145 1955 +0 146 3381 +0 147 1099 +0 148 2214 +0 149 1989 +0 150 2538 +0 151 3375 +0 152 19507 +0 153 2134 +0 154 4676 +0 155 410 +0 156 3689 +0 157 5789 +0 158 579 +0 159 12996 +0 160 3193 +0 161 998 +0 162 1709 +0 163 22763 +0 164 2848 +0 165 3788 +0 166 3241 +0 167 2118 +0 168 3354 +0 169 763 +0 170 4398 +0 171 2900 +0 172 2184 +0 173 2245 +0 174 4300 +0 175 2137 +0 176 1822 +0 177 19935 +0 178 30063 +0 179 3657 +0 180 3137 +0 181 5202 +0 182 4473 +0 183 4445 +0 184 165 +0 185 3258 +0 186 2176 +0 187 3086 +0 188 5029 +0 189 3653 +0 190 3118 +0 191 4911 +0 192 6888 +0 193 739 +0 194 2343 +0 195 9699 +0 196 3127 +0 197 2834 +0 198 5079 +0 199 807 +0 200 825 +0 201 1963 +0 202 753 +0 203 24027 +0 204 2071 +0 205 3367 +0 206 2495 +0 207 3965 +0 208 5435 +0 209 2324 +0 210 2261 +0 211 3209 +0 212 3056 +0 213 4001 +0 214 3744 +0 215 1004 +0 216 4810 +0 217 33544 +0 218 2766 +0 219 4484 +0 220 5026 +0 221 3741 +0 222 4100 +0 223 2488 +0 224 4766 +0 225 1712 +0 226 2767 +0 227 582 +0 228 1119 +0 229 2683 +0 230 15591 +0 231 11827 +0 232 2053 +0 233 2218 +0 234 3253 +0 235 1034 +0 236 3014 +0 237 3110 +0 238 3081 +0 239 2086 +0 240 5828 +0 241 3095 +0 242 2807 +0 243 1262 +0 244 1515 +0 245 6678 +0 246 3977 +0 247 1997 +0 248 1378 +0 249 3308 +0 250 2146 +0 251 2504 +0 252 4816 +0 253 950 +0 254 6111 +0 255 3455 +1 0 33014 +1 1 5858 +1 2 3204 +1 3 3280 +1 4 7153 +1 5 5682 +1 6 4412 +1 7 7202 +1 8 2635 +1 9 2082 +1 10 1588 +1 11 6661 +1 12 1456 +1 13 4094 +1 14 5445 +1 15 6592 +1 16 1864 +1 17 2703 +1 18 253 +1 19 2052 +1 20 257 +1 21 8619 +1 22 3916 +1 23 10010 +1 24 4677 +1 25 542 +1 26 3383 +1 27 3099 +1 28 2297 +1 29 2616 +1 30 2080 +1 31 1280 +1 32 1781 +1 33 8400 +1 34 2775 +1 35 2171 +1 36 453 +1 37 7376 +1 38 384 +1 39 7616 +1 40 3667 +1 41 6414 +1 42 3418 +1 43 4839 +1 44 3639 +1 45 3346 +1 46 4128 +1 47 3906 +1 48 3170 +1 49 9481 +1 50 3108 +1 51 17530 +1 52 7754 +1 53 2120 +1 54 1226 +1 55 255 +1 56 4250 +1 57 769 +1 58 792 +1 59 3787 +1 60 5389 +1 61 10917 +1 62 2635 +1 63 5380 +1 64 3358 +1 65 590 +1 66 3883 +1 67 751 +1 68 14217 +1 69 2447 +1 70 21748 +1 71 5526 +1 72 8487 +1 73 3085 +1 74 161 +1 75 10064 +1 76 10546 +1 77 4574 +1 78 950 +1 79 2423 +1 80 25077 +1 81 2320 +1 82 2090 +1 83 4420 +1 84 2681 +1 85 3557 +1 86 6804 +1 87 6127 +1 88 3900 +1 89 2141 +1 90 6009 +1 91 4695 +1 92 2000 +1 93 1871 +1 94 1731 +1 95 2727 +1 96 2850 +1 97 3222 +1 98 3599 +1 99 316 +1 100 8409 +1 101 4988 +1 102 963 +1 103 1387 +1 104 2469 +1 105 15140 +1 106 806 +1 107 4625 +1 108 2341 +1 109 7563 +1 110 1586 +1 111 2621 +1 112 2001 +1 113 4673 +1 114 6328 +1 115 650 +1 116 5522 +1 117 517 +1 118 235 +1 119 3701 +1 120 1215 +1 121 1663 +1 122 249 +1 123 41705 +1 124 3939 +1 125 49560 +1 126 1884 +1 127 2371 +1 128 3834 +1 129 256 +1 130 540 +1 131 2999 +1 132 6050 +1 133 4452 +1 134 4117 +1 135 2115 +1 136 628 +1 137 6440 +1 138 4183 +1 139 5715 +1 140 4937 +1 141 12461 +1 142 980 +1 143 4142 +1 144 5178 +1 145 3931 +1 146 3472 +1 147 332 +1 148 2261 +1 149 1769 +1 150 3889 +1 151 7976 +1 152 1944 +1 153 6624 +1 154 3232 +1 155 1062 +1 156 1061 +1 157 2252 +1 158 3758 +1 159 985 +1 160 1438 +1 161 235 +1 162 3935 +1 163 9745 +1 164 8956 +1 165 8473 +1 166 4126 +1 167 5971 +1 168 1347 +1 169 2868 +1 170 1576 +1 171 2466 +1 172 434 +1 173 7392 +1 174 13914 +1 175 2543 +1 176 340 +1 177 2784 +1 178 2775 +1 179 1887 +1 180 1978 +1 181 1764 +1 182 6610 +1 183 3109 +1 184 70 +1 185 2093 +1 186 4838 +1 187 4970 +1 188 1054 +1 189 2262 +1 190 4272 +1 191 5766 +1 192 6883 +1 193 5812 +1 194 816 +1 195 1113 +1 196 341 +1 197 699 +1 198 9256 +1 199 4081 +1 200 1219 +1 201 827 +1 202 1800 +1 203 2164 +1 204 7605 +1 205 3309 +1 206 5617 +1 207 2879 +1 208 10742 +1 209 2674 +1 210 313 +1 211 57 +1 212 1475 +1 213 841 +1 214 2358 +1 215 8775 +1 216 1498 +1 217 1545 +1 218 599 +1 219 7494 +1 220 3584 +1 221 2350 +1 222 3214 +1 223 3221 +1 224 619 +1 225 2662 +1 226 2995 +1 227 1943 +1 228 7054 +1 229 188 +1 230 1982 +1 231 2993 +1 232 17624 +1 233 461 +1 234 2855 +1 235 8721 +1 236 4485 +1 237 3752 +1 238 2113 +1 239 2508 +1 240 7312 +1 241 2503 +1 242 2568 +1 243 9002 +1 244 2138 +1 245 794 +1 246 4243 +1 247 819 +1 248 158 +1 249 71 +1 250 2514 +1 251 5897 +1 252 5869 +1 253 4935 +1 254 5251 +1 255 8064 +2 0 3055 +2 1 2549 +2 2 2203 +2 3 5085 +2 4 5153 +2 5 3641 +2 6 249 +2 7 3847 +2 8 4000 +2 9 9594 +2 10 3476 +2 11 2622 +2 12 5313 +2 13 2753 +2 14 2001 +2 15 1551 +2 16 2747 +2 17 3782 +2 18 1777 +2 19 3291 +2 20 1920 +2 21 2365 +2 22 3239 +2 23 3583 +2 24 4150 +2 25 1785 +2 26 5780 +2 27 6560 +2 28 8272 +2 29 2514 +2 30 4226 +2 31 4049 +2 32 730 +2 33 8772 +2 34 2916 +2 35 5679 +2 36 4367 +2 37 3228 +2 38 2201 +2 39 3821 +2 40 9023 +2 41 1619 +2 42 6224 +2 43 2986 +2 44 6570 +2 45 3846 +2 46 5398 +2 47 2973 +2 48 1989 +2 49 939 +2 50 14763 +2 51 7315 +2 52 5053 +2 53 2201 +2 54 1494 +2 55 1491 +2 56 8060 +2 57 1733 +2 58 3762 +2 59 4208 +2 60 3577 +2 61 14970 +2 62 2046 +2 63 762 +2 64 2499 +2 65 7348 +2 66 1846 +2 67 6493 +2 68 804 +2 69 2913 +2 70 4598 +2 71 3513 +2 72 1721 +2 73 2247 +2 74 4742 +2 75 889 +2 76 4774 +2 77 3023 +2 78 8539 +2 79 58022 +2 80 1685 +2 81 2044 +2 82 11135 +2 83 2207 +2 84 3102 +2 85 928 +2 86 1375 +2 87 4942 +2 88 6117 +2 89 4935 +2 90 16837 +2 91 3154 +2 92 2830 +2 93 2843 +2 94 1985 +2 95 2955 +2 96 4097 +2 97 3584 +2 98 1155 +2 99 1989 +2 100 7331 +2 101 1082 +2 102 1968 +2 103 9247 +2 104 2495 +2 105 2307 +2 106 2117 +2 107 5454 +2 108 2872 +2 109 4408 +2 110 3851 +2 111 8620 +2 112 2428 +2 113 5390 +2 114 3856 +2 115 2004 +2 116 1825 +2 117 2197 +2 118 1372 +2 119 1984 +2 120 2075 +2 121 4140 +2 122 2046 +2 123 1912 +2 124 1562 +2 125 5132 +2 126 2810 +2 127 1543 +2 128 1508 +2 129 1007 +2 130 4091 +2 131 3274 +2 132 4235 +2 133 3950 +2 134 3234 +2 135 1989 +2 136 1834 +2 137 1726 +2 138 6261 +2 139 3459 +2 140 5729 +2 141 3377 +2 142 1440 +2 143 3367 +2 144 1167 +2 145 3673 +2 146 12845 +2 147 2178 +2 148 4389 +2 149 1901 +2 150 3150 +2 151 8952 +2 152 2720 +2 153 3370 +2 154 2444 +2 155 10363 +2 156 2015 +2 157 13930 +2 158 13795 +2 159 2133 +2 160 3971 +2 161 3464 +2 162 4164 +2 163 2797 +2 164 15303 +2 165 8594 +2 166 5328 +2 167 1856 +2 168 7602 +2 169 9976 +2 170 3580 +2 171 6894 +2 172 4154 +2 173 4302 +2 174 4079 +2 175 5512 +2 176 2517 +2 177 2884 +2 178 2013 +2 179 1668 +2 180 9863 +2 181 5802 +2 182 6393 +2 183 5038 +2 184 6225 +2 185 4511 +2 186 4642 +2 187 9206 +2 188 9957 +2 189 2845 +2 190 4701 +2 191 2264 +2 192 3532 +2 193 2066 +2 194 2397 +2 195 318 +2 196 3672 +2 197 5212 +2 198 2733 +2 199 1684 +2 200 2628 +2 201 3676 +2 202 5225 +2 203 3745 +2 204 6333 +2 205 2874 +2 206 10033 +2 207 17579 +2 208 867 +2 209 2829 +2 210 8287 +2 211 1449 +2 212 2645 +2 213 7799 +2 214 3987 +2 215 2965 +2 216 12472 +2 217 1659 +2 218 4890 +2 219 12680 +2 220 5471 +2 221 4089 +2 222 8742 +2 223 3465 +2 224 1334 +2 225 5142 +2 226 2729 +2 227 2032 +2 228 3030 +2 229 1761 +2 230 2656 +2 231 971 +2 232 2021 +2 233 1901 +2 234 2811 +2 235 2331 +2 236 3071 +2 237 1865 +2 238 6057 +2 239 4028 +2 240 2769 +2 241 5677 +2 242 2940 +2 243 3380 +2 244 3682 +2 245 4206 +2 246 2295 +2 247 2511 +2 248 2828 +2 249 4469 +2 250 6699 +2 251 3512 +2 252 3446 +2 253 1906 +2 254 3101 +2 255 2239 +3 0 6766 +3 1 3986 +3 2 6070 +3 3 8176 +3 4 5548 +3 5 7236 +3 6 22451 +3 7 12148 +3 8 1092 +3 9 4784 +3 10 579 +3 11 593 +3 12 7054 +3 13 2551 +3 14 1783 +3 15 4193 +3 16 8082 +3 17 2409 +3 18 10167 +3 19 3706 +3 20 2061 +3 21 5847 +3 22 8237 +3 23 19761 +3 24 116 +3 25 6199 +3 26 3531 +3 27 4458 +3 28 3456 +3 29 3595 +3 30 16008 +3 31 4574 +3 32 2590 +3 33 4742 +3 34 996 +3 35 716 +3 36 19967 +3 37 7125 +3 38 2141 +3 39 1434 +3 40 11644 +3 41 2101 +3 42 2624 +3 43 7838 +3 44 6178 +3 45 7095 +3 46 2815 +3 47 286 +3 48 1433 +3 49 1826 +3 50 3581 +3 51 6018 +3 52 1802 +3 53 5738 +3 54 7751 +3 55 7372 +3 56 5465 +3 57 1366 +3 58 3289 +3 59 2957 +3 60 1862 +3 61 3897 +3 62 2080 +3 63 18346 +3 64 1300 +3 65 3366 +3 66 4266 +3 67 1466 +3 68 2800 +3 69 1901 +3 70 4048 +3 71 268 +3 72 3034 +3 73 3363 +3 74 363 +3 75 3434 +3 76 3366 +3 77 758 +3 78 3578 +3 79 1549 +3 80 101 +3 81 1507 +3 82 509 +3 83 1874 +3 84 3432 +3 85 3002 +3 86 3031 +3 87 9159 +3 88 54 +3 89 5315 +3 90 6882 +3 91 1154 +3 92 3551 +3 93 499 +3 94 2074 +3 95 5144 +3 96 651 +3 97 2341 +3 98 1558 +3 99 927 +3 100 2359 +3 101 4586 +3 102 2295 +3 103 1483 +3 104 101 +3 105 6923 +3 106 4600 +3 107 2324 +3 108 56838 +3 109 1132 +3 110 1623 +3 111 1718 +3 112 943 +3 113 328 +3 114 3107 +3 115 5749 +3 116 2629 +3 117 1874 +3 118 5525 +3 119 1816 +3 120 245 +3 121 2951 +3 122 516 +3 123 5767 +3 124 5796 +3 125 186 +3 126 1702 +3 127 4119 +3 128 1026 +3 129 5236 +3 130 1386 +3 131 2190 +3 132 5920 +3 133 2004 +3 134 2188 +3 135 2145 +3 136 178 +3 137 3066 +3 138 9239 +3 139 1819 +3 140 1798 +3 141 303 +3 142 2097 +3 143 1614 +3 144 52 +3 145 2276 +3 146 9800 +3 147 2735 +3 148 4516 +3 149 224 +3 150 4095 +3 151 845 +3 152 2269 +3 153 4959 +3 154 5646 +3 155 3238 +3 156 2257 +3 157 2632 +3 158 8658 +3 159 2293 +3 160 14270 +3 161 7041 +3 162 1430 +3 163 7731 +3 164 1285 +3 165 950 +3 166 5294 +3 167 5088 +3 168 2193 +3 169 2337 +3 170 2453 +3 171 2121 +3 172 41 +3 173 1753 +3 174 11260 +3 175 2802 +3 176 193 +3 177 1045 +3 178 1500 +3 179 6566 +3 180 18481 +3 181 887 +3 182 7945 +3 183 986 +3 184 705 +3 185 875 +3 186 1799 +3 187 2075 +3 188 2719 +3 189 3125 +3 190 1394 +3 191 12773 +3 192 1687 +3 193 1466 +3 194 3897 +3 195 5924 +3 196 6861 +3 197 42069 +3 198 620 +3 199 1510 +3 200 3761 +3 201 6474 +3 202 3751 +3 203 1611 +3 204 2700 +3 205 2422 +3 206 10147 +3 207 2077 +3 208 771 +3 209 13604 +3 210 1223 +3 211 6623 +3 212 399 +3 213 3159 +3 214 4309 +3 215 5099 +3 216 2804 +3 217 4636 +3 218 2044 +3 219 1555 +3 220 782 +3 221 2884 +3 222 2274 +3 223 3179 +3 224 2181 +3 225 2801 +3 226 6408 +3 227 4874 +3 228 3785 +3 229 3249 +3 230 3476 +3 231 1791 +3 232 2504 +3 233 3309 +3 234 1200 +3 235 2203 +3 236 3015 +3 237 2632 +3 238 8136 +3 239 8702 +3 240 1355 +3 241 14928 +3 242 1813 +3 243 2961 +3 244 3585 +3 245 7794 +3 246 3749 +3 247 5810 +3 248 619 +3 249 7120 +3 250 1329 +3 251 30724 +3 252 5287 +3 253 4731 +3 254 8830 +3 255 2564 +4 0 1042 +4 1 19369 +4 2 2064 +4 3 11942 +4 4 3412 +4 5 1406 +4 6 1315 +4 7 2043 +4 8 3794 +4 9 3207 +4 10 6911 +4 11 8540 +4 12 3324 +4 13 3051 +4 14 5189 +4 15 5287 +4 16 1779 +4 17 2512 +4 18 4865 +4 19 1525 +4 20 1433 +4 21 2768 +4 22 1379 +4 23 4537 +4 24 6355 +4 25 2809 +4 26 576 +4 27 6075 +4 28 3903 +4 29 4968 +4 30 2359 +4 31 1394 +4 32 14850 +4 33 529 +4 34 154 +4 35 10387 +4 36 19170 +4 37 2373 +4 38 3366 +4 39 5978 +4 40 144 +4 41 321 +4 42 3360 +4 43 3720 +4 44 6898 +4 45 2253 +4 46 223 +4 47 195 +4 48 1773 +4 49 4009 +4 50 912 +4 51 2740 +4 52 876 +4 53 907 +4 54 449 +4 55 4156 +4 56 2145 +4 57 225 +4 58 1071 +4 59 1592 +4 60 559 +4 61 2868 +4 62 1368 +4 63 13107 +4 64 1912 +4 65 5868 +4 66 1807 +4 67 3667 +4 68 2405 +4 69 1370 +4 70 3037 +4 71 4249 +4 72 2101 +4 73 402 +4 74 3237 +4 75 11679 +4 76 6638 +4 77 6 +4 78 11650 +4 79 2305 +4 80 5291 +4 81 921 +4 82 8840 +4 83 2293 +4 84 5482 +4 85 5279 +4 86 60 +4 87 4101 +4 88 4629 +4 89 3804 +4 90 4656 +4 91 4172 +4 92 1033 +4 93 1114 +4 94 3501 +4 95 892 +4 96 2455 +4 97 4153 +4 98 2873 +4 99 908 +4 100 4513 +4 101 1532 +4 102 3411 +4 103 6338 +4 104 1278 +4 105 2848 +4 106 1311 +4 107 1519 +4 108 3440 +4 109 957 +4 110 1971 +4 111 2230 +4 112 2362 +4 113 1350 +4 114 344 +4 115 2256 +4 116 17446 +4 117 17889 +4 118 6071 +4 119 1494 +4 120 3097 +4 121 32702 +4 122 2655 +4 123 4194 +4 124 177 +4 125 1152 +4 126 2653 +4 127 4179 +4 128 1699 +4 129 12669 +4 130 1980 +4 131 5262 +4 132 2574 +4 133 4184 +4 134 913 +4 135 4605 +4 136 1494 +4 137 4305 +4 138 5430 +4 139 4963 +4 140 449 +4 141 4557 +4 142 3214 +4 143 389 +4 144 2485 +4 145 2309 +4 146 3848 +4 147 7316 +4 148 39302 +4 149 5470 +4 150 2350 +4 151 3474 +4 152 11753 +4 153 1650 +4 154 2754 +4 155 1658 +4 156 1370 +4 157 8664 +4 158 761 +4 159 2022 +4 160 15010 +4 161 2238 +4 162 1091 +4 163 3288 +4 164 4403 +4 165 2567 +4 166 12022 +4 167 5270 +4 168 2477 +4 169 55251 +4 170 5980 +4 171 2493 +4 172 1290 +4 173 972 +4 174 848 +4 175 10456 +4 176 2264 +4 177 93 +4 178 2525 +4 179 1804 +4 180 8061 +4 181 1586 +4 182 5695 +4 183 5768 +4 184 4437 +4 185 1595 +4 186 1093 +4 187 266 +4 188 1604 +4 189 3789 +4 190 5098 +4 191 1825 +4 192 2158 +4 193 1467 +4 194 5867 +4 195 1268 +4 196 7633 +4 197 19274 +4 198 2024 +4 199 1411 +4 200 4430 +4 201 734 +4 202 5539 +4 203 32754 +4 204 738 +4 205 559 +4 206 9392 +4 207 88 +4 208 236 +4 209 1028 +4 210 10716 +4 211 2449 +4 212 13647 +4 213 2516 +4 214 1013 +4 215 2665 +4 216 3593 +4 217 1293 +4 218 162 +4 219 5998 +4 220 537 +4 221 10987 +4 222 3951 +4 223 1391 +4 224 1229 +4 225 585 +4 226 3708 +4 227 2092 +4 228 3306 +4 229 4050 +4 230 1385 +4 231 1337 +4 232 1014 +4 233 9931 +4 234 1560 +4 235 796 +4 236 2062 +4 237 174 +4 238 6247 +4 239 2196 +4 240 7252 +4 241 3729 +4 242 4418 +4 243 4672 +4 244 15524 +4 245 2395 +4 246 2541 +4 247 3821 +4 248 2274 +4 249 10013 +4 250 3145 +4 251 2078 +4 252 2348 +4 253 4301 +4 254 1635 +4 255 16422 +5 0 16666 +5 1 531 +5 2 1530 +5 3 4890 +5 4 2116 +5 5 13415 +5 6 2812 +5 7 16108 +5 8 8802 +5 9 869 +5 10 5321 +5 11 1972 +5 12 2080 +5 13 2947 +5 14 3735 +5 15 2672 +5 16 445 +5 17 1286 +5 18 4888 +5 19 4719 +5 20 2106 +5 21 1015 +5 22 4281 +5 23 3289 +5 24 2253 +5 25 3875 +5 26 342 +5 27 2104 +5 28 432 +5 29 1071 +5 30 7885 +5 31 4966 +5 32 1693 +5 33 1253 +5 34 467 +5 35 193 +5 36 1055 +5 37 346 +5 38 5132 +5 39 136 +5 40 893 +5 41 2430 +5 42 3155 +5 43 1703 +5 44 4284 +5 45 10255 +5 46 4031 +5 47 2843 +5 48 36469 +5 49 1500 +5 50 1369 +5 51 1965 +5 52 1664 +5 53 6327 +5 54 1511 +5 55 528 +5 56 4123 +5 57 1294 +5 58 10101 +5 59 8515 +5 60 20177 +5 61 2710 +5 62 1172 +5 63 1664 +5 64 20084 +5 65 5936 +5 66 163 +5 67 3041 +5 68 3104 +5 69 2117 +5 70 4517 +5 71 3456 +5 72 2599 +5 73 876 +5 74 1146 +5 75 13520 +5 76 3874 +5 77 5831 +5 78 1647 +5 79 745 +5 80 2557 +5 81 6231 +5 82 810 +5 83 2317 +5 84 2993 +5 85 1474 +5 86 5356 +5 87 10136 +5 88 1652 +5 89 6243 +5 90 3305 +5 91 7107 +5 92 81 +5 93 127 +5 94 1740 +5 95 3554 +5 96 128 +5 97 459 +5 98 6353 +5 99 7967 +5 100 2475 +5 101 224 +5 102 29403 +5 103 4168 +5 104 3752 +5 105 355 +5 106 2696 +5 107 1313 +5 108 573 +5 109 3352 +5 110 869 +5 111 439 +5 112 4424 +5 113 1049 +5 114 3972 +5 115 1177 +5 116 2789 +5 117 311 +5 118 634 +5 119 123 +5 120 1249 +5 121 828 +5 122 29663 +5 123 4979 +5 124 704 +5 125 305 +5 126 137 +5 127 2327 +5 128 1215 +5 129 451 +5 130 1220 +5 131 3750 +5 132 2352 +5 133 11616 +5 134 2286 +5 135 1181 +5 136 4099 +5 137 5361 +5 138 9163 +5 139 16425 +5 140 229 +5 141 622 +5 142 8116 +5 143 2823 +5 144 1376 +5 145 1032 +5 146 4911 +5 147 2695 +5 148 4170 +5 149 986 +5 150 3132 +5 151 3351 +5 152 1637 +5 153 19415 +5 154 83 +5 155 2719 +5 156 6095 +5 157 7052 +5 158 2890 +5 159 1346 +5 160 1266 +5 161 2886 +5 162 5162 +5 163 18327 +5 164 4594 +5 165 3807 +5 166 1112 +5 167 6686 +5 168 109 +5 169 1952 +5 170 15345 +5 171 11794 +5 172 3269 +5 173 16259 +5 174 4253 +5 175 10068 +5 176 1671 +5 177 61871 +5 178 3551 +5 179 2097 +5 180 747 +5 181 11227 +5 182 1070 +5 183 405 +5 184 1183 +5 185 398 +5 186 5380 +5 187 1495 +5 188 4004 +5 189 2272 +5 190 1938 +5 191 1102 +5 192 1064 +5 193 2421 +5 194 457 +5 195 3799 +5 196 2323 +5 197 6531 +5 198 1788 +5 199 96 +5 200 1750 +5 201 1238 +5 202 5952 +5 203 8287 +5 204 2967 +5 205 1020 +5 206 1131 +5 207 2354 +5 208 9940 +5 209 2494 +5 210 27433 +5 211 458 +5 212 955 +5 213 8025 +5 214 3611 +5 215 2283 +5 216 644 +5 217 6242 +5 218 4074 +5 219 6985 +5 220 2349 +5 221 206 +5 222 2499 +5 223 2041 +5 224 2826 +5 225 2792 +5 226 216 +5 227 1574 +5 228 10287 +5 229 1223 +5 230 2040 +5 231 3683 +5 232 16829 +5 233 154 +5 234 1225 +5 235 3386 +5 236 3239 +5 237 1338 +5 238 5008 +5 239 6080 +5 240 2736 +5 241 503 +5 242 26332 +5 243 2792 +5 244 2385 +5 245 10111 +5 246 969 +5 247 959 +5 248 2611 +5 249 4577 +5 250 2236 +5 251 1515 +5 252 4523 +5 253 1858 +5 254 2676 +5 255 5644 +6 0 24 +6 1 107 +6 2 3236 +6 3 5380 +6 4 3790 +6 5 2651 +6 6 18 +6 7 721 +6 8 10732 +6 9 1618 +6 10 7040 +6 11 3102 +6 12 8172 +6 13 566 +6 14 5166 +6 15 419 +6 16 3670 +6 17 2938 +6 18 3559 +6 19 6493 +6 20 49 +6 21 1528 +6 22 3589 +6 23 1074 +6 24 590 +6 25 7902 +6 26 5286 +6 27 6023 +6 28 735 +6 29 14672 +6 30 299 +6 31 4169 +6 32 897 +6 33 12334 +6 34 10683 +6 35 879 +6 36 701 +6 37 12073 +6 38 270 +6 39 5922 +6 40 1424 +6 41 1779 +6 42 5249 +6 43 4065 +6 44 1344 +6 45 1071 +6 46 914 +6 47 1328 +6 48 176 +6 49 1720 +6 50 4323 +6 51 8017 +6 52 2649 +6 53 1444 +6 54 5245 +6 55 386 +6 56 4565 +6 57 3703 +6 58 8136 +6 59 2384 +6 60 2021 +6 61 3329 +6 62 2435 +6 63 2552 +6 64 872 +6 65 1403 +6 66 46 +6 67 540 +6 68 39461 +6 69 736 +6 70 21732 +6 71 20106 +6 72 13363 +6 73 3141 +6 74 7878 +6 75 1455 +6 76 1952 +6 77 2811 +6 78 2377 +6 79 4828 +6 80 4302 +6 81 1829 +6 82 1879 +6 83 454 +6 84 2041 +6 85 2528 +6 86 1728 +6 87 689 +6 88 684 +6 89 1247 +6 90 3301 +6 91 1830 +6 92 4113 +6 93 380 +6 94 291 +6 95 747 +6 96 2655 +6 97 1688 +6 98 1808 +6 99 598 +6 100 4033 +6 101 1262 +6 102 31493 +6 103 10225 +6 104 13956 +6 105 991 +6 106 15521 +6 107 541 +6 108 16345 +6 109 464 +6 110 1973 +6 111 3606 +6 112 1379 +6 113 11047 +6 114 7326 +6 115 282 +6 116 2423 +6 117 3893 +6 118 2492 +6 119 2946 +6 120 2262 +6 121 210 +6 122 1812 +6 123 2741 +6 124 1183 +6 125 7444 +6 126 3297 +6 127 5712 +6 128 2202 +6 129 2511 +6 130 401 +6 131 8247 +6 132 202 +6 133 1307 +6 134 212 +6 135 9976 +6 136 3481 +6 137 1677 +6 138 2267 +6 139 4825 +6 140 3270 +6 141 566 +6 142 2603 +6 143 54577 +6 144 4061 +6 145 798 +6 146 1352 +6 147 845 +6 148 764 +6 149 5724 +6 150 176 +6 151 1982 +6 152 1743 +6 153 3830 +6 154 1391 +6 155 578 +6 156 5120 +6 157 2286 +6 158 374 +6 159 11492 +6 160 1912 +6 161 2924 +6 162 1297 +6 163 6646 +6 164 3525 +6 165 6598 +6 166 4664 +6 167 6064 +6 168 30792 +6 169 8457 +6 170 2149 +6 171 1446 +6 172 591 +6 173 6108 +6 174 1633 +6 175 2296 +6 176 867 +6 177 7534 +6 178 2954 +6 179 5929 +6 180 506 +6 181 6954 +6 182 3972 +6 183 2473 +6 184 4352 +6 185 1595 +6 186 6358 +6 187 19372 +6 188 123 +6 189 1736 +6 190 5246 +6 191 18003 +6 192 952 +6 193 1257 +6 194 1744 +6 195 8312 +6 196 2595 +6 197 350 +6 198 742 +6 199 1159 +6 200 2118 +6 201 18960 +6 202 280 +6 203 4027 +6 204 4710 +6 205 411 +6 206 1225 +6 207 2392 +6 208 1207 +6 209 1103 +6 210 2343 +6 211 2698 +6 212 7246 +6 213 1428 +6 214 3122 +6 215 4780 +6 216 4896 +6 217 2817 +6 218 235 +6 219 8767 +6 220 1897 +6 221 2923 +6 222 1356 +6 223 8798 +6 224 18115 +6 225 1390 +6 226 3352 +6 227 3210 +6 228 27458 +6 229 170 +6 230 3463 +6 231 1436 +6 232 412 +6 233 2170 +6 234 158 +6 235 5001 +6 236 2289 +6 237 782 +6 238 23015 +6 239 2562 +6 240 877 +6 241 4344 +6 242 1678 +6 243 6041 +6 244 506 +6 245 1981 +6 246 14802 +6 247 1564 +6 248 1794 +6 249 696 +6 250 626 +6 251 454 +6 252 1201 +6 253 9944 +6 254 3245 +6 255 7570 +7 0 82 +7 1 41 +7 2 9732 +7 3 685 +7 4 4090 +7 5 352 +7 6 8173 +7 7 6426 +7 8 88 +7 9 1368 +7 10 958 +7 11 2167 +7 12 10830 +7 13 1475 +7 14 355 +7 15 561 +7 16 4561 +7 17 749 +7 18 672 +7 19 4139 +7 20 2073 +7 21 546 +7 22 2593 +7 23 674 +7 24 25283 +7 25 456 +7 26 47476 +7 27 11467 +7 28 82 +7 29 4335 +7 30 245 +7 31 7551 +7 32 3056 +7 33 312 +7 34 2755 +7 35 968 +7 36 2553 +7 37 1909 +7 38 7458 +7 39 3553 +7 40 4169 +7 41 488 +7 42 1002 +7 43 993 +7 44 4386 +7 45 242 +7 46 300 +7 47 503 +7 48 2644 +7 49 1355 +7 50 124 +7 51 672 +7 52 11560 +7 53 226 +7 54 574 +7 55 235 +7 56 2067 +7 57 2708 +7 58 610 +7 59 7122 +7 60 6813 +7 61 10521 +7 62 26855 +7 63 6264 +7 64 6015 +7 65 947 +7 66 4544 +7 67 63 +7 68 634 +7 69 74 +7 70 1492 +7 71 1147 +7 72 5387 +7 73 3490 +7 74 1809 +7 75 2387 +7 76 4414 +7 77 2072 +7 78 1510 +7 79 1103 +7 80 832 +7 81 6652 +7 82 19 +7 83 3260 +7 84 120 +7 85 2771 +7 86 1056 +7 87 92 +7 88 1322 +7 89 6658 +7 90 465 +7 91 4220 +7 92 2253 +7 93 3944 +7 94 43868 +7 95 26183 +7 96 670 +7 97 9 +7 98 1202 +7 99 560 +7 100 9629 +7 101 1632 +7 102 844 +7 103 545 +7 104 6856 +7 105 5666 +7 106 1377 +7 107 474 +7 108 11832 +7 109 2034 +7 110 5299 +7 111 9949 +7 112 3813 +7 113 1740 +7 114 1760 +7 115 142 +7 116 1024 +7 117 3798 +7 118 2324 +7 119 2929 +7 120 32249 +7 121 406 +7 122 872 +7 123 2463 +7 124 106 +7 125 3319 +7 126 718 +7 127 313 +7 128 909 +7 129 3427 +7 130 35248 +7 131 3845 +7 132 26105 +7 133 2980 +7 134 441 +7 135 1027 +7 136 1237 +7 137 3964 +7 138 6378 +7 139 1649 +7 140 1161 +7 141 1294 +7 142 583 +7 143 3021 +7 144 5159 +7 145 3513 +7 146 2247 +7 147 2261 +7 148 1165 +7 149 1190 +7 150 2659 +7 151 20478 +7 152 77 +7 153 254 +7 154 29629 +7 155 1537 +7 156 649 +7 157 2054 +7 158 4249 +7 159 1858 +7 160 528 +7 161 2912 +7 162 1041 +7 163 9433 +7 164 6940 +7 165 1366 +7 166 9720 +7 167 683 +7 168 255 +7 169 5372 +7 170 953 +7 171 1600 +7 172 459 +7 173 1528 +7 174 39493 +7 175 1556 +7 176 3064 +7 177 2141 +7 178 492 +7 179 832 +7 180 1344 +7 181 3054 +7 182 10523 +7 183 98 +7 184 6245 +7 185 5546 +7 186 3319 +7 187 17232 +7 188 522 +7 189 332 +7 190 594 +7 191 5323 +7 192 4441 +7 193 6154 +7 194 6335 +7 195 4523 +7 196 161 +7 197 1803 +7 198 5 +7 199 2855 +7 200 936 +7 201 3443 +7 202 3503 +7 203 13907 +7 204 1393 +7 205 904 +7 206 774 +7 207 12255 +7 208 5084 +7 209 1056 +7 210 510 +7 211 1057 +7 212 10814 +7 213 6181 +7 214 3418 +7 215 173 +7 216 1335 +7 217 320 +7 218 17072 +7 219 505 +7 220 10517 +7 221 1984 +7 222 309 +7 223 3808 +7 224 901 +7 225 17876 +7 226 77 +7 227 1615 +7 228 2078 +7 229 10789 +7 230 687 +7 231 651 +7 232 2697 +7 233 44 +7 234 24946 +7 235 1821 +7 236 6027 +7 237 3513 +7 238 757 +7 239 61 +7 240 3465 +7 241 1013 +7 242 1034 +7 243 6529 +7 244 10199 +7 245 610 +7 246 14342 +7 247 2144 +7 248 4711 +7 249 3499 +7 250 396 +7 251 426 +7 252 1523 +7 253 5753 +7 254 9928 +7 255 1726 +8 0 2429 +8 1 17225 +8 2 79 +8 3 12055 +8 4 4376 +8 5 59 +8 6 2992 +8 7 2134 +8 8 1001 +8 9 2202 +8 10 14416 +8 11 507 +8 12 624 +8 13 435 +8 14 162 +8 15 74 +8 16 4803 +8 17 1128 +8 18 917 +8 19 973 +8 20 539 +8 21 1737 +8 22 227 +8 23 3566 +8 24 3102 +8 25 216 +8 26 28936 +8 27 30 +8 28 88 +8 29 4566 +8 30 540 +8 31 98 +8 32 13995 +8 33 5508 +8 34 73 +8 35 3823 +8 36 4529 +8 37 996 +8 38 2201 +8 39 799 +8 40 8264 +8 41 39417 +8 42 15628 +8 43 53 +8 44 2396 +8 45 263 +8 46 1398 +8 47 5619 +8 48 339 +8 49 2040 +8 50 1049 +8 51 500 +8 52 365 +8 53 21691 +8 54 221 +8 55 49 +8 56 7799 +8 57 530 +8 58 453 +8 59 41153 +8 60 93 +8 61 5875 +8 62 925 +8 63 24397 +8 64 437 +8 65 5849 +8 66 1093 +8 67 157 +8 68 2123 +8 69 456 +8 70 579 +8 71 6690 +8 72 40624 +8 73 689 +8 74 250 +8 75 1871 +8 76 200 +8 77 76 +8 78 926 +8 79 1198 +8 80 1673 +8 81 1558 +8 82 454 +8 83 3762 +8 84 399 +8 85 9222 +8 86 11505 +8 87 91 +8 88 683 +8 89 5922 +8 90 196 +8 91 468 +8 92 741 +8 93 358 +8 94 3192 +8 95 4932 +8 96 203 +8 97 1137 +8 98 9798 +8 99 2135 +8 100 5797 +8 101 1090 +8 102 3684 +8 103 2346 +8 104 956 +8 105 417 +8 106 878 +8 107 2657 +8 108 2737 +8 109 149 +8 110 608 +8 111 817 +8 112 4261 +8 113 567 +8 114 1173 +8 115 5814 +8 116 1436 +8 117 32350 +8 118 263 +8 119 4555 +8 120 2164 +8 121 8702 +8 122 1392 +8 123 37140 +8 124 1191 +8 125 160 +8 126 437 +8 127 2899 +8 128 1595 +8 129 1680 +8 130 257 +8 131 145 +8 132 4144 +8 133 9693 +8 134 225 +8 135 8471 +8 136 436 +8 137 609 +8 138 739 +8 139 1288 +8 140 1298 +8 141 4472 +8 142 17708 +8 143 9872 +8 144 19493 +8 145 4474 +8 146 2112 +8 147 11295 +8 148 441 +8 149 952 +8 150 933 +8 151 34773 +8 152 58 +8 153 187 +8 154 686 +8 155 981 +8 156 531 +8 157 4680 +8 158 241 +8 159 1939 +8 160 816 +8 161 91 +8 162 2030 +8 163 674 +8 164 285 +8 165 3319 +8 166 74 +8 167 1560 +8 168 754 +8 169 69 +8 170 165 +8 171 3233 +8 172 2851 +8 173 721 +8 174 2150 +8 175 617 +8 176 2175 +8 177 210 +8 178 524 +8 179 2740 +8 180 358 +8 181 2853 +8 182 210 +8 183 806 +8 184 1794 +8 185 3059 +8 186 1315 +8 187 1549 +8 188 97 +8 189 7242 +8 190 104 +8 191 3676 +8 192 9009 +8 193 1671 +8 194 1142 +8 195 300 +8 196 3361 +8 197 908 +8 198 206 +8 199 580 +8 200 678 +8 201 3773 +8 202 1376 +8 203 2362 +8 204 1110 +8 205 10816 +8 206 33355 +8 207 4091 +8 208 3352 +8 209 371 +8 210 1350 +8 211 881 +8 212 500 +8 213 2466 +8 214 93 +8 215 14682 +8 216 15180 +8 217 1180 +8 218 747 +8 219 1937 +8 220 12644 +8 221 360 +8 222 216 +8 223 846 +8 224 36016 +8 225 4759 +8 226 1 +8 227 850 +8 228 663 +8 229 999 +8 230 982 +8 231 28721 +8 232 62573 +8 233 4026 +8 234 3070 +8 235 1420 +8 236 1583 +8 237 5510 +8 238 1017 +8 239 2696 +8 240 196 +8 241 199 +8 242 4184 +8 243 1306 +8 244 446 +8 245 4378 +8 246 858 +8 247 2341 +8 248 8587 +8 249 24955 +8 250 216 +8 251 1167 +8 252 13344 +8 253 2013 +8 254 542 +8 255 106 +9 0 214 +9 1 1748 +9 2 1804 +9 3 1121 +9 4 2183 +9 5 702 +9 6 2003 +9 7 278 +9 8 1331 +9 9 201 +9 10 230 +9 11 294 +9 12 902 +9 13 7417 +9 14 4990 +9 15 10807 +9 16 302 +9 17 1234 +9 18 1790 +9 19 4064 +9 20 467 +9 21 1906 +9 22 2694 +9 23 1373 +9 24 581 +9 25 977 +9 26 1682 +9 27 147 +9 28 71 +9 29 4459 +9 30 319 +9 31 22963 +9 32 5581 +9 33 139 +9 34 732 +9 35 5614 +9 36 1235 +9 37 985 +9 38 2184 +9 39 2372 +9 40 228 +9 41 183 +9 42 3249 +9 43 23667 +9 44 23578 +9 45 10439 +9 46 27 +9 47 1859 +9 48 14118 +9 49 11 +9 50 44 +9 51 1322 +9 52 44274 +9 53 3717 +9 54 6913 +9 55 911 +9 56 2180 +9 57 285 +9 58 925 +9 59 205 +9 60 2225 +9 61 22916 +9 62 12991 +9 63 2300 +9 64 33 +9 65 11886 +9 66 1606 +9 67 5646 +9 68 779 +9 69 4416 +9 70 326 +9 71 777 +9 72 1315 +9 73 4637 +9 74 1056 +9 75 40 +9 76 202 +9 77 2220 +9 78 3969 +9 79 359 +9 80 12145 +9 81 9350 +9 82 3572 +9 83 624 +9 84 51 +9 85 274 +9 86 4134 +9 87 436 +9 88 2497 +9 89 35 +9 90 295 +9 91 16695 +9 92 235 +9 93 117 +9 94 5688 +9 95 56419 +9 96 4582 +9 97 79 +9 98 9 +9 99 5629 +9 100 837 +9 101 5543 +9 102 161 +9 103 4335 +9 104 575 +9 105 53 +9 106 2124 +9 107 467 +9 108 1012 +9 109 1091 +9 110 42 +9 111 379 +9 112 1106 +9 113 339 +9 114 51 +9 115 4585 +9 116 1365 +9 117 15177 +9 118 1675 +9 119 132 +9 120 1557 +9 121 1640 +9 122 703 +9 123 62 +9 124 113 +9 125 3669 +9 126 2546 +9 127 2042 +9 128 19023 +9 129 16925 +9 130 89 +9 131 5489 +9 132 5413 +9 133 548 +9 134 354 +9 135 3095 +9 136 916 +9 137 2857 +9 138 200 +9 139 17400 +9 140 3250 +9 141 1420 +9 142 57469 +9 143 15792 +9 144 178 +9 145 180 +9 146 560 +9 147 805 +9 148 3136 +9 149 1209 +9 150 318 +9 151 1664 +9 152 1650 +9 153 163 +9 154 3494 +9 155 898 +9 156 5387 +9 157 5043 +9 158 10825 +9 159 394 +9 160 5307 +9 161 1114 +9 162 1865 +9 163 1115 +9 164 3115 +9 165 33191 +9 166 34359 +9 167 53 +9 168 269 +9 169 946 +9 170 1568 +9 171 931 +9 172 20394 +9 173 189 +9 174 3168 +9 175 430 +9 176 324 +9 177 4822 +9 178 3470 +9 179 1491 +9 180 9175 +9 181 207 +9 182 1419 +9 183 10499 +9 184 1123 +9 185 6344 +9 186 8161 +9 187 2190 +9 188 3053 +9 189 11801 +9 190 361 +9 191 3126 +9 192 134 +9 193 1821 +9 194 1419 +9 195 271 +9 196 13414 +9 197 3577 +9 198 1024 +9 199 241 +9 200 982 +9 201 3012 +9 202 136 +9 203 1756 +9 204 764 +9 205 5612 +9 206 3515 +9 207 15707 +9 208 5579 +9 209 1413 +9 210 742 +9 211 3799 +9 212 661 +9 213 773 +9 214 571 +9 215 1753 +9 216 4944 +9 217 3276 +9 218 770 +9 219 287 +9 220 650 +9 221 10466 +9 222 3372 +9 223 59 +9 224 399 +9 225 1040 +9 226 3089 +9 227 2015 +9 228 3491 +9 229 1523 +9 230 16896 +9 231 2222 +9 232 1472 +9 233 8847 +9 234 326 +9 235 2465 +9 236 869 +9 237 550 +9 238 179 +9 239 2037 +9 240 4206 +9 241 2926 +9 242 939 +9 243 28286 +9 244 4454 +9 245 13025 +9 246 297 +9 247 2167 +9 248 926 +9 249 126 +9 250 34706 +9 251 16586 +9 252 5871 +9 253 681 +9 254 1027 +9 255 6716 +10 0 1183 +10 1 6913 +10 2 609 +10 3 1204 +10 4 1605 +10 5 3194 +10 6 4010 +10 7 3296 +10 8 641 +10 9 2280 +10 10 1973 +10 11 857 +10 12 5251 +10 13 1890 +10 14 1424 +10 15 3973 +10 16 264 +10 17 2612 +10 18 679 +10 19 3846 +10 20 10218 +10 21 626 +10 22 3812 +10 23 3460 +10 24 2068 +10 25 1985 +10 26 6080 +10 27 2551 +10 28 2417 +10 29 943 +10 30 342 +10 31 6325 +10 32 4467 +10 33 809 +10 34 1430 +10 35 148 +10 36 2149 +10 37 585 +10 38 271 +10 39 942 +10 40 436 +10 41 9976 +10 42 756 +10 43 5909 +10 44 2567 +10 45 1791 +10 46 2680 +10 47 3630 +10 48 524 +10 49 8665 +10 50 1123 +10 51 791 +10 52 702 +10 53 8333 +10 54 517 +10 55 156 +10 56 3527 +10 57 4036 +10 58 135 +10 59 7056 +10 60 1514 +10 61 1580 +10 62 2327 +10 63 2107 +10 64 11317 +10 65 2696 +10 66 13687 +10 67 15735 +10 68 4300 +10 69 1169 +10 70 57216 +10 71 3095 +10 72 2051 +10 73 889 +10 74 43731 +10 75 90 +10 76 832 +10 77 6199 +10 78 3098 +10 79 1702 +10 80 1294 +10 81 4886 +10 82 872 +10 83 4106 +10 84 6798 +10 85 1105 +10 86 967 +10 87 8844 +10 88 4753 +10 89 178 +10 90 1933 +10 91 1267 +10 92 1801 +10 93 813 +10 94 484 +10 95 672 +10 96 173 +10 97 5834 +10 98 12134 +10 99 256 +10 100 733 +10 101 246 +10 102 3156 +10 103 22022 +10 104 2057 +10 105 5159 +10 106 10184 +10 107 18785 +10 108 7128 +10 109 6579 +10 110 11316 +10 111 1031 +10 112 84 +10 113 3666 +10 114 2334 +10 115 383 +10 116 13664 +10 117 1797 +10 118 1959 +10 119 5682 +10 120 1991 +10 121 299 +10 122 3990 +10 123 1601 +10 124 14605 +10 125 4750 +10 126 2257 +10 127 1469 +10 128 17497 +10 129 3209 +10 130 7696 +10 131 182 +10 132 18927 +10 133 962 +10 134 16879 +10 135 3678 +10 136 1596 +10 137 13219 +10 138 809 +10 139 7647 +10 140 1189 +10 141 1337 +10 142 2697 +10 143 54 +10 144 2989 +10 145 505 +10 146 3536 +10 147 702 +10 148 257 +10 149 577 +10 150 1719 +10 151 5315 +10 152 1460 +10 153 439 +10 154 5354 +10 155 305 +10 156 12231 +10 157 4690 +10 158 64 +10 159 6088 +10 160 641 +10 161 3632 +10 162 689 +10 163 4276 +10 164 346 +10 165 3017 +10 166 1642 +10 167 889 +10 168 446 +10 169 4185 +10 170 8209 +10 171 5529 +10 172 1710 +10 173 6560 +10 174 96 +10 175 2070 +10 176 2864 +10 177 751 +10 178 493 +10 179 2614 +10 180 66 +10 181 9635 +10 182 3179 +10 183 3341 +10 184 5330 +10 185 1834 +10 186 322 +10 187 1853 +10 188 1936 +10 189 1482 +10 190 10767 +10 191 795 +10 192 7336 +10 193 11473 +10 194 2207 +10 195 12241 +10 196 304 +10 197 546 +10 198 4137 +10 199 2172 +10 200 8370 +10 201 41675 +10 202 2212 +10 203 285 +10 204 291 +10 205 21891 +10 206 2244 +10 207 7922 +10 208 529 +10 209 61 +10 210 957 +10 211 1051 +10 212 3688 +10 213 1898 +10 214 4240 +10 215 2033 +10 216 1959 +10 217 1339 +10 218 4715 +10 219 1974 +10 220 3981 +10 221 214 +10 222 713 +10 223 1253 +10 224 2860 +10 225 7115 +10 226 5188 +10 227 2240 +10 228 5203 +10 229 5916 +10 230 246 +10 231 468 +10 232 826 +10 233 3065 +10 234 8678 +10 235 4309 +10 236 1532 +10 237 88 +10 238 4072 +10 239 5987 +10 240 38494 +10 241 1385 +10 242 5101 +10 243 2499 +10 244 11513 +10 245 6742 +10 246 2571 +10 247 2825 +10 248 2749 +10 249 339 +10 250 10458 +10 251 11809 +10 252 2633 +10 253 10554 +10 254 5588 +10 255 8714 +11 0 5808 +11 1 71 +11 2 2801 +11 3 3551 +11 4 463 +11 5 962 +11 6 1557 +11 7 4024 +11 8 227 +11 9 4389 +11 10 9098 +11 11 7199 +11 12 11719 +11 13 1128 +11 14 5345 +11 15 9806 +11 16 17003 +11 17 5122 +11 18 3752 +11 19 3441 +11 20 5912 +11 21 189 +11 22 474 +11 23 304 +11 24 2218 +11 25 1389 +11 26 19495 +11 27 2821 +11 28 993 +11 29 2563 +11 30 979 +11 31 7431 +11 32 1387 +11 33 14687 +11 34 12851 +11 35 671 +11 36 5697 +11 37 6809 +11 38 638 +11 39 5868 +11 40 890 +11 41 900 +11 42 4706 +11 43 24552 +11 44 10308 +11 45 1719 +11 46 2932 +11 47 1340 +11 48 7211 +11 49 3500 +11 50 494 +11 51 277 +11 52 5581 +11 53 57 +11 54 6102 +11 55 2489 +11 56 596 +11 57 400 +11 58 2728 +11 59 1305 +11 60 15984 +11 61 1132 +11 62 4838 +11 63 8054 +11 64 3569 +11 65 842 +11 66 876 +11 67 95 +11 68 4189 +11 69 4223 +11 70 7680 +11 71 8285 +11 72 3475 +11 73 814 +11 74 953 +11 75 775 +11 76 4074 +11 77 1442 +11 78 1095 +11 79 2597 +11 80 5414 +11 81 951 +11 82 4920 +11 83 48 +11 84 600 +11 85 2103 +11 86 5512 +11 87 753 +11 88 29264 +11 89 1267 +11 90 3117 +11 91 4843 +11 92 1054 +11 93 3910 +11 94 7858 +11 95 959 +11 96 860 +11 97 2737 +11 98 6206 +11 99 7843 +11 100 1314 +11 101 105 +11 102 10372 +11 103 216 +11 104 436 +11 105 1841 +11 106 2871 +11 107 2706 +11 108 4264 +11 109 7245 +11 110 346 +11 111 3906 +11 112 4138 +11 113 21 +11 114 3625 +11 115 2403 +11 116 5246 +11 117 658 +11 118 2345 +11 119 90 +11 120 7582 +11 121 3346 +11 122 126 +11 123 47841 +11 124 2341 +11 125 24202 +11 126 420 +11 127 7715 +11 128 5213 +11 129 880 +11 130 3223 +11 131 34683 +11 132 1130 +11 133 5189 +11 134 12679 +11 135 2949 +11 136 6667 +11 137 1357 +11 138 342 +11 139 1090 +11 140 6216 +11 141 22650 +11 142 4989 +11 143 1012 +11 144 6133 +11 145 2931 +11 146 21969 +11 147 1620 +11 148 316 +11 149 999 +11 150 2891 +11 151 4337 +11 152 3588 +11 153 3511 +11 154 2231 +11 155 1227 +11 156 6477 +11 157 3283 +11 158 5972 +11 159 2755 +11 160 3654 +11 161 4730 +11 162 585 +11 163 3769 +11 164 4986 +11 165 435 +11 166 310 +11 167 9472 +11 168 625 +11 169 12684 +11 170 11038 +11 171 6850 +11 172 3140 +11 173 1887 +11 174 9232 +11 175 7504 +11 176 6472 +11 177 9661 +11 178 1831 +11 179 426 +11 180 567 +11 181 1087 +11 182 143 +11 183 2616 +11 184 9312 +11 185 789 +11 186 6462 +11 187 1082 +11 188 2747 +11 189 3125 +11 190 1224 +11 191 3604 +11 192 2384 +11 193 1642 +11 194 3733 +11 195 4375 +11 196 528 +11 197 17676 +11 198 9360 +11 199 10869 +11 200 4980 +11 201 6929 +11 202 5360 +11 203 3967 +11 204 2559 +11 205 1067 +11 206 2770 +11 207 5099 +11 208 1140 +11 209 1888 +11 210 2257 +11 211 1287 +11 212 1990 +11 213 811 +11 214 1179 +11 215 3396 +11 216 2150 +11 217 286 +11 218 4541 +11 219 492 +11 220 2312 +11 221 13108 +11 222 39097 +11 223 2364 +11 224 346 +11 225 4878 +11 226 643 +11 227 410 +11 228 1021 +11 229 797 +11 230 1272 +11 231 1138 +11 232 58 +11 233 1233 +11 234 135 +11 235 707 +11 236 2108 +11 237 6952 +11 238 4904 +11 239 515 +11 240 8608 +11 241 3472 +11 242 1125 +11 243 1275 +11 244 196 +11 245 77 +11 246 6435 +11 247 1629 +11 248 3768 +11 249 720 +11 250 3058 +11 251 1294 +11 252 589 +11 253 384 +11 254 1242 +11 255 1756 +12 0 782 +12 1 9459 +12 2 39527 +12 3 4558 +12 4 3363 +12 5 2644 +12 6 8599 +12 7 1095 +12 8 1344 +12 9 14622 +12 10 1158 +12 11 4223 +12 12 6599 +12 13 17702 +12 14 1834 +12 15 215 +12 16 1021 +12 17 6811 +12 18 1204 +12 19 148 +12 20 53861 +12 21 4579 +12 22 13909 +12 23 1667 +12 24 1627 +12 25 39 +12 26 5871 +12 27 997 +12 28 100 +12 29 2273 +12 30 2767 +12 31 6722 +12 32 4954 +12 33 15662 +12 34 755 +12 35 2530 +12 36 10091 +12 37 11607 +12 38 6038 +12 39 1993 +12 40 564 +12 41 546 +12 42 8548 +12 43 2028 +12 44 5203 +12 45 124 +12 46 6503 +12 47 5942 +12 48 99 +12 49 421 +12 50 3720 +12 51 587 +12 52 698 +12 53 905 +12 54 5262 +12 55 51911 +12 56 4447 +12 57 3888 +12 58 2029 +12 59 1155 +12 60 1749 +12 61 78 +12 62 696 +12 63 6352 +12 64 7758 +12 65 1835 +12 66 2914 +12 67 5853 +12 68 809 +12 69 13572 +12 70 1404 +12 71 3438 +12 72 5554 +12 73 16755 +12 74 6085 +12 75 4121 +12 76 13763 +12 77 1099 +12 78 542 +12 79 1201 +12 80 3223 +12 81 10297 +12 82 3362 +12 83 249 +12 84 3080 +12 85 3115 +12 86 17 +12 87 6653 +12 88 1347 +12 89 830 +12 90 266 +12 91 735 +12 92 604 +12 93 2304 +12 94 4803 +12 95 966 +12 96 5576 +12 97 6122 +12 98 17492 +12 99 2491 +12 100 1406 +12 101 12541 +12 102 723 +12 103 65699 +12 104 738 +12 105 2032 +12 106 2673 +12 107 3640 +12 108 1959 +12 109 277 +12 110 6832 +12 111 878 +12 112 627 +12 113 981 +12 114 535 +12 115 5069 +12 116 2633 +12 117 1220 +12 118 500 +12 119 3994 +12 120 509 +12 121 104 +12 122 309 +12 123 123 +12 124 1990 +12 125 2348 +12 126 724 +12 127 1198 +12 128 1938 +12 129 93 +12 130 1329 +12 131 2450 +12 132 409 +12 133 46 +12 134 11481 +12 135 1359 +12 136 2855 +12 137 2856 +12 138 3046 +12 139 1621 +12 140 5061 +12 141 2080 +12 142 1403 +12 143 8414 +12 144 1784 +12 145 4596 +12 146 993 +12 147 2528 +12 148 3966 +12 149 3385 +12 150 4740 +12 151 3297 +12 152 151 +12 153 1564 +12 154 106 +12 155 3770 +12 156 56 +12 157 5426 +12 158 2348 +12 159 101 +12 160 10482 +12 161 1705 +12 162 65 +12 163 16126 +12 164 575 +12 165 574 +12 166 3057 +12 167 966 +12 168 4664 +12 169 2684 +12 170 175 +12 171 479 +12 172 692 +12 173 3199 +12 174 676 +12 175 483 +12 176 9792 +12 177 8480 +12 178 6505 +12 179 264 +12 180 6613 +12 181 142 +12 182 153 +12 183 108 +12 184 2120 +12 185 1673 +12 186 6055 +12 187 2700 +12 188 1919 +12 189 12408 +12 190 4909 +12 191 1308 +12 192 2885 +12 193 141 +12 194 2756 +12 195 2854 +12 196 2030 +12 197 266 +12 198 5073 +12 199 805 +12 200 2497 +12 201 4220 +12 202 136 +12 203 6681 +12 204 303 +12 205 2061 +12 206 4550 +12 207 5115 +12 208 2511 +12 209 1322 +12 210 1462 +12 211 959 +12 212 2344 +12 213 923 +12 214 1878 +12 215 183 +12 216 1104 +12 217 3019 +12 218 611 +12 219 5962 +12 220 2873 +12 221 3237 +12 222 3029 +12 223 907 +12 224 2863 +12 225 1980 +12 226 8674 +12 227 137 +12 228 8609 +12 229 1053 +12 230 3347 +12 231 3998 +12 232 2093 +12 233 958 +12 234 17504 +12 235 3394 +12 236 63 +12 237 256 +12 238 16212 +12 239 664 +12 240 5232 +12 241 636 +12 242 6887 +12 243 2469 +12 244 18713 +12 245 90 +12 246 292 +12 247 7379 +12 248 28742 +12 249 6490 +12 250 12117 +12 251 3358 +12 252 1573 +12 253 3139 +12 254 1411 +12 255 5825 +13 0 5974 +13 1 9260 +13 2 392 +13 3 1641 +13 4 200 +13 5 945 +13 6 1576 +13 7 1338 +13 8 335 +13 9 299 +13 10 44 +13 11 1094 +13 12 218 +13 13 2769 +13 14 514 +13 15 1975 +13 16 6151 +13 17 809 +13 18 217 +13 19 3944 +13 20 1620 +13 21 8134 +13 22 3817 +13 23 444 +13 24 476 +13 25 116 +13 26 1919 +13 27 110 +13 28 274 +13 29 1274 +13 30 125 +13 31 104 +13 32 907 +13 33 5327 +13 34 77 +13 35 1748 +13 36 1405 +13 37 5560 +13 38 3492 +13 39 441 +13 40 17241 +13 41 1421 +13 42 3549 +13 43 7592 +13 44 818 +13 45 1423 +13 46 1037 +13 47 7169 +13 48 93 +13 49 557 +13 50 455 +13 51 1428 +13 52 1068 +13 53 79 +13 54 92 +13 55 178 +13 56 53299 +13 57 1309 +13 58 100 +13 59 123 +13 60 350 +13 61 19422 +13 62 88 +13 63 857 +13 64 2294 +13 65 12631 +13 66 8667 +13 67 1882 +13 68 261 +13 69 26 +13 70 4215 +13 71 9761 +13 72 2316 +13 73 589 +13 74 49180 +13 75 240 +13 76 2002 +13 77 17264 +13 78 588 +13 79 1572 +13 80 324 +13 81 2270 +13 82 6527 +13 83 1468 +13 84 859 +13 85 456 +13 86 966 +13 87 65124 +13 88 1530 +13 89 1012 +13 90 330 +13 91 11583 +13 92 1680 +13 93 18877 +13 94 8321 +13 95 2681 +13 96 53 +13 97 2056 +13 98 43188 +13 99 1578 +13 100 7979 +13 101 25765 +13 102 42 +13 103 3148 +13 104 9677 +13 105 2030 +13 106 179 +13 107 4090 +13 108 457 +13 109 476 +13 110 1580 +13 111 4104 +13 112 3621 +13 113 4436 +13 114 941 +13 115 13220 +13 116 2237 +13 117 515 +13 118 1749 +13 119 893 +13 120 5800 +13 121 3794 +13 122 845 +13 123 125 +13 124 4846 +13 125 636 +13 126 8342 +13 127 2573 +13 128 6651 +13 129 2759 +13 130 544 +13 131 6461 +13 132 2071 +13 133 80 +13 134 4678 +13 135 1632 +13 136 1703 +13 137 1187 +13 138 604 +13 139 4558 +13 140 5314 +13 141 615 +13 142 3357 +13 143 444 +13 144 343 +13 145 162 +13 146 621 +13 147 7459 +13 148 1984 +13 149 831 +13 150 118 +13 151 5232 +13 152 458 +13 153 3346 +13 154 2277 +13 155 3647 +13 156 1134 +13 157 3678 +13 158 512 +13 159 994 +13 160 250 +13 161 413 +13 162 2568 +13 163 27 +13 164 3626 +13 165 13724 +13 166 18066 +13 167 684 +13 168 3816 +13 169 1504 +13 170 982 +13 171 1448 +13 172 3625 +13 173 4429 +13 174 32009 +13 175 1156 +13 176 715 +13 177 6294 +13 178 8656 +13 179 452 +13 180 6553 +13 181 838 +13 182 3116 +13 183 11940 +13 184 171 +13 185 3188 +13 186 45 +13 187 630 +13 188 651 +13 189 816 +13 190 65 +13 191 410 +13 192 4815 +13 193 6986 +13 194 2279 +13 195 2727 +13 196 896 +13 197 24073 +13 198 3230 +13 199 1480 +13 200 4032 +13 201 576 +13 202 8264 +13 203 5657 +13 204 3218 +13 205 379 +13 206 741 +13 207 5237 +13 208 3938 +13 209 1026 +13 210 1368 +13 211 11120 +13 212 2221 +13 213 1574 +13 214 4488 +13 215 3992 +13 216 4139 +13 217 3411 +13 218 28 +13 219 7629 +13 220 4015 +13 221 1245 +13 222 6544 +13 223 170 +13 224 66575 +13 225 47 +13 226 209 +13 227 1555 +13 228 3634 +13 229 64 +13 230 4667 +13 231 5290 +13 232 250 +13 233 3719 +13 234 591 +13 235 145 +13 236 701 +13 237 596 +13 238 4859 +13 239 1086 +13 240 3084 +13 241 13452 +13 242 678 +13 243 489 +13 244 28095 +13 245 156 +13 246 319 +13 247 166 +13 248 5007 +13 249 5780 +13 250 609 +13 251 6595 +13 252 15159 +13 253 8233 +13 254 730 +13 255 1117 +14 0 1098 +14 1 1413 +14 2 1445 +14 3 96 +14 4 3989 +14 5 4991 +14 6 3783 +14 7 52 +14 8 8957 +14 9 1618 +14 10 4604 +14 11 275 +14 12 1024 +14 13 76 +14 14 139 +14 15 399 +14 16 54 +14 17 1485 +14 18 10151 +14 19 10172 +14 20 7373 +14 21 122 +14 22 5770 +14 23 346 +14 24 287 +14 25 30 +14 26 1601 +14 27 195 +14 28 1983 +14 29 1112 +14 30 33089 +14 31 2194 +14 32 1521 +14 33 168 +14 34 2767 +14 35 2668 +14 36 82 +14 37 1386 +14 38 5696 +14 39 143 +14 40 2026 +14 41 881 +14 42 69 +14 43 123 +14 44 16879 +14 45 2912 +14 46 94 +14 47 170 +14 48 16542 +14 49 4176 +14 50 9530 +14 51 2241 +14 52 1789 +14 53 4499 +14 54 869 +14 55 479 +14 56 447 +14 57 5541 +14 58 3595 +14 59 933 +14 60 2195 +14 61 353 +14 62 18366 +14 63 2699 +14 64 1427 +14 65 6061 +14 66 12378 +14 67 14576 +14 68 2895 +14 69 12 +14 70 1407 +14 71 2902 +14 72 14715 +14 73 12694 +14 74 30 +14 75 125 +14 76 9086 +14 77 2807 +14 78 221 +14 79 4225 +14 80 169 +14 81 3828 +14 82 263 +14 83 3466 +14 84 3189 +14 85 1242 +14 86 5948 +14 87 3664 +14 88 3567 +14 89 902 +14 90 2595 +14 91 1329 +14 92 6100 +14 93 6 +14 94 1416 +14 95 5066 +14 96 17929 +14 97 1551 +14 98 163 +14 99 822 +14 100 45 +14 101 3373 +14 102 2400 +14 103 3525 +14 104 43386 +14 105 3911 +14 106 5137 +14 107 1822 +14 108 443 +14 109 860 +14 110 956 +14 111 2458 +14 112 991 +14 113 7072 +14 114 217 +14 115 1730 +14 116 350 +14 117 13121 +14 118 1482 +14 119 899 +14 120 53 +14 121 31 +14 122 43 +14 123 551 +14 124 7149 +14 125 1618 +14 126 480 +14 127 544 +14 128 9992 +14 129 58 +14 130 161 +14 131 193 +14 132 12585 +14 133 1308 +14 134 162 +14 135 3413 +14 136 7790 +14 137 4169 +14 138 3187 +14 139 153 +14 140 1154 +14 141 199 +14 142 1605 +14 143 12129 +14 144 3071 +14 145 30772 +14 146 5444 +14 147 4509 +14 148 3899 +14 149 59316 +14 150 1932 +14 151 1004 +14 152 1466 +14 153 515 +14 154 950 +14 155 3538 +14 156 896 +14 157 1109 +14 158 244 +14 159 2854 +14 160 1592 +14 161 490 +14 162 1500 +14 163 3834 +14 164 303 +14 165 2075 +14 166 952 +14 167 2438 +14 168 59 +14 169 166 +14 170 89 +14 171 5951 +14 172 2625 +14 173 604 +14 174 38 +14 175 8254 +14 176 1871 +14 177 1748 +14 178 51 +14 179 2022 +14 180 2144 +14 181 11934 +14 182 3092 +14 183 15897 +14 184 617 +14 185 2233 +14 186 61 +14 187 409 +14 188 80 +14 189 18375 +14 190 45143 +14 191 17992 +14 192 2079 +14 193 1411 +14 194 39018 +14 195 89 +14 196 13300 +14 197 4226 +14 198 8204 +14 199 39 +14 200 15154 +14 201 3560 +14 202 20918 +14 203 55078 +14 204 109 +14 205 645 +14 206 300 +14 207 2304 +14 208 426 +14 209 1724 +14 210 304 +14 211 826 +14 212 1329 +14 213 1668 +14 214 15937 +14 215 5255 +14 216 548 +14 217 5736 +14 218 1411 +14 219 6082 +14 220 3376 +14 221 210 +14 222 679 +14 223 882 +14 224 4704 +14 225 5083 +14 226 15279 +14 227 248 +14 228 985 +14 229 1549 +14 230 837 +14 231 12760 +14 232 185 +14 233 45 +14 234 1672 +14 235 4193 +14 236 7240 +14 237 4889 +14 238 4415 +14 239 665 +14 240 169 +14 241 1611 +14 242 15818 +14 243 170 +14 244 749 +14 245 743 +14 246 242 +14 247 5758 +14 248 1226 +14 249 285 +14 250 386 +14 251 207 +14 252 312 +14 253 1435 +14 254 1546 +14 255 926 +15 0 1887 +15 1 376 +15 2 1773 +15 3 37293 +15 4 426 +15 5 812 +15 6 1901 +15 7 31 +15 8 633 +15 9 1474 +15 10 26 +15 11 2447 +15 12 11987 +15 13 1934 +15 14 542 +15 15 81 +15 16 2686 +15 17 6242 +15 18 5577 +15 19 1863 +15 20 726 +15 21 2471 +15 22 4601 +15 23 4436 +15 24 3798 +15 25 2155 +15 26 1359 +15 27 43409 +15 28 3181 +15 29 796 +15 30 3816 +15 31 5468 +15 32 34 +15 33 3003 +15 34 3555 +15 35 14208 +15 36 2342 +15 37 8796 +15 38 1134 +15 39 1351 +15 40 114 +15 41 14884 +15 42 1286 +15 43 272 +15 44 2236 +15 45 1143 +15 46 2884 +15 47 3408 +15 48 4400 +15 49 5370 +15 50 2699 +15 51 13351 +15 52 3469 +15 53 2627 +15 54 1264 +15 55 13311 +15 56 2684 +15 57 1733 +15 58 1622 +15 59 1901 +15 60 1835 +15 61 2194 +15 62 633 +15 63 102 +15 64 5720 +15 65 2194 +15 66 1170 +15 67 908 +15 68 7532 +15 69 5425 +15 70 1059 +15 71 2504 +15 72 1727 +15 73 114 +15 74 4893 +15 75 1191 +15 76 4963 +15 77 299 +15 78 14899 +15 79 12450 +15 80 34278 +15 81 7359 +15 82 1068 +15 83 10957 +15 84 37 +15 85 14081 +15 86 782 +15 87 6245 +15 88 154 +15 89 1387 +15 90 896 +15 91 75 +15 92 3011 +15 93 12455 +15 94 8382 +15 95 12281 +15 96 3328 +15 97 6397 +15 98 4474 +15 99 2689 +15 100 137 +15 101 1904 +15 102 51037 +15 103 3839 +15 104 96 +15 105 251 +15 106 514 +15 107 54 +15 108 3582 +15 109 1172 +15 110 2357 +15 111 1684 +15 112 26746 +15 113 30 +15 114 22020 +15 115 11562 +15 116 2755 +15 117 7928 +15 118 32 +15 119 8609 +15 120 2027 +15 121 1295 +15 122 109 +15 123 2237 +15 124 5817 +15 125 392 +15 126 1340 +15 127 4177 +15 128 21657 +15 129 214 +15 130 6581 +15 131 5594 +15 132 3185 +15 133 547 +15 134 13025 +15 135 612 +15 136 283 +15 137 729 +15 138 78 +15 139 2078 +15 140 44479 +15 141 1606 +15 142 1372 +15 143 2518 +15 144 1760 +15 145 8058 +15 146 6439 +15 147 1366 +15 148 1002 +15 149 1305 +15 150 1285 +15 151 738 +15 152 155 +15 153 1056 +15 154 14817 +15 155 2381 +15 156 11943 +15 157 1903 +15 158 381 +15 159 1529 +15 160 1174 +15 161 691 +15 162 220 +15 163 4350 +15 164 59 +15 165 2042 +15 166 2721 +15 167 908 +15 168 6919 +15 169 18248 +15 170 2065 +15 171 5116 +15 172 2748 +15 173 1944 +15 174 3849 +15 175 259 +15 176 77 +15 177 4282 +15 178 4814 +15 179 4285 +15 180 4203 +15 181 5842 +15 182 2008 +15 183 1510 +15 184 1183 +15 185 4251 +15 186 689 +15 187 1033 +15 188 17058 +15 189 27906 +15 190 1113 +15 191 8800 +15 192 64 +15 193 1083 +15 194 337 +15 195 7287 +15 196 2693 +15 197 8014 +15 198 77 +15 199 147 +15 200 6369 +15 201 131 +15 202 274 +15 203 1596 +15 204 823 +15 205 80 +15 206 20622 +15 207 109 +15 208 596 +15 209 748 +15 210 223 +15 211 643 +15 212 191 +15 213 129 +15 214 190 +15 215 1026 +15 216 85 +15 217 5851 +15 218 17138 +15 219 148 +15 220 3239 +15 221 2972 +15 222 1113 +15 223 218 +15 224 314 +15 225 1158 +15 226 12859 +15 227 711 +15 228 815 +15 229 1487 +15 230 346 +15 231 97 +15 232 1640 +15 233 2272 +15 234 219 +15 235 838 +15 236 1268 +15 237 26688 +15 238 1942 +15 239 75 +15 240 9040 +15 241 3232 +15 242 2796 +15 243 1189 +15 244 1863 +15 245 1576 +15 246 1349 +15 247 1784 +15 248 2957 +15 249 8535 +15 250 1536 +15 251 30 +15 252 16 +15 253 66 +15 254 4701 +15 255 963 +16 0 4765 +16 1 60 +16 2 809 +16 3 4505 +16 4 9903 +16 5 5782 +16 6 478 +16 7 122 +16 8 238 +16 9 176 +16 10 5454 +16 11 200 +16 12 5209 +16 13 122 +16 14 1437 +16 15 3341 +16 16 2256 +16 17 11 +16 18 1299 +16 19 34 +16 20 1025 +16 21 352 +16 22 4561 +16 23 22483 +16 24 512 +16 25 1965 +16 26 7143 +16 27 180 +16 28 1479 +16 29 2883 +16 30 74 +16 31 667 +16 32 39 +16 33 5820 +16 34 811 +16 35 499 +16 36 621 +16 37 896 +16 38 10411 +16 39 12292 +16 40 10523 +16 41 18792 +16 42 190 +16 43 4689 +16 44 278 +16 45 3056 +16 46 857 +16 47 5332 +16 48 2854 +16 49 4822 +16 50 2521 +16 51 31062 +16 52 221 +16 53 4787 +16 54 1472 +16 55 1065 +16 56 10887 +16 57 832 +16 58 9464 +16 59 3314 +16 60 42640 +16 61 5188 +16 62 6072 +16 63 374 +16 64 120 +16 65 12851 +16 66 397 +16 67 8557 +16 68 124 +16 69 1221 +16 70 302 +16 71 12171 +16 72 24908 +16 73 6372 +16 74 5418 +16 75 2310 +16 76 279 +16 77 34 +16 78 2431 +16 79 49 +16 80 20088 +16 81 5411 +16 82 2591 +16 83 5754 +16 84 2077 +16 85 4652 +16 86 397 +16 87 2565 +16 88 11891 +16 89 1469 +16 90 35 +16 91 790 +16 92 2346 +16 93 1180 +16 94 61 +16 95 1373 +16 96 4490 +16 97 68 +16 98 190 +16 99 1772 +16 100 1805 +16 101 40757 +16 102 2807 +16 103 881 +16 104 46 +16 105 17265 +16 106 4517 +16 107 1183 +16 108 773 +16 109 11290 +16 110 285 +16 111 9361 +16 112 382 +16 113 18346 +16 114 4822 +16 115 37 +16 116 3148 +16 117 3427 +16 118 48 +16 119 3861 +16 120 5338 +16 121 2057 +16 122 9291 +16 123 1048 +16 124 1726 +16 125 73 +16 126 633 +16 127 15069 +16 128 154 +16 129 4353 +16 130 5072 +16 131 2205 +16 132 138 +16 133 4754 +16 134 6171 +16 135 116 +16 136 516 +16 137 1358 +16 138 5164 +16 139 65 +16 140 1544 +16 141 8333 +16 142 61 +16 143 10116 +16 144 1431 +16 145 10678 +16 146 873 +16 147 2663 +16 148 272 +16 149 2453 +16 150 4317 +16 151 1998 +16 152 12092 +16 153 28347 +16 154 2799 +16 155 157 +16 156 3788 +16 157 8817 +16 158 3689 +16 159 808 +16 160 407 +16 161 1285 +16 162 1303 +16 163 3295 +16 164 3808 +16 165 3534 +16 166 1873 +16 167 199 +16 168 1007 +16 169 389 +16 170 2073 +16 171 1771 +16 172 175 +16 173 21037 +16 174 3748 +16 175 977 +16 176 562 +16 177 2436 +16 178 20598 +16 179 4460 +16 180 8331 +16 181 2037 +16 182 893 +16 183 5413 +16 184 167 +16 185 6029 +16 186 5037 +16 187 4258 +16 188 500 +16 189 5391 +16 190 3622 +16 191 643 +16 192 1361 +16 193 420 +16 194 1365 +16 195 10360 +16 196 6034 +16 197 830 +16 198 742 +16 199 137 +16 200 908 +16 201 1940 +16 202 835 +16 203 1202 +16 204 11493 +16 205 398 +16 206 40 +16 207 410 +16 208 17647 +16 209 1783 +16 210 2081 +16 211 741 +16 212 1930 +16 213 819 +16 214 825 +16 215 1566 +16 216 505 +16 217 5863 +16 218 55223 +16 219 10137 +16 220 1626 +16 221 474 +16 222 4787 +16 223 140 +16 224 2259 +16 225 31274 +16 226 37 +16 227 1087 +16 228 2869 +16 229 3765 +16 230 4761 +16 231 21 +16 232 4321 +16 233 3938 +16 234 2842 +16 235 6379 +16 236 1094 +16 237 3310 +16 238 2113 +16 239 1706 +16 240 18 +16 241 3126 +16 242 2484 +16 243 481 +16 244 139 +16 245 1958 +16 246 400 +16 247 1879 +16 248 8088 +16 249 70 +16 250 7830 +16 251 94 +16 252 2195 +16 253 4253 +16 254 5474 +16 255 12087 +17 0 5823 +17 1 136 +17 2 229 +17 3 841 +17 4 3355 +17 5 1593 +17 6 126 +17 7 200 +17 8 10117 +17 9 4555 +17 10 1367 +17 11 3409 +17 12 5530 +17 13 579 +17 14 9743 +17 15 606 +17 16 800 +17 17 1135 +17 18 1285 +17 19 5350 +17 20 2454 +17 21 4160 +17 22 19106 +17 23 3963 +17 24 228 +17 25 1564 +17 26 3193 +17 27 2354 +17 28 143 +17 29 2395 +17 30 1263 +17 31 155 +17 32 1067 +17 33 8060 +17 34 401 +17 35 19153 +17 36 564 +17 37 5659 +17 38 5346 +17 39 5446 +17 40 69 +17 41 77 +17 42 3627 +17 43 2836 +17 44 45 +17 45 1307 +17 46 2676 +17 47 600 +17 48 1253 +17 49 1980 +17 50 63 +17 51 705 +17 52 93 +17 53 2541 +17 54 9044 +17 55 1303 +17 56 21 +17 57 3969 +17 58 1128 +17 59 1278 +17 60 2699 +17 61 6236 +17 62 6167 +17 63 2686 +17 64 2981 +17 65 199 +17 66 9062 +17 67 24 +17 68 5102 +17 69 666 +17 70 49 +17 71 55974 +17 72 533 +17 73 1358 +17 74 601 +17 75 280 +17 76 6253 +17 77 3350 +17 78 277 +17 79 384 +17 80 103 +17 81 54 +17 82 139 +17 83 85 +17 84 62807 +17 85 108 +17 86 600 +17 87 1132 +17 88 2896 +17 89 22442 +17 90 616 +17 91 2154 +17 92 62 +17 93 1929 +17 94 11090 +17 95 3590 +17 96 5313 +17 97 813 +17 98 687 +17 99 2179 +17 100 96 +17 101 3511 +17 102 1353 +17 103 24 +17 104 3110 +17 105 46 +17 106 1578 +17 107 1348 +17 108 201 +17 109 163 +17 110 4182 +17 111 380 +17 112 788 +17 113 505 +17 114 2903 +17 115 2295 +17 116 1234 +17 117 18299 +17 118 16576 +17 119 7719 +17 120 14277 +17 121 893 +17 122 1718 +17 123 894 +17 124 7558 +17 125 1041 +17 126 9834 +17 127 1042 +17 128 87 +17 129 950 +17 130 1190 +17 131 26708 +17 132 832 +17 133 47 +17 134 527 +17 135 2098 +17 136 294 +17 137 826 +17 138 204 +17 139 730 +17 140 11981 +17 141 2710 +17 142 2159 +17 143 596 +17 144 1269 +17 145 442 +17 146 549 +17 147 153 +17 148 21580 +17 149 60802 +17 150 3254 +17 151 3238 +17 152 4702 +17 153 3573 +17 154 581 +17 155 5731 +17 156 11005 +17 157 4440 +17 158 3414 +17 159 980 +17 160 2850 +17 161 360 +17 162 11113 +17 163 217 +17 164 2867 +17 165 350 +17 166 459 +17 167 3011 +17 168 6288 +17 169 11470 +17 170 11198 +17 171 9756 +17 172 5400 +17 173 4357 +17 174 126 +17 175 1448 +17 176 1332 +17 177 5779 +17 178 6368 +17 179 67 +17 180 7114 +17 181 174 +17 182 377 +17 183 729 +17 184 718 +17 185 3774 +17 186 12724 +17 187 330 +17 188 4336 +17 189 616 +17 190 3052 +17 191 273 +17 192 698 +17 193 12 +17 194 284 +17 195 3945 +17 196 59 +17 197 4304 +17 198 60244 +17 199 9602 +17 200 318 +17 201 7066 +17 202 3991 +17 203 162 +17 204 4281 +17 205 7 +17 206 1810 +17 207 421 +17 208 3339 +17 209 668 +17 210 457 +17 211 3537 +17 212 1345 +17 213 4879 +17 214 4287 +17 215 55850 +17 216 5191 +17 217 942 +17 218 223 +17 219 5621 +17 220 2206 +17 221 3385 +17 222 23595 +17 223 1677 +17 224 422 +17 225 4809 +17 226 1774 +17 227 2049 +17 228 551 +17 229 3260 +17 230 5755 +17 231 1735 +17 232 2367 +17 233 797 +17 234 2039 +17 235 1174 +17 236 91 +17 237 269 +17 238 6926 +17 239 2419 +17 240 562 +17 241 844 +17 242 5557 +17 243 14167 +17 244 3526 +17 245 1036 +17 246 815 +17 247 4549 +17 248 1795 +17 249 868 +17 250 4810 +17 251 790 +17 252 6050 +17 253 9672 +17 254 232 +17 255 10643 +18 0 9362 +18 1 100 +18 2 513 +18 3 1445 +18 4 4955 +18 5 201 +18 6 2732 +18 7 60 +18 8 606 +18 9 41 +18 10 1199 +18 11 3523 +18 12 23 +18 13 8200 +18 14 496 +18 15 1189 +18 16 13518 +18 17 705 +18 18 8313 +18 19 12637 +18 20 109 +18 21 406 +18 22 5277 +18 23 365 +18 24 1484 +18 25 1517 +18 26 88 +18 27 776 +18 28 164 +18 29 117 +18 30 1737 +18 31 2085 +18 32 3874 +18 33 2301 +18 34 18738 +18 35 1063 +18 36 836 +18 37 21527 +18 38 3982 +18 39 1558 +18 40 7997 +18 41 607 +18 42 9301 +18 43 1638 +18 44 732 +18 45 1541 +18 46 37532 +18 47 882 +18 48 225 +18 49 249 +18 50 6410 +18 51 319 +18 52 2307 +18 53 2265 +18 54 38 +18 55 3819 +18 56 28 +18 57 9837 +18 58 488 +18 59 2662 +18 60 2345 +18 61 1283 +18 62 9635 +18 63 2781 +18 64 1957 +18 65 85 +18 66 7819 +18 67 3622 +18 68 510 +18 69 4226 +18 70 2252 +18 71 3597 +18 72 5440 +18 73 8985 +18 74 6291 +18 75 1758 +18 76 80 +18 77 571 +18 78 94 +18 79 6553 +18 80 432 +18 81 35 +18 82 60735 +18 83 706 +18 84 5085 +18 85 4377 +18 86 82 +18 87 353 +18 88 13336 +18 89 2285 +18 90 2448 +18 91 12071 +18 92 4994 +18 93 3059 +18 94 1187 +18 95 515 +18 96 57 +18 97 3019 +18 98 157 +18 99 485 +18 100 684 +18 101 534 +18 102 553 +18 103 232 +18 104 6374 +18 105 10182 +18 106 329 +18 107 43 +18 108 11454 +18 109 209 +18 110 1142 +18 111 5301 +18 112 4124 +18 113 8586 +18 114 290 +18 115 4473 +18 116 12364 +18 117 19324 +18 118 3324 +18 119 3728 +18 120 10367 +18 121 948 +18 122 2805 +18 123 1198 +18 124 87 +18 125 444 +18 126 1140 +18 127 4500 +18 128 4367 +18 129 2966 +18 130 3759 +18 131 1238 +18 132 2652 +18 133 4106 +18 134 2335 +18 135 3919 +18 136 1238 +18 137 13616 +18 138 969 +18 139 30392 +18 140 118 +18 141 8826 +18 142 1005 +18 143 5119 +18 144 4171 +18 145 39045 +18 146 578 +18 147 36 +18 148 6381 +18 149 205 +18 150 2393 +18 151 1421 +18 152 747 +18 153 1077 +18 154 2607 +18 155 901 +18 156 984 +18 157 1913 +18 158 1766 +18 159 2345 +18 160 1413 +18 161 3028 +18 162 3974 +18 163 10663 +18 164 761 +18 165 614 +18 166 5422 +18 167 1702 +18 168 196 +18 169 2082 +18 170 4523 +18 171 29605 +18 172 5044 +18 173 262 +18 174 2215 +18 175 7784 +18 176 866 +18 177 7345 +18 178 314 +18 179 5660 +18 180 839 +18 181 10691 +18 182 2058 +18 183 15451 +18 184 1213 +18 185 78 +18 186 3752 +18 187 4259 +18 188 4005 +18 189 117 +18 190 214 +18 191 4872 +18 192 4954 +18 193 1911 +18 194 579 +18 195 1932 +18 196 222 +18 197 1815 +18 198 30980 +18 199 5546 +18 200 10 +18 201 1020 +18 202 85 +18 203 1033 +18 204 1799 +18 205 1168 +18 206 235 +18 207 8845 +18 208 6854 +18 209 31056 +18 210 213 +18 211 121 +18 212 23540 +18 213 2714 +18 214 2215 +18 215 1126 +18 216 485 +18 217 14387 +18 218 1446 +18 219 12320 +18 220 1585 +18 221 152 +18 222 23 +18 223 2277 +18 224 24 +18 225 8452 +18 226 4842 +18 227 323 +18 228 1050 +18 229 7145 +18 230 2309 +18 231 1752 +18 232 4376 +18 233 3332 +18 234 19926 +18 235 2007 +18 236 5355 +18 237 4539 +18 238 322 +18 239 1366 +18 240 6324 +18 241 985 +18 242 85 +18 243 137 +18 244 9519 +18 245 797 +18 246 48 +18 247 308 +18 248 165 +18 249 63 +18 250 1922 +18 251 1060 +18 252 20321 +18 253 24727 +18 254 1462 +18 255 112 +19 0 52 +19 1 25924 +19 2 7879 +19 3 9757 +19 4 3237 +19 5 382 +19 6 1007 +19 7 738 +19 8 137 +19 9 297 +19 10 15802 +19 11 8718 +19 12 3987 +19 13 231 +19 14 1398 +19 15 3673 +19 16 4495 +19 17 29565 +19 18 211 +19 19 69 +19 20 6261 +19 21 3736 +19 22 10483 +19 23 34479 +19 24 4407 +19 25 4874 +19 26 5920 +19 27 8006 +19 28 6597 +19 29 927 +19 30 1138 +19 31 390 +19 32 667 +19 33 20865 +19 34 8686 +19 35 24285 +19 36 1980 +19 37 26699 +19 38 5628 +19 39 1276 +19 40 6510 +19 41 1152 +19 42 502 +19 43 7181 +19 44 937 +19 45 233 +19 46 2293 +19 47 13833 +19 48 4135 +19 49 2143 +19 50 3232 +19 51 468 +19 52 5627 +19 53 15411 +19 54 6286 +19 55 12747 +19 56 658 +19 57 10887 +19 58 250 +19 59 24232 +19 60 8732 +19 61 14013 +19 62 271 +19 63 4327 +19 64 3247 +19 65 194 +19 66 1019 +19 67 4150 +19 68 53 +19 69 216 +19 70 379 +19 71 1972 +19 72 1035 +19 73 226 +19 74 7497 +19 75 3102 +19 76 2782 +19 77 2987 +19 78 818 +19 79 10369 +19 80 3920 +19 81 1089 +19 82 7715 +19 83 894 +19 84 3580 +19 85 4264 +19 86 481 +19 87 32799 +19 88 7058 +19 89 2618 +19 90 8247 +19 91 3111 +19 92 4154 +19 93 419 +19 94 2619 +19 95 1458 +19 96 1396 +19 97 2883 +19 98 1381 +19 99 12986 +19 100 3405 +19 101 176 +19 102 1125 +19 103 83 +19 104 190 +19 105 2483 +19 106 154 +19 107 138 +19 108 1733 +19 109 1355 +19 110 7101 +19 111 50 +19 112 228 +19 113 126 +19 114 1129 +19 115 907 +19 116 2423 +19 117 3320 +19 118 12681 +19 119 383 +19 120 3045 +19 121 2336 +19 122 2067 +19 123 718 +19 124 5843 +19 125 529 +19 126 61 +19 127 34 +19 128 67 +19 129 1025 +19 130 5646 +19 131 96 +19 132 2840 +19 133 2906 +19 134 9280 +19 135 4793 +19 136 163 +19 137 16021 +19 138 396 +19 139 4872 +19 140 186 +19 141 218 +19 142 2571 +19 143 15842 +19 144 2640 +19 145 11 +19 146 4694 +19 147 64 +19 148 1805 +19 149 2128 +19 150 2198 +19 151 2119 +19 152 73 +19 153 14159 +19 154 14941 +19 155 88 +19 156 1650 +19 157 2471 +19 158 5941 +19 159 1785 +19 160 7485 +19 161 202 +19 162 3927 +19 163 3319 +19 164 24 +19 165 418 +19 166 3304 +19 167 2682 +19 168 102 +19 169 5426 +19 170 128 +19 171 308 +19 172 169 +19 173 4777 +19 174 2027 +19 175 67 +19 176 1281 +19 177 3384 +19 178 762 +19 179 1963 +19 180 1710 +19 181 1023 +19 182 1011 +19 183 10090 +19 184 17500 +19 185 71 +19 186 1360 +19 187 37 +19 188 6600 +19 189 1463 +19 190 4819 +19 191 425 +19 192 353 +19 193 1169 +19 194 1828 +19 195 542 +19 196 14722 +19 197 4002 +19 198 1501 +19 199 1397 +19 200 540 +19 201 476 +19 202 3655 +19 203 2207 +19 204 2003 +19 205 204 +19 206 13930 +19 207 2064 +19 208 704 +19 209 21037 +19 210 199 +19 211 10252 +19 212 1206 +19 213 604 +19 214 1364 +19 215 12655 +19 216 7075 +19 217 2847 +19 218 3104 +19 219 4908 +19 220 49001 +19 221 1134 +19 222 516 +19 223 538 +19 224 5072 +19 225 2482 +19 226 4763 +19 227 6531 +19 228 2235 +19 229 1600 +19 230 733 +19 231 2581 +19 232 183 +19 233 462 +19 234 4168 +19 235 2783 +19 236 2542 +19 237 2986 +19 238 1053 +19 239 2361 +19 240 9398 +19 241 8710 +19 242 652 +19 243 348 +19 244 1713 +19 245 4236 +19 246 233 +19 247 6995 +19 248 1237 +19 249 5613 +19 250 2575 +19 251 4559 +19 252 688 +19 253 9678 +19 254 1359 +19 255 1077 +20 0 1871 +20 1 1340 +20 2 67 +20 3 1810 +20 4 260 +20 5 18 +20 6 499 +20 7 2798 +20 8 8349 +20 9 13838 +20 10 6456 +20 11 2534 +20 12 2115 +20 13 95 +20 14 173 +20 15 155 +20 16 5223 +20 17 9674 +20 18 1374 +20 19 353 +20 20 553 +20 21 493 +20 22 358 +20 23 3721 +20 24 1758 +20 25 279 +20 26 14879 +20 27 16 +20 28 105 +20 29 519 +20 30 308 +20 31 18 +20 32 139 +20 33 5348 +20 34 12 +20 35 2519 +20 36 4139 +20 37 584 +20 38 2992 +20 39 259 +20 40 6331 +20 41 23859 +20 42 14237 +20 43 60 +20 44 878 +20 45 4912 +20 46 7432 +20 47 7564 +20 48 917 +20 49 2735 +20 50 1819 +20 51 1016 +20 52 4108 +20 53 24437 +20 54 461 +20 55 114 +20 56 4725 +20 57 110 +20 58 1039 +20 59 23867 +20 60 5391 +20 61 4149 +20 62 2765 +20 63 1789 +20 64 408 +20 65 5583 +20 66 6083 +20 67 142 +20 68 3267 +20 69 257 +20 70 13972 +20 71 10227 +20 72 2076 +20 73 2053 +20 74 178 +20 75 5426 +20 76 257 +20 77 105 +20 78 2549 +20 79 761 +20 80 3986 +20 81 4293 +20 82 249 +20 83 12295 +20 84 57 +20 85 5353 +20 86 2304 +20 87 82 +20 88 155 +20 89 5810 +20 90 1130 +20 91 7308 +20 92 7309 +20 93 168 +20 94 1282 +20 95 2398 +20 96 179 +20 97 244 +20 98 6531 +20 99 4209 +20 100 1745 +20 101 4008 +20 102 919 +20 103 2508 +20 104 1393 +20 105 427 +20 106 606 +20 107 2242 +20 108 1392 +20 109 106 +20 110 280 +20 111 97 +20 112 4149 +20 113 289 +20 114 1797 +20 115 9582 +20 116 1821 +20 117 28225 +20 118 474 +20 119 53140 +20 120 1928 +20 121 12978 +20 122 784 +20 123 27730 +20 124 148 +20 125 90 +20 126 4538 +20 127 2934 +20 128 299 +20 129 1566 +20 130 404 +20 131 506 +20 132 312 +20 133 4068 +20 134 710 +20 135 6813 +20 136 388 +20 137 643 +20 138 1547 +20 139 3911 +20 140 814 +20 141 2107 +20 142 3728 +20 143 12694 +20 144 1734 +20 145 6080 +20 146 4170 +20 147 16397 +20 148 306 +20 149 6559 +20 150 7082 +20 151 29195 +20 152 1335 +20 153 397 +20 154 665 +20 155 3380 +20 156 374 +20 157 6023 +20 158 2475 +20 159 2592 +20 160 496 +20 161 142 +20 162 132 +20 163 6254 +20 164 434 +20 165 3361 +20 166 75 +20 167 3264 +20 168 3389 +20 169 74 +20 170 4725 +20 171 4743 +20 172 2991 +20 173 1986 +20 174 4156 +20 175 1602 +20 176 4964 +20 177 577 +20 178 205 +20 179 4921 +20 180 244 +20 181 1846 +20 182 7841 +20 183 296 +20 184 1319 +20 185 6327 +20 186 1518 +20 187 2862 +20 188 39 +20 189 2815 +20 190 1345 +20 191 2264 +20 192 762 +20 193 2073 +20 194 989 +20 195 308 +20 196 3099 +20 197 9197 +20 198 463 +20 199 2538 +20 200 2122 +20 201 89 +20 202 23360 +20 203 4070 +20 204 1254 +20 205 21362 +20 206 37909 +20 207 7879 +20 208 1728 +20 209 4481 +20 210 2138 +20 211 9998 +20 212 1088 +20 213 159 +20 214 3741 +20 215 9559 +20 216 20023 +20 217 4095 +20 218 9585 +20 219 4249 +20 220 12087 +20 221 2729 +20 222 389 +20 223 5062 +20 224 18549 +20 225 16502 +20 226 40 +20 227 5485 +20 228 201 +20 229 2157 +20 230 1937 +20 231 2944 +20 232 6557 +20 233 4780 +20 234 4051 +20 235 4313 +20 236 13811 +20 237 4556 +20 238 3998 +20 239 3460 +20 240 472 +20 241 273 +20 242 6015 +20 243 293 +20 244 883 +20 245 4881 +20 246 7938 +20 247 2881 +20 248 40619 +20 249 4790 +20 250 1131 +20 251 5245 +20 252 1346 +20 253 5107 +20 254 623 +20 255 124 +21 0 434 +21 1 691 +21 2 4049 +21 3 473 +21 4 240 +21 5 871 +21 6 74217 +21 7 2789 +21 8 805 +21 9 58 +21 10 278 +21 11 86 +21 12 1682 +21 13 5132 +21 14 2568 +21 15 138 +21 16 642 +21 17 867 +21 18 2133 +21 19 3438 +21 20 88 +21 21 6660 +21 22 3610 +21 23 1001 +21 24 1217 +21 25 836 +21 26 1250 +21 27 203 +21 28 4 +21 29 4281 +21 30 748 +21 31 3537 +21 32 4711 +21 33 238 +21 34 1692 +21 35 831 +21 36 1134 +21 37 684 +21 38 1123 +21 39 2329 +21 40 690 +21 41 39 +21 42 12384 +21 43 3743 +21 44 57764 +21 45 2694 +21 46 188 +21 47 2043 +21 48 7482 +21 49 36 +21 50 139 +21 51 188 +21 52 14148 +21 53 2811 +21 54 5092 +21 55 2357 +21 56 8746 +21 57 29 +21 58 913 +21 59 59 +21 60 1026 +21 61 10086 +21 62 5347 +21 63 16117 +21 64 43 +21 65 265 +21 66 3827 +21 67 438 +21 68 1859 +21 69 3917 +21 70 173 +21 71 4777 +21 72 5121 +21 73 5707 +21 74 631 +21 75 34 +21 76 2884 +21 77 5691 +21 78 4657 +21 79 275 +21 80 14769 +21 81 6182 +21 82 2444 +21 83 811 +21 84 35 +21 85 169 +21 86 838 +21 87 123 +21 88 5107 +21 89 8 +21 90 297 +21 91 11943 +21 92 128 +21 93 84 +21 94 4658 +21 95 6281 +21 96 4094 +21 97 52 +21 98 417 +21 99 647 +21 100 317 +21 101 4296 +21 102 488 +21 103 4029 +21 104 238 +21 105 1156 +21 106 2047 +21 107 1512 +21 108 3572 +21 109 851 +21 110 16 +21 111 5907 +21 112 6105 +21 113 1299 +21 114 112 +21 115 8455 +21 116 1004 +21 117 5805 +21 118 170 +21 119 6231 +21 120 61 +21 121 205 +21 122 7190 +21 123 197 +21 124 97 +21 125 19732 +21 126 6363 +21 127 1308 +21 128 993 +21 129 2928 +21 130 51 +21 131 8049 +21 132 5301 +21 133 433 +21 134 222 +21 135 497 +21 136 1764 +21 137 2921 +21 138 123 +21 139 11921 +21 140 5339 +21 141 3032 +21 142 65681 +21 143 960 +21 144 48 +21 145 311 +21 146 917 +21 147 405 +21 148 3323 +21 149 544 +21 150 55 +21 151 553 +21 152 557 +21 153 1200 +21 154 1786 +21 155 2490 +21 156 2558 +21 157 2751 +21 158 5423 +21 159 211 +21 160 8511 +21 161 116 +21 162 2490 +21 163 918 +21 164 5856 +21 165 28688 +21 166 16453 +21 167 89 +21 168 712 +21 169 15993 +21 170 1898 +21 171 1532 +21 172 20945 +21 173 56 +21 174 1244 +21 175 65 +21 176 76 +21 177 5203 +21 178 2669 +21 179 928 +21 180 7570 +21 181 1443 +21 182 1478 +21 183 11883 +21 184 3839 +21 185 8998 +21 186 9095 +21 187 1858 +21 188 7646 +21 189 5988 +21 190 6091 +21 191 2407 +21 192 311 +21 193 40 +21 194 6379 +21 195 417 +21 196 6554 +21 197 832 +21 198 636 +21 199 103 +21 200 1358 +21 201 3137 +21 202 111 +21 203 2006 +21 204 1254 +21 205 41457 +21 206 4004 +21 207 16614 +21 208 4828 +21 209 2987 +21 210 6021 +21 211 2818 +21 212 544 +21 213 2418 +21 214 841 +21 215 1971 +21 216 9075 +21 217 1848 +21 218 274 +21 219 392 +21 220 97 +21 221 4047 +21 222 1918 +21 223 76 +21 224 3452 +21 225 1422 +21 226 1846 +21 227 4266 +21 228 11913 +21 229 216 +21 230 17055 +21 231 3827 +21 232 2453 +21 233 12439 +21 234 122 +21 235 11907 +21 236 643 +21 237 658 +21 238 201 +21 239 1829 +21 240 3576 +21 241 3149 +21 242 3633 +21 243 22650 +21 244 14001 +21 245 15180 +21 246 1790 +21 247 1194 +21 248 1905 +21 249 408 +21 250 26360 +21 251 21631 +21 252 3541 +21 253 440 +21 254 1041 +21 255 2521 +22 0 4349 +22 1 6975 +22 2 306 +22 3 1357 +22 4 2257 +22 5 2656 +22 6 1541 +22 7 3131 +22 8 871 +22 9 1238 +22 10 861 +22 11 1580 +22 12 4109 +22 13 35516 +22 14 1289 +22 15 2551 +22 16 213 +22 17 3254 +22 18 490 +22 19 3728 +22 20 14428 +22 21 886 +22 22 2951 +22 23 6702 +22 24 1462 +22 25 1261 +22 26 13291 +22 27 1033 +22 28 18066 +22 29 1036 +22 30 267 +22 31 2999 +22 32 1002 +22 33 2385 +22 34 915 +22 35 710 +22 36 4979 +22 37 1896 +22 38 165 +22 39 107 +22 40 5489 +22 41 2992 +22 42 2493 +22 43 9662 +22 44 6516 +22 45 1437 +22 46 1734 +22 47 5143 +22 48 1131 +22 49 11003 +22 50 1433 +22 51 872 +22 52 1542 +22 53 13033 +22 54 652 +22 55 93 +22 56 12318 +22 57 7663 +22 58 72 +22 59 8202 +22 60 6982 +22 61 675 +22 62 971 +22 63 1650 +22 64 3746 +22 65 1597 +22 66 10698 +22 67 14177 +22 68 3725 +22 69 3563 +22 70 15099 +22 71 567 +22 72 196 +22 73 516 +22 74 30002 +22 75 230 +22 76 2228 +22 77 8527 +22 78 3503 +22 79 1360 +22 80 1623 +22 81 2795 +22 82 1879 +22 83 1494 +22 84 1817 +22 85 560 +22 86 2428 +22 87 58205 +22 88 1792 +22 89 862 +22 90 2243 +22 91 1151 +22 92 1628 +22 93 3628 +22 94 439 +22 95 1065 +22 96 20 +22 97 6391 +22 98 10111 +22 99 197 +22 100 793 +22 101 117 +22 102 3104 +22 103 3466 +22 104 1375 +22 105 361 +22 106 6568 +22 107 2219 +22 108 4755 +22 109 4219 +22 110 10604 +22 111 444 +22 112 214 +22 113 4962 +22 114 590 +22 115 876 +22 116 8936 +22 117 1602 +22 118 415 +22 119 3651 +22 120 2317 +22 121 1609 +22 122 2432 +22 123 689 +22 124 3490 +22 125 3488 +22 126 1612 +22 127 3225 +22 128 13104 +22 129 2190 +22 130 7463 +22 131 36 +22 132 10726 +22 133 1944 +22 134 9842 +22 135 6139 +22 136 7444 +22 137 12445 +22 138 851 +22 139 9480 +22 140 1668 +22 141 2337 +22 142 2045 +22 143 216 +22 144 9185 +22 145 1063 +22 146 5531 +22 147 381 +22 148 708 +22 149 148 +22 150 4054 +22 151 3870 +22 152 577 +22 153 362 +22 154 5840 +22 155 136 +22 156 14303 +22 157 2640 +22 158 27 +22 159 3614 +22 160 9471 +22 161 2749 +22 162 309 +22 163 4058 +22 164 1028 +22 165 4549 +22 166 1138 +22 167 2006 +22 168 3924 +22 169 3483 +22 170 6301 +22 171 11538 +22 172 1878 +22 173 4039 +22 174 527 +22 175 1556 +22 176 1164 +22 177 423 +22 178 669 +22 179 15224 +22 180 112 +22 181 6444 +22 182 2296 +22 183 2168 +22 184 3718 +22 185 727 +22 186 405 +22 187 3489 +22 188 1229 +22 189 4960 +22 190 10676 +22 191 1009 +22 192 7591 +22 193 37249 +22 194 4583 +22 195 5920 +22 196 226 +22 197 104 +22 198 6651 +22 199 3562 +22 200 5659 +22 201 17276 +22 202 2356 +22 203 1590 +22 204 1160 +22 205 14436 +22 206 4820 +22 207 5757 +22 208 1833 +22 209 189 +22 210 5586 +22 211 930 +22 212 4125 +22 213 8320 +22 214 12123 +22 215 3094 +22 216 2530 +22 217 534 +22 218 2395 +22 219 2492 +22 220 3986 +22 221 471 +22 222 521 +22 223 1212 +22 224 11704 +22 225 7557 +22 226 1414 +22 227 5563 +22 228 3602 +22 229 2782 +22 230 640 +22 231 836 +22 232 808 +22 233 6450 +22 234 7257 +22 235 9161 +22 236 6 +22 237 149 +22 238 4443 +22 239 10714 +22 240 855 +22 241 18811 +22 242 4990 +22 243 2259 +22 244 9845 +22 245 699 +22 246 2696 +22 247 128 +22 248 1714 +22 249 1206 +22 250 4626 +22 251 6191 +22 252 3893 +22 253 9803 +22 254 6253 +22 255 12022 +23 0 4139 +23 1 62 +23 2 1081 +23 3 4423 +23 4 718 +23 5 5080 +23 6 185 +23 7 2264 +23 8 317 +23 9 2271 +23 10 6935 +23 11 5239 +23 12 97 +23 13 5038 +23 14 8958 +23 15 4821 +23 16 6656 +23 17 4737 +23 18 3646 +23 19 3719 +23 20 4425 +23 21 71 +23 22 781 +23 23 86 +23 24 3197 +23 25 2814 +23 26 30319 +23 27 1276 +23 28 1255 +23 29 1305 +23 30 977 +23 31 6248 +23 32 738 +23 33 5025 +23 34 15219 +23 35 4968 +23 36 4388 +23 37 10526 +23 38 2061 +23 39 3708 +23 40 467 +23 41 1165 +23 42 403 +23 43 53725 +23 44 7937 +23 45 988 +23 46 2837 +23 47 473 +23 48 1285 +23 49 2113 +23 50 1324 +23 51 588 +23 52 4273 +23 53 103 +23 54 6302 +23 55 304 +23 56 987 +23 57 2160 +23 58 1777 +23 59 890 +23 60 13280 +23 61 8948 +23 62 5897 +23 63 6473 +23 64 3583 +23 65 553 +23 66 738 +23 67 200 +23 68 1211 +23 69 3121 +23 70 7341 +23 71 10176 +23 72 3446 +23 73 899 +23 74 742 +23 75 2056 +23 76 7323 +23 77 1424 +23 78 929 +23 79 2805 +23 80 9092 +23 81 435 +23 82 5943 +23 83 47 +23 84 660 +23 85 2721 +23 86 6771 +23 87 1356 +23 88 36153 +23 89 574 +23 90 1029 +23 91 4553 +23 92 1297 +23 93 3957 +23 94 5 +23 95 1088 +23 96 1526 +23 97 359 +23 98 5020 +23 99 9064 +23 100 7065 +23 101 32 +23 102 10304 +23 103 148 +23 104 1817 +23 105 1058 +23 106 2517 +23 107 1372 +23 108 1691 +23 109 5064 +23 110 101 +23 111 3299 +23 112 7325 +23 113 39 +23 114 2850 +23 115 5047 +23 116 3506 +23 117 566 +23 118 4292 +23 119 77 +23 120 7424 +23 121 3263 +23 122 457 +23 123 24716 +23 124 313 +23 125 4070 +23 126 1797 +23 127 2747 +23 128 3229 +23 129 8296 +23 130 994 +23 131 10862 +23 132 1205 +23 133 5328 +23 134 10510 +23 135 32985 +23 136 9427 +23 137 523 +23 138 1553 +23 139 746 +23 140 424 +23 141 26088 +23 142 4232 +23 143 1487 +23 144 4081 +23 145 1876 +23 146 11447 +23 147 1558 +23 148 1421 +23 149 767 +23 150 1112 +23 151 4913 +23 152 5032 +23 153 2089 +23 154 3166 +23 155 2550 +23 156 6930 +23 157 9206 +23 158 5271 +23 159 12098 +23 160 297 +23 161 6463 +23 162 3301 +23 163 2703 +23 164 4344 +23 165 863 +23 166 314 +23 167 12917 +23 168 4247 +23 169 10682 +23 170 12569 +23 171 7808 +23 172 6160 +23 173 1740 +23 174 7852 +23 175 6891 +23 176 16348 +23 177 11839 +23 178 1199 +23 179 469 +23 180 6191 +23 181 336 +23 182 240 +23 183 5899 +23 184 9044 +23 185 84 +23 186 9612 +23 187 1989 +23 188 7954 +23 189 3024 +23 190 2026 +23 191 1236 +23 192 8443 +23 193 3903 +23 194 4470 +23 195 187 +23 196 1445 +23 197 11171 +23 198 1295 +23 199 10135 +23 200 19059 +23 201 5048 +23 202 6862 +23 203 2360 +23 204 2160 +23 205 2156 +23 206 2271 +23 207 2967 +23 208 1502 +23 209 2622 +23 210 3202 +23 211 91 +23 212 184 +23 213 1858 +23 214 904 +23 215 1033 +23 216 2026 +23 217 339 +23 218 4647 +23 219 586 +23 220 2731 +23 221 5091 +23 222 22448 +23 223 524 +23 224 1087 +23 225 4473 +23 226 1785 +23 227 234 +23 228 3204 +23 229 386 +23 230 1424 +23 231 1991 +23 232 57 +23 233 3831 +23 234 87 +23 235 91 +23 236 3153 +23 237 26262 +23 238 6595 +23 239 536 +23 240 965 +23 241 3525 +23 242 1215 +23 243 3638 +23 244 364 +23 245 91 +23 246 10520 +23 247 1119 +23 248 2971 +23 249 1005 +23 250 4950 +23 251 1749 +23 252 490 +23 253 1163 +23 254 1980 +23 255 426 +24 0 827 +24 1 3640 +24 2 35719 +24 3 3179 +24 4 1555 +24 5 788 +24 6 17325 +24 7 6554 +24 8 2466 +24 9 8066 +24 10 316 +24 11 4329 +24 12 3191 +24 13 495 +24 14 1424 +24 15 28 +24 16 2120 +24 17 5327 +24 18 760 +24 19 114 +24 20 61793 +24 21 1943 +24 22 17367 +24 23 632 +24 24 5440 +24 25 111 +24 26 5403 +24 27 469 +24 28 259 +24 29 14328 +24 30 2039 +24 31 10653 +24 32 9811 +24 33 12838 +24 34 3100 +24 35 1097 +24 36 651 +24 37 5076 +24 38 5374 +24 39 1497 +24 40 236 +24 41 964 +24 42 1942 +24 43 752 +24 44 6267 +24 45 263 +24 46 2947 +24 47 3579 +24 48 1541 +24 49 683 +24 50 10990 +24 51 667 +24 52 828 +24 53 3237 +24 54 5959 +24 55 20641 +24 56 3072 +24 57 415 +24 58 3892 +24 59 990 +24 60 2044 +24 61 108 +24 62 2448 +24 63 6356 +24 64 585 +24 65 1645 +24 66 7108 +24 67 5265 +24 68 542 +24 69 224 +24 70 2391 +24 71 7145 +24 72 10549 +24 73 3438 +24 74 5306 +24 75 930 +24 76 13714 +24 77 2492 +24 78 3601 +24 79 1905 +24 80 4630 +24 81 5886 +24 82 2556 +24 83 623 +24 84 3323 +24 85 2594 +24 86 51 +24 87 12208 +24 88 2904 +24 89 1641 +24 90 230 +24 91 1061 +24 92 921 +24 93 1901 +24 94 4528 +24 95 1125 +24 96 479 +24 97 5429 +24 98 3174 +24 99 3280 +24 100 7739 +24 101 20733 +24 102 2256 +24 103 65274 +24 104 1443 +24 105 1492 +24 106 1274 +24 107 1391 +24 108 634 +24 109 307 +24 110 4648 +24 111 708 +24 112 2760 +24 113 2284 +24 114 1600 +24 115 15468 +24 116 713 +24 117 1490 +24 118 268 +24 119 5998 +24 120 4368 +24 121 93 +24 122 307 +24 123 324 +24 124 2434 +24 125 3833 +24 126 1263 +24 127 1985 +24 128 246 +24 129 2654 +24 130 343 +24 131 5075 +24 132 371 +24 133 11 +24 134 1853 +24 135 835 +24 136 8131 +24 137 6006 +24 138 2296 +24 139 302 +24 140 7584 +24 141 1687 +24 142 1570 +24 143 5710 +24 144 2188 +24 145 566 +24 146 1850 +24 147 4679 +24 148 5578 +24 149 4389 +24 150 6531 +24 151 2303 +24 152 79 +24 153 7569 +24 154 40 +24 155 5729 +24 156 293 +24 157 3385 +24 158 2671 +24 159 46 +24 160 8983 +24 161 117 +24 162 107 +24 163 11295 +24 164 925 +24 165 403 +24 166 3475 +24 167 1659 +24 168 2065 +24 169 677 +24 170 305 +24 171 153 +24 172 3273 +24 173 4161 +24 174 1928 +24 175 505 +24 176 4281 +24 177 6526 +24 178 15256 +24 179 816 +24 180 4547 +24 181 41 +24 182 122 +24 183 89 +24 184 1173 +24 185 1008 +24 186 10103 +24 187 4581 +24 188 2374 +24 189 9340 +24 190 2659 +24 191 511 +24 192 1944 +24 193 148 +24 194 1790 +24 195 4984 +24 196 973 +24 197 231 +24 198 4923 +24 199 514 +24 200 357 +24 201 2002 +24 202 86 +24 203 7857 +24 204 245 +24 205 2909 +24 206 2209 +24 207 277 +24 208 4669 +24 209 1442 +24 210 2448 +24 211 1185 +24 212 4035 +24 213 2309 +24 214 2911 +24 215 138 +24 216 1677 +24 217 4603 +24 218 835 +24 219 2082 +24 220 1870 +24 221 33503 +24 222 2763 +24 223 3 +24 224 19113 +24 225 2829 +24 226 1450 +24 227 362 +24 228 24008 +24 229 7257 +24 230 1911 +24 231 2357 +24 232 1093 +24 233 329 +24 234 2388 +24 235 2945 +24 236 1213 +24 237 863 +24 238 14754 +24 239 241 +24 240 4903 +24 241 811 +24 242 10188 +24 243 2032 +24 244 11049 +24 245 41 +24 246 419 +24 247 10926 +24 248 47563 +24 249 8579 +24 250 6328 +24 251 3496 +24 252 750 +24 253 2825 +24 254 3325 +24 255 11066 +25 0 5600 +25 1 7496 +25 2 2418 +25 3 4112 +25 4 278 +25 5 1897 +25 6 427 +25 7 1296 +25 8 1015 +25 9 169 +25 10 59 +25 11 476 +25 12 291 +25 13 3296 +25 14 238 +25 15 336 +25 16 4296 +25 17 677 +25 18 292 +25 19 98 +25 20 2544 +25 21 7452 +25 22 4971 +25 23 344 +25 24 745 +25 25 86 +25 26 3259 +25 27 140 +25 28 984 +25 29 60 +25 30 147 +25 31 169 +25 32 171 +25 33 3336 +25 34 68 +25 35 6186 +25 36 1081 +25 37 4410 +25 38 2312 +25 39 1871 +25 40 12171 +25 41 633 +25 42 3531 +25 43 6294 +25 44 1577 +25 45 1973 +25 46 2690 +25 47 22515 +25 48 69 +25 49 2523 +25 50 255 +25 51 367 +25 52 1850 +25 53 37 +25 54 47 +25 55 1163 +25 56 46075 +25 57 2989 +25 58 196 +25 59 30 +25 60 270 +25 61 39602 +25 62 355 +25 63 2685 +25 64 4520 +25 65 6403 +25 66 4579 +25 67 1624 +25 68 245 +25 69 130 +25 70 25234 +25 71 4566 +25 72 1862 +25 73 2015 +25 74 120 +25 75 851 +25 76 2768 +25 77 15319 +25 78 3530 +25 79 1068 +25 80 1164 +25 81 3014 +25 82 1192 +25 83 411 +25 84 2514 +25 85 281 +25 86 1923 +25 87 69333 +25 88 896 +25 89 1159 +25 90 119 +25 91 19752 +25 92 135 +25 93 13328 +25 94 9449 +25 95 610 +25 96 105 +25 97 3260 +25 98 39128 +25 99 218 +25 100 3861 +25 101 9604 +25 102 76 +25 103 4028 +25 104 8599 +25 105 1243 +25 106 356 +25 107 5088 +25 108 547 +25 109 214 +25 110 617 +25 111 4040 +25 112 1694 +25 113 3114 +25 114 943 +25 115 18540 +25 116 1868 +25 117 3058 +25 118 1382 +25 119 1592 +25 120 1360 +25 121 2875 +25 122 1047 +25 123 62 +25 124 2024 +25 125 182 +25 126 6839 +25 127 2042 +25 128 5058 +25 129 391 +25 130 775 +25 131 5082 +25 132 3576 +25 133 41 +25 134 1349 +25 135 10845 +25 136 309 +25 137 2053 +25 138 579 +25 139 2484 +25 140 6866 +25 141 1291 +25 142 1538 +25 143 430 +25 144 45 +25 145 103 +25 146 1371 +25 147 4395 +25 148 1894 +25 149 893 +25 150 53 +25 151 2624 +25 152 2659 +25 153 9421 +25 154 293 +25 155 9048 +25 156 442 +25 157 6687 +25 158 738 +25 159 2042 +25 160 3 +25 161 7287 +25 162 187 +25 163 100 +25 164 3641 +25 165 5566 +25 166 9466 +25 167 1631 +25 168 4959 +25 169 1709 +25 170 97 +25 171 2179 +25 172 487 +25 173 119 +25 174 20801 +25 175 524 +25 176 328 +25 177 16222 +25 178 11225 +25 179 410 +25 180 510 +25 181 5411 +25 182 3589 +25 183 11171 +25 184 536 +25 185 4792 +25 186 40 +25 187 714 +25 188 532 +25 189 1127 +25 190 34 +25 191 515 +25 192 5839 +25 193 14937 +25 194 1098 +25 195 3456 +25 196 501 +25 197 70931 +25 198 4899 +25 199 2144 +25 200 2120 +25 201 1381 +25 202 5445 +25 203 10211 +25 204 3020 +25 205 665 +25 206 3759 +25 207 1463 +25 208 1482 +25 209 1660 +25 210 1170 +25 211 4979 +25 212 1507 +25 213 5683 +25 214 6122 +25 215 5202 +25 216 770 +25 217 6165 +25 218 59 +25 219 4931 +25 220 3857 +25 221 10587 +25 222 6984 +25 223 773 +25 224 73432 +25 225 64 +25 226 1781 +25 227 3762 +25 228 2931 +25 229 618 +25 230 4764 +25 231 3603 +25 232 64 +25 233 5907 +25 234 2238 +25 235 182 +25 236 1274 +25 237 4992 +25 238 2450 +25 239 1509 +25 240 9593 +25 241 4187 +25 242 1432 +25 243 609 +25 244 9722 +25 245 142 +25 246 2323 +25 247 92 +25 248 3671 +25 249 5973 +25 250 414 +25 251 9807 +25 252 9396 +25 253 570 +25 254 1016 +25 255 435 +26 0 747 +26 1 610 +26 2 939 +26 3 1603 +26 4 5907 +26 5 4892 +26 6 7978 +26 7 118 +26 8 7664 +26 9 23642 +26 10 4119 +26 11 165 +26 12 2250 +26 13 104 +26 14 141 +26 15 365 +26 16 242 +26 17 1912 +26 18 7961 +26 19 17696 +26 20 9139 +26 21 55 +26 22 2107 +26 23 139 +26 24 244 +26 25 30 +26 26 1372 +26 27 283 +26 28 1580 +26 29 2677 +26 30 45783 +26 31 2089 +26 32 2001 +26 33 207 +26 34 590 +26 35 4609 +26 36 49 +26 37 1096 +26 38 4662 +26 39 227 +26 40 3087 +26 41 811 +26 42 682 +26 43 856 +26 44 6519 +26 45 1871 +26 46 5389 +26 47 306 +26 48 12086 +26 49 11586 +26 50 47395 +26 51 314 +26 52 2029 +26 53 9075 +26 54 653 +26 55 218 +26 56 9366 +26 57 6653 +26 58 4520 +26 59 3383 +26 60 2266 +26 61 424 +26 62 150 +26 63 1503 +26 64 506 +26 65 6407 +26 66 3638 +26 67 6874 +26 68 1934 +26 69 73 +26 70 936 +26 71 1489 +26 72 8601 +26 73 9761 +26 74 174 +26 75 103 +26 76 10721 +26 77 2398 +26 78 1214 +26 79 5741 +26 80 103 +26 81 4601 +26 82 706 +26 83 1772 +26 84 1637 +26 85 1856 +26 86 2655 +26 87 2300 +26 88 1741 +26 89 175 +26 90 708 +26 91 1456 +26 92 9600 +26 93 60 +26 94 1332 +26 95 31838 +26 96 14371 +26 97 1123 +26 98 119 +26 99 1651 +26 100 66 +26 101 3907 +26 102 11289 +26 103 2295 +26 104 989 +26 105 5213 +26 106 5764 +26 107 5795 +26 108 117 +26 109 571 +26 110 2270 +26 111 1883 +26 112 4188 +26 113 5162 +26 114 79 +26 115 1754 +26 116 492 +26 117 6662 +26 118 786 +26 119 4140 +26 120 28 +26 121 153 +26 122 100 +26 123 975 +26 124 5558 +26 125 13821 +26 126 147 +26 127 769 +26 128 1577 +26 129 66 +26 130 126 +26 131 716 +26 132 6633 +26 133 6388 +26 134 195 +26 135 308 +26 136 1771 +26 137 1775 +26 138 2859 +26 139 46 +26 140 3840 +26 141 542 +26 142 4706 +26 143 15145 +26 144 9202 +26 145 33119 +26 146 3924 +26 147 3598 +26 148 5635 +26 149 27194 +26 150 2003 +26 151 615 +26 152 3521 +26 153 1612 +26 154 904 +26 155 2751 +26 156 790 +26 157 2997 +26 158 247 +26 159 3480 +26 160 3340 +26 161 971 +26 162 1142 +26 163 2285 +26 164 185 +26 165 1405 +26 166 1721 +26 167 3709 +26 168 605 +26 169 223 +26 170 437 +26 171 15871 +26 172 2209 +26 173 56 +26 174 20 +26 175 9404 +26 176 3872 +26 177 809 +26 178 94 +26 179 2727 +26 180 5116 +26 181 13406 +26 182 5305 +26 183 16900 +26 184 763 +26 185 5905 +26 186 39 +26 187 401 +26 188 199 +26 189 7172 +26 190 26860 +26 191 14894 +26 192 735 +26 193 1128 +26 194 29975 +26 195 290 +26 196 12152 +26 197 27537 +26 198 6085 +26 199 112 +26 200 2157 +26 201 1527 +26 202 16035 +26 203 3794 +26 204 115 +26 205 1972 +26 206 252 +26 207 6013 +26 208 103 +26 209 2784 +26 210 209 +26 211 1477 +26 212 1106 +26 213 1207 +26 214 13705 +26 215 16288 +26 216 1270 +26 217 3565 +26 218 2884 +26 219 1480 +26 220 1947 +26 221 278 +26 222 350 +26 223 6344 +26 224 10481 +26 225 1993 +26 226 65723 +26 227 143 +26 228 1905 +26 229 1236 +26 230 1010 +26 231 13414 +26 232 1792 +26 233 123 +26 234 682 +26 235 2778 +26 236 3492 +26 237 4385 +26 238 5722 +26 239 677 +26 240 321 +26 241 2051 +26 242 664 +26 243 472 +26 244 1446 +26 245 1034 +26 246 307 +26 247 4429 +26 248 468 +26 249 407 +26 250 438 +26 251 565 +26 252 406 +26 253 1229 +26 254 2418 +26 255 860 +27 0 2086 +27 1 489 +27 2 28078 +27 3 13088 +27 4 196 +27 5 1971 +27 6 823 +27 7 41 +27 8 1613 +27 9 374 +27 10 43 +27 11 2744 +27 12 12117 +27 13 529 +27 14 332 +27 15 87 +27 16 2549 +27 17 1214 +27 18 13194 +27 19 2120 +27 20 1531 +27 21 3389 +27 22 4554 +27 23 7264 +27 24 2277 +27 25 2237 +27 26 2947 +27 27 2771 +27 28 6124 +27 29 2432 +27 30 7400 +27 31 5571 +27 32 54 +27 33 3598 +27 34 5961 +27 35 16001 +27 36 680 +27 37 4117 +27 38 1140 +27 39 460 +27 40 828 +27 41 9407 +27 42 762 +27 43 426 +27 44 2060 +27 45 1784 +27 46 3609 +27 47 1230 +27 48 3862 +27 49 2051 +27 50 2358 +27 51 12955 +27 52 4337 +27 53 1282 +27 54 1359 +27 55 16253 +27 56 33491 +27 57 1996 +27 58 914 +27 59 1476 +27 60 1927 +27 61 5632 +27 62 627 +27 63 367 +27 64 6710 +27 65 2658 +27 66 2152 +27 67 455 +27 68 1318 +27 69 7280 +27 70 1138 +27 71 888 +27 72 366 +27 73 205 +27 74 2444 +27 75 1930 +27 76 3318 +27 77 275 +27 78 8524 +27 79 8309 +27 80 27942 +27 81 3420 +27 82 778 +27 83 3780 +27 84 32 +27 85 38084 +27 86 2119 +27 87 4770 +27 88 57 +27 89 4095 +27 90 875 +27 91 56 +27 92 182 +27 93 13019 +27 94 3870 +27 95 18097 +27 96 2406 +27 97 4205 +27 98 2000 +27 99 3590 +27 100 339 +27 101 2495 +27 102 4688 +27 103 4292 +27 104 207 +27 105 188 +27 106 1061 +27 107 77 +27 108 3455 +27 109 1425 +27 110 2247 +27 111 2924 +27 112 9889 +27 113 11 +27 114 16782 +27 115 2757 +27 116 2758 +27 117 7764 +27 118 39 +27 119 7686 +27 120 2069 +27 121 1567 +27 122 87 +27 123 892 +27 124 3627 +27 125 1181 +27 126 3425 +27 127 3687 +27 128 27980 +27 129 417 +27 130 6881 +27 131 2327 +27 132 15133 +27 133 592 +27 134 8886 +27 135 1327 +27 136 1818 +27 137 2148 +27 138 194 +27 139 1279 +27 140 10180 +27 141 2878 +27 142 1647 +27 143 1038 +27 144 1874 +27 145 1677 +27 146 6211 +27 147 453 +27 148 37 +27 149 669 +27 150 2036 +27 151 529 +27 152 103 +27 153 2838 +27 154 6672 +27 155 1088 +27 156 10328 +27 157 1893 +27 158 941 +27 159 539 +27 160 268 +27 161 2748 +27 162 176 +27 163 3093 +27 164 53 +27 165 1685 +27 166 1799 +27 167 2121 +27 168 6193 +27 169 12263 +27 170 1871 +27 171 5102 +27 172 2056 +27 173 2240 +27 174 2548 +27 175 340 +27 176 247 +27 177 3786 +27 178 4351 +27 179 8433 +27 180 4368 +27 181 2014 +27 182 2898 +27 183 2024 +27 184 8856 +27 185 34471 +27 186 463 +27 187 3793 +27 188 9711 +27 189 50878 +27 190 18778 +27 191 10291 +27 192 24 +27 193 4 +27 194 704 +27 195 4281 +27 196 1749 +27 197 8184 +27 198 181 +27 199 121 +27 200 4007 +27 201 128 +27 202 217 +27 203 3371 +27 204 751 +27 205 136 +27 206 16251 +27 207 25 +27 208 5207 +27 209 2799 +27 210 132 +27 211 526 +27 212 434 +27 213 475 +27 214 93 +27 215 1092 +27 216 133 +27 217 3054 +27 218 110108 +27 219 39 +27 220 4520 +27 221 288 +27 222 1133 +27 223 1008 +27 224 298 +27 225 1773 +27 226 2992 +27 227 203 +27 228 2104 +27 229 2110 +27 230 249 +27 231 211 +27 232 73 +27 233 3062 +27 234 76 +27 235 53 +27 236 629 +27 237 1600 +27 238 1943 +27 239 1393 +27 240 5168 +27 241 3420 +27 242 1765 +27 243 2193 +27 244 1901 +27 245 2253 +27 246 653 +27 247 1953 +27 248 3025 +27 249 6273 +27 250 1539 +27 251 546 +27 252 79 +27 253 182 +27 254 19716 +27 255 1464 +28 0 2651 +28 2 1205 +28 3 1091 +28 4 7610 +28 5 852 +28 6 856 +28 7 107 +28 8 152 +28 9 181 +28 10 10202 +28 11 201 +28 12 4243 +28 13 1961 +28 14 2726 +28 15 2645 +28 16 1798 +28 17 142 +28 18 10120 +28 19 115 +28 20 1566 +28 21 322 +28 22 3941 +28 23 22117 +28 24 923 +28 25 29 +28 26 6053 +28 27 23 +28 28 2897 +28 29 2482 +28 30 322 +28 31 339 +28 32 99 +28 33 3026 +28 34 932 +28 35 623 +28 36 1678 +28 37 1201 +28 38 5902 +28 39 10641 +28 40 3046 +28 41 42275 +28 42 157 +28 43 1355 +28 44 172 +28 45 2880 +28 46 828 +28 47 2604 +28 48 5720 +28 49 9510 +28 50 17104 +28 51 1089 +28 52 148 +28 53 8271 +28 54 1718 +28 55 823 +28 56 8983 +28 57 2230 +28 58 8488 +28 59 6891 +28 60 25889 +28 61 6108 +28 62 4243 +28 63 1857 +28 64 134 +28 65 6514 +28 66 2566 +28 67 3451 +28 68 573 +28 69 51 +28 70 5551 +28 71 6906 +28 72 14395 +28 73 2466 +28 74 9942 +28 75 4253 +28 76 272 +28 77 131 +28 78 3625 +28 79 517 +28 80 9109 +28 81 4039 +28 82 323 +28 83 6334 +28 84 1591 +28 85 2517 +28 86 309 +28 87 3747 +28 88 12533 +28 89 4364 +28 90 66 +28 91 1320 +28 92 4296 +28 93 2400 +28 94 128 +28 95 6282 +28 96 3784 +28 97 123 +28 98 134 +28 99 473 +28 100 180 +28 101 41233 +28 102 778 +28 103 228 +28 104 46 +28 105 58600 +28 106 3635 +28 107 1531 +28 108 744 +28 109 3316 +28 110 689 +28 111 2479 +28 112 921 +28 113 19134 +28 114 6204 +28 115 9 +28 116 2889 +28 117 4258 +28 118 56 +28 119 3849 +28 120 1319 +28 121 1474 +28 122 3476 +28 123 311 +28 124 2516 +28 125 47 +28 126 1045 +28 127 617 +28 128 304 +28 129 1319 +28 130 66454 +28 131 1868 +28 132 177 +28 133 1966 +28 134 1293 +28 135 1784 +28 136 203 +28 137 2163 +28 138 3251 +28 139 143 +28 140 3014 +28 141 9853 +28 142 584 +28 143 3268 +28 144 3720 +28 145 10504 +28 146 974 +28 147 3176 +28 148 863 +28 149 3178 +28 150 1238 +28 151 1214 +28 152 1273 +28 153 21707 +28 154 281 +28 155 65 +28 156 3912 +28 157 9132 +28 158 15402 +28 159 645 +28 160 827 +28 161 1605 +28 162 1832 +28 163 2507 +28 164 4815 +28 165 2987 +28 166 1390 +28 167 200 +28 168 786 +28 169 859 +28 170 1202 +28 171 1719 +28 172 113 +28 173 13299 +28 174 4509 +28 175 1629 +28 176 421 +28 177 2440 +28 178 16731 +28 179 6412 +28 180 3177 +28 181 2094 +28 182 1294 +28 183 3834 +28 184 232 +28 185 2902 +28 186 4469 +28 187 3856 +28 188 604 +28 189 2651 +28 190 3632 +28 191 93 +28 192 2395 +28 193 2069 +28 194 4340 +28 195 753 +28 196 609 +28 197 247 +28 198 849 +28 199 22 +28 200 1469 +28 201 4871 +28 202 47 +28 203 1710 +28 204 9854 +28 205 272 +28 206 12 +28 207 130 +28 208 14542 +28 209 1119 +28 210 5663 +28 211 1506 +28 212 3404 +28 213 1862 +28 214 2766 +28 215 2473 +28 216 4509 +28 217 6599 +28 218 25767 +28 219 6932 +28 220 6646 +28 221 261 +28 222 13823 +28 223 146 +28 224 1975 +28 225 2473 +28 226 102 +28 227 5402 +28 228 5270 +28 229 14641 +28 230 5116 +28 231 39 +28 232 7301 +28 233 27723 +28 234 6028 +28 235 11086 +28 236 19074 +28 237 1794 +28 238 1870 +28 239 875 +28 240 73 +28 241 4133 +28 242 550 +28 243 2553 +28 244 309 +28 245 1881 +28 246 1776 +28 247 2990 +28 248 4303 +28 249 176 +28 250 4523 +28 251 242 +28 252 1259 +28 253 2919 +28 254 7885 +28 255 11537 +29 0 3154 +29 1 614 +29 2 540 +29 3 27 +29 4 11205 +29 5 1351 +29 6 102 +29 7 246 +29 8 182 +29 9 4368 +29 10 2301 +29 11 11079 +29 12 926 +29 13 461 +29 14 10488 +29 15 2144 +29 16 353 +29 17 1984 +29 18 2853 +29 19 6791 +29 20 1213 +29 21 2891 +29 22 27836 +29 23 478 +29 24 36 +29 25 1228 +29 26 3462 +29 27 3854 +29 28 421 +29 29 3042 +29 30 2072 +29 31 606 +29 32 966 +29 33 1926 +29 34 1946 +29 35 24884 +29 36 3383 +29 37 93032 +29 38 4473 +29 39 4945 +29 40 306 +29 41 68 +29 42 2250 +29 43 3051 +29 44 162 +29 45 15302 +29 46 4567 +29 47 1286 +29 48 509 +29 49 4732 +29 50 175 +29 51 349 +29 52 316 +29 53 6115 +29 54 14048 +29 55 280 +29 56 393 +29 57 4524 +29 58 562 +29 59 1553 +29 60 3256 +29 61 1763 +29 62 5117 +29 63 501 +29 64 3008 +29 65 755 +29 66 4577 +29 67 32 +29 68 253 +29 69 930 +29 70 15 +29 71 46173 +29 72 964 +29 73 8844 +29 74 1455 +29 75 306 +29 76 2438 +29 77 274 +29 78 2240 +29 79 872 +29 80 69 +29 81 79 +29 82 83 +29 83 138 +29 84 47166 +29 85 141 +29 86 979 +29 87 1175 +29 88 3404 +29 89 18097 +29 90 158 +29 91 4536 +29 92 227 +29 93 946 +29 94 6211 +29 95 1423 +29 96 1345 +29 97 558 +29 98 722 +29 99 2408 +29 100 399 +29 101 2424 +29 102 3262 +29 103 3397 +29 104 2815 +29 105 132 +29 106 2162 +29 107 327 +29 108 493 +29 109 291 +29 110 3877 +29 111 1601 +29 112 2955 +29 113 138 +29 114 2464 +29 115 2028 +29 116 1559 +29 117 11292 +29 118 4434 +29 119 5836 +29 120 10626 +29 121 937 +29 122 2901 +29 123 455 +29 124 2400 +29 125 2458 +29 126 9093 +29 127 4151 +29 128 601 +29 129 783 +29 130 1416 +29 131 9932 +29 132 830 +29 133 102 +29 134 4902 +29 135 479 +29 136 502 +29 137 929 +29 138 233 +29 139 238 +29 140 10762 +29 141 3707 +29 142 1662 +29 143 157 +29 144 833 +29 145 584 +29 146 506 +29 147 204 +29 148 11383 +29 149 60717 +29 150 10439 +29 151 2472 +29 152 3592 +29 153 2376 +29 154 798 +29 155 5863 +29 156 10976 +29 157 5108 +29 158 3147 +29 159 1302 +29 160 21337 +29 161 460 +29 162 10068 +29 163 181 +29 164 3781 +29 165 633 +29 166 27 +29 167 3762 +29 168 11973 +29 169 2287 +29 170 16238 +29 171 8419 +29 172 2033 +29 173 3771 +29 174 220 +29 175 2402 +29 176 784 +29 177 8864 +29 178 4276 +29 179 90 +29 180 3212 +29 181 342 +29 182 2180 +29 183 2109 +29 184 3371 +29 185 4339 +29 186 2398 +29 187 267 +29 188 3106 +29 189 216 +29 190 1767 +29 191 295 +29 192 1113 +29 193 49 +29 194 1377 +29 195 1038 +29 197 1748 +29 198 60988 +29 199 7664 +29 200 528 +29 201 4061 +29 202 4512 +29 203 926 +29 204 7499 +29 205 11 +29 206 1795 +29 207 510 +29 208 5715 +29 209 349 +29 210 14 +29 211 1708 +29 212 903 +29 213 4714 +29 214 3041 +29 215 58876 +29 216 3628 +29 217 212 +29 218 2255 +29 219 3862 +29 220 2838 +29 221 2331 +29 222 11606 +29 223 1267 +29 224 469 +29 225 7089 +29 226 2454 +29 227 751 +29 228 1259 +29 229 1490 +29 230 2708 +29 231 723 +29 232 7033 +29 233 1044 +29 234 5993 +29 235 1353 +29 236 1952 +29 237 344 +29 238 5559 +29 239 974 +29 240 1078 +29 241 352 +29 242 4283 +29 243 1325 +29 244 1208 +29 245 3354 +29 246 4420 +29 247 2103 +29 248 2632 +29 249 1506 +29 250 2604 +29 251 501 +29 252 5178 +29 253 1174 +29 254 285 +29 255 2725 +30 0 1989 +30 1 73 +30 2 243 +30 3 4854 +30 4 2230 +30 5 180 +30 6 4215 +30 7 48 +30 8 219 +30 9 76 +30 10 1660 +30 11 2430 +30 12 21 +30 13 29198 +30 14 465 +30 15 1704 +30 16 3632 +30 17 325 +30 18 10350 +30 19 12078 +30 20 280 +30 21 343 +30 22 68 +30 23 514 +30 24 32251 +30 25 1247 +30 26 26 +30 27 642 +30 28 946 +30 29 104 +30 30 537 +30 31 6383 +30 32 6246 +30 33 2902 +30 34 7492 +30 35 1709 +30 36 560 +30 37 27720 +30 38 48522 +30 39 3680 +30 40 4287 +30 41 502 +30 42 38995 +30 43 1290 +30 44 1984 +30 45 2635 +30 46 23984 +30 47 13516 +30 48 746 +30 49 227 +30 50 4111 +30 51 551 +30 52 3103 +30 53 1696 +30 54 93 +30 55 4436 +30 56 20 +30 57 10555 +30 58 2 +30 59 4464 +30 60 11247 +30 61 3477 +30 62 6737 +30 63 3663 +30 64 2600 +30 65 193 +30 66 7133 +30 67 3564 +30 68 168 +30 69 4337 +30 70 4000 +30 71 2331 +30 72 4124 +30 73 7062 +30 74 3238 +30 75 1937 +30 76 17 +30 77 147 +30 78 133 +30 79 7590 +30 80 1053 +30 81 117 +30 82 58283 +30 83 1337 +30 84 1744 +30 85 7321 +30 86 276 +30 87 6451 +30 88 2298 +30 89 1509 +30 90 3764 +30 91 9849 +30 92 4201 +30 93 2007 +30 94 2180 +30 95 879 +30 96 163 +30 97 2788 +30 98 756 +30 99 4115 +30 100 699 +30 101 356 +30 102 786 +30 103 464 +30 104 25020 +30 105 6637 +30 106 422 +30 107 316 +30 108 12882 +30 109 258 +30 110 1069 +30 111 1801 +30 112 3741 +30 113 1896 +30 114 177 +30 115 1953 +30 116 17453 +30 117 17909 +30 118 1966 +30 119 2511 +30 120 2348 +30 121 2184 +30 122 4705 +30 123 1699 +30 124 673 +30 125 174 +30 126 775 +30 127 1880 +30 128 4508 +30 129 9576 +30 130 2896 +30 131 159 +30 132 1537 +30 133 2295 +30 134 1782 +30 135 1838 +30 136 591 +30 137 8309 +30 138 1417 +30 139 21496 +30 140 82 +30 141 12066 +30 142 402 +30 143 9013 +30 144 2039 +30 145 438 +30 146 329 +30 147 237 +30 148 6678 +30 149 124 +30 150 457 +30 151 3670 +30 152 486 +30 153 342 +30 154 230 +30 155 1867 +30 156 1622 +30 157 391 +30 158 1903 +30 159 2311 +30 160 2264 +30 161 1210 +30 162 3789 +30 163 4159 +30 164 577 +30 165 594 +30 166 10068 +30 167 569 +30 168 53 +30 169 1319 +30 170 4747 +30 171 6915 +30 172 9005 +30 173 425 +30 174 1663 +30 175 5129 +30 176 1166 +30 177 2727 +30 178 58 +30 179 2281 +30 180 6211 +30 181 4465 +30 182 22142 +30 183 13934 +30 184 2259 +30 185 72 +30 186 2211 +30 187 2126 +30 188 2364 +30 189 97 +30 190 987 +30 191 1670 +30 192 4810 +30 193 2399 +30 194 1973 +30 195 5459 +30 196 317 +30 197 1995 +30 198 25865 +30 199 6452 +30 200 81 +30 201 2980 +30 202 220 +30 203 3347 +30 204 1806 +30 205 938 +30 206 919 +30 207 7370 +30 208 8821 +30 209 54063 +30 210 135 +30 211 54 +30 212 16651 +30 213 2626 +30 214 2193 +30 215 1957 +30 216 802 +30 217 20577 +30 218 216 +30 219 6672 +30 220 627 +30 221 354 +30 222 22 +30 223 2395 +30 224 25 +30 225 5977 +30 226 3439 +30 227 533 +30 228 894 +30 229 5117 +30 230 2496 +30 231 4397 +30 232 2417 +30 233 2153 +30 234 17812 +30 235 1825 +30 236 5058 +30 237 3102 +30 238 339 +30 239 1383 +30 240 6509 +30 241 1173 +30 242 421 +30 243 46 +30 244 3928 +30 245 1661 +30 246 109 +30 247 276 +30 248 204 +30 249 19 +30 250 2116 +30 251 1831 +30 252 330 +30 253 4923 +30 254 1675 +30 255 227 +31 0 148 +31 1 15113 +31 2 8899 +31 3 3763 +31 4 834 +31 5 94 +31 6 377 +31 7 1249 +31 8 99 +31 9 582 +31 10 5386 +31 11 6017 +31 12 3372 +31 13 29 +31 14 1423 +31 15 5821 +31 16 1730 +31 17 1600 +31 18 87 +31 19 1061 +31 20 3636 +31 21 26 +31 22 9957 +31 23 40698 +31 24 35880 +31 25 7462 +31 26 2975 +31 27 5376 +31 28 4441 +31 29 82 +31 30 650 +31 31 174 +31 32 531 +31 33 24283 +31 34 4397 +31 35 31480 +31 36 2369 +31 37 26483 +31 38 3482 +31 39 319 +31 40 376 +31 41 1378 +31 42 460 +31 43 6542 +31 44 881 +31 45 33 +31 46 592 +31 47 10493 +31 48 236 +31 49 7484 +31 50 2357 +31 51 1481 +31 52 3677 +31 53 10448 +31 54 4625 +31 55 30973 +31 56 798 +31 57 20877 +31 58 303 +31 59 9897 +31 60 8599 +31 61 8557 +31 62 76 +31 63 2015 +31 64 732 +31 65 140 +31 66 224 +31 67 4525 +31 68 77 +31 69 1084 +31 70 2991 +31 71 3472 +31 72 2549 +31 73 247 +31 74 10292 +31 75 1134 +31 76 382 +31 77 1612 +31 78 903 +31 79 16906 +31 80 9527 +31 81 1238 +31 82 3662 +31 83 3259 +31 84 824 +31 85 2741 +31 86 77 +31 87 3910 +31 88 5893 +31 89 6001 +31 90 35449 +31 91 1654 +31 92 1023 +31 93 303 +31 94 477 +31 95 982 +31 96 703 +31 97 6666 +31 98 5245 +31 99 22582 +31 100 3145 +31 101 78 +31 102 628 +31 103 154 +31 104 100 +31 105 4730 +31 106 192 +31 107 330 +31 108 2088 +31 109 638 +31 110 2671 +31 111 71 +31 112 555 +31 113 92 +31 114 734 +31 115 115 +31 116 1785 +31 117 916 +31 118 6729 +31 119 50 +31 120 1752 +31 121 2329 +31 122 1206 +31 123 527 +31 124 398 +31 125 98 +31 126 40 +31 128 151 +31 129 297 +31 130 3365 +31 131 223 +31 132 3158 +31 133 1427 +31 134 7748 +31 135 3027 +31 136 92 +31 137 5833 +31 138 2747 +31 139 5147 +31 140 199 +31 141 718 +31 142 3090 +31 143 12151 +31 144 1493 +31 145 14 +31 146 1807 +31 147 117 +31 148 5196 +31 149 2784 +31 150 1532 +31 151 2609 +31 152 155 +31 153 27863 +31 154 35302 +31 155 576 +31 156 1413 +31 157 6458 +31 158 9351 +31 159 314 +31 160 5048 +31 161 161 +31 162 8050 +31 163 1450 +31 164 105 +31 165 1260 +31 166 4146 +31 167 1907 +31 168 126 +31 169 6087 +31 170 47 +31 171 105 +31 172 2005 +31 173 6582 +31 174 1046 +31 175 80 +31 176 3373 +31 177 3343 +31 178 922 +31 179 353 +31 180 2265 +31 181 306 +31 182 677 +31 183 6364 +31 184 9030 +31 185 39 +31 186 1482 +31 187 61 +31 188 45446 +31 189 247 +31 190 3395 +31 191 4537 +31 192 228 +31 193 923 +31 194 1567 +31 195 232 +31 196 6375 +31 197 977 +31 198 163 +31 199 2280 +31 200 269 +31 201 1440 +31 202 3737 +31 203 881 +31 204 3903 +31 205 1367 +31 206 1710 +31 207 4670 +31 208 5191 +31 209 2334 +31 210 125 +31 211 2076 +31 212 1087 +31 213 281 +31 214 3890 +31 215 12705 +31 216 3982 +31 217 3473 +31 218 2526 +31 219 19544 +31 220 12146 +31 221 1740 +31 222 302 +31 223 270 +31 224 2253 +31 225 2741 +31 226 3781 +31 227 12638 +31 228 841 +31 229 2803 +31 230 296 +31 231 2950 +31 232 109 +31 233 2570 +31 234 3799 +31 235 471 +31 236 5679 +31 237 3178 +31 238 4857 +31 239 11285 +31 240 2148 +31 241 4305 +31 242 3621 +31 243 317 +31 244 4033 +31 245 4325 +31 246 2142 +31 247 49119 +31 248 908 +31 249 4226 +31 250 1006 +31 251 51 +31 252 472 +31 253 4375 +31 254 17078 +31 255 4407 +32 0 54 +32 1 877 +32 2 4029 +32 3 5590 +32 4 304 +32 5 5646 +32 6 139 +32 7 2399 +32 8 1137 +32 9 428 +32 10 1410 +32 11 876 +32 12 2900 +32 13 1696 +32 14 4923 +32 15 3235 +32 16 9370 +32 17 3592 +32 18 2174 +32 19 3284 +32 20 86 +32 21 709 +32 22 3605 +32 23 70 +32 24 513 +32 25 9252 +32 26 34565 +32 27 63974 +32 28 30714 +32 29 961 +32 30 218 +32 31 704 +32 32 42 +32 33 9336 +32 34 2268 +32 35 1668 +32 37 3426 +32 38 3929 +32 39 25 +32 40 72 +32 41 653 +32 42 3159 +32 43 31592 +32 44 147 +32 45 76 +32 46 8408 +32 47 6432 +32 48 2871 +32 49 1370 +32 50 1294 +32 51 787 +32 52 3791 +32 53 1553 +32 54 2868 +32 55 1096 +32 56 8444 +32 57 5335 +32 58 9686 +32 59 4192 +32 60 4821 +32 61 777 +32 62 749 +32 63 2159 +32 64 261 +32 65 227 +32 66 85952 +32 67 21 +32 68 437 +32 69 4991 +32 70 1984 +32 71 3540 +32 72 393 +32 73 299 +32 74 1084 +32 75 4248 +32 76 1157 +32 77 313 +32 78 40050 +32 79 27 +32 80 7581 +32 81 34 +32 82 1482 +32 83 7863 +32 84 4532 +32 85 15921 +32 86 3916 +32 87 49 +32 88 2366 +32 89 1414 +32 90 1514 +32 91 191 +32 92 23160 +32 93 2900 +32 94 137 +32 95 1223 +32 96 1047 +32 97 131 +32 98 2627 +32 99 3481 +32 100 9 +32 101 1565 +32 102 1191 +32 103 2185 +32 104 1678 +32 105 1280 +32 106 427 +32 107 162 +32 109 25462 +32 110 1742 +32 111 1305 +32 112 2465 +32 113 2964 +32 114 27 +32 115 69 +32 116 4172 +32 117 35962 +32 118 59 +32 119 1262 +32 120 20418 +32 121 2739 +32 122 164 +32 123 21098 +32 124 3334 +32 125 811 +32 126 20 +32 127 1761 +32 128 229 +32 129 7375 +32 130 486 +32 131 332 +32 132 19067 +32 133 203 +32 134 1113 +32 135 17 +32 136 1348 +32 137 3861 +32 138 458 +32 139 1625 +32 140 2263 +32 141 142 +32 142 3684 +32 143 4448 +32 144 41478 +32 145 450 +32 146 6276 +32 147 3710 +32 148 1177 +32 149 5790 +32 150 2391 +32 151 20116 +32 152 568 +32 153 205 +32 154 461 +32 155 77 +32 156 5303 +32 157 2746 +32 158 2943 +32 159 1300 +32 160 4468 +32 161 79 +32 162 2663 +32 163 382 +32 164 616 +32 165 182 +32 166 3034 +32 167 117 +32 168 3064 +32 169 90 +32 170 991 +32 171 141 +32 172 485 +32 173 7366 +32 174 8885 +32 175 1420 +32 176 257 +32 177 23 +32 178 2700 +32 179 4226 +32 180 18993 +32 181 1517 +32 182 298 +32 183 3420 +32 184 4766 +32 185 1168 +32 186 1262 +32 187 612 +32 188 119 +32 189 9 +32 190 100 +32 191 2765 +32 192 459 +32 193 92 +32 194 1343 +32 195 2878 +32 196 217 +32 197 4662 +32 198 829 +32 199 2650 +32 200 681 +32 201 653 +32 202 12842 +32 203 140 +32 204 2 +32 205 13031 +32 206 1968 +32 207 24 +32 208 735 +32 209 18340 +32 210 2036 +32 211 2071 +32 212 167 +32 213 1300 +32 214 184 +32 215 119 +32 216 18912 +32 217 35 +32 218 60478 +32 219 69 +32 220 3036 +32 221 1851 +32 222 87 +32 223 1304 +32 224 4224 +32 225 129 +32 226 225 +32 227 113 +32 228 150 +32 229 1075 +32 230 1329 +32 231 3595 +32 232 563 +32 233 14 +32 234 118 +32 235 10286 +32 236 3757 +32 237 12055 +32 238 3516 +32 239 24 +32 240 2900 +32 241 38 +32 242 90 +32 243 52 +32 244 553 +32 245 1619 +32 246 2597 +32 247 2542 +32 248 5302 +32 249 1716 +32 250 1039 +32 251 326 +32 252 2162 +32 253 129 +32 254 1993 +32 255 130 +33 0 4671 +33 1 83 +33 2 129 +33 3 42 +33 4 643 +33 5 5416 +33 6 2232 +33 7 40 +33 8 19386 +33 9 1584 +33 10 4964 +33 11 2554 +33 12 2634 +33 13 1469 +33 15 8119 +33 16 2258 +33 17 3063 +33 18 3856 +33 19 12108 +33 20 18 +33 21 996 +33 22 495 +33 23 4449 +33 24 627 +33 25 268 +33 26 501 +33 27 23559 +33 28 1244 +33 29 2562 +33 30 543 +33 31 198 +33 32 2738 +33 33 3712 +33 34 61 +33 35 892 +33 36 5020 +33 37 3357 +33 38 50 +33 39 1773 +33 40 425 +33 41 4343 +33 42 89 +33 43 1061 +33 44 13897 +33 45 7 +33 46 457 +33 47 20187 +33 48 131 +33 49 1980 +33 50 1341 +33 51 1744 +33 52 3083 +33 53 2579 +33 54 13977 +33 55 271 +33 56 4728 +33 57 127 +33 58 1500 +33 59 4441 +33 60 637 +33 61 12214 +33 62 864 +33 63 3002 +33 64 10390 +33 65 12 +33 66 21 +33 67 2488 +33 68 28874 +33 69 79 +33 70 846 +33 71 584 +33 72 785 +33 73 1614 +33 74 3905 +33 75 6254 +33 76 220 +33 77 10652 +33 78 404 +33 79 98 +33 80 9 +33 81 12243 +33 82 12537 +33 83 1352 +33 84 8522 +33 85 107 +33 86 987 +33 87 677 +33 88 904 +33 89 3689 +33 90 5164 +33 91 101 +33 92 3085 +33 93 1028 +33 94 3773 +33 95 4841 +33 96 3876 +33 97 3762 +33 98 2795 +33 99 2988 +33 100 21 +33 101 564 +33 102 23807 +33 103 4807 +33 104 3649 +33 105 1563 +33 106 128 +33 107 2478 +33 108 44952 +33 109 126 +33 110 229 +33 111 7266 +33 112 180 +33 113 3503 +33 114 318 +33 115 11358 +33 116 417 +33 117 4125 +33 118 367 +33 119 237 +33 120 80 +33 121 1885 +33 122 86 +33 123 71 +33 124 69 +33 125 15192 +33 126 3880 +33 127 24810 +33 128 4257 +33 129 2440 +33 130 6898 +33 131 598 +33 132 3052 +33 133 8381 +33 134 4609 +33 135 3195 +33 136 1313 +33 137 51626 +33 138 1167 +33 139 8743 +33 140 2923 +33 141 71 +33 142 801 +33 143 1618 +33 144 1962 +33 145 340 +33 146 3110 +33 147 2767 +33 148 19 +33 149 596 +33 150 143 +33 151 1774 +33 152 12413 +33 153 275 +33 154 4391 +33 155 4271 +33 156 4001 +33 157 3727 +33 158 2181 +33 159 54 +33 160 637 +33 161 7849 +33 162 5206 +33 164 1165 +33 165 7532 +33 166 2973 +33 167 8747 +33 168 1505 +33 169 66 +33 170 2495 +33 171 475 +33 172 3625 +33 173 916 +33 174 179 +33 175 281 +33 176 7832 +33 177 4043 +33 178 1119 +33 179 2644 +33 180 803 +33 181 14068 +33 182 4958 +33 183 1054 +33 184 3724 +33 185 37411 +33 186 8127 +33 187 2010 +33 188 1934 +33 189 10305 +33 190 3846 +33 191 2684 +33 192 7813 +33 193 2156 +33 194 588 +33 195 2131 +33 196 19 +33 197 16247 +33 198 9724 +33 199 41 +33 200 8055 +33 201 2762 +33 202 18775 +33 203 9529 +33 204 10 +33 205 843 +33 206 5403 +33 207 3003 +33 208 710 +33 209 7094 +33 210 2140 +33 211 3942 +33 212 13 +33 213 1492 +33 214 3593 +33 215 49 +33 216 21 +33 217 3303 +33 218 975 +33 219 508 +33 220 3793 +33 221 28 +33 222 673 +33 223 1015 +33 224 1828 +33 225 9413 +33 226 100 +33 227 6312 +33 228 1098 +33 229 5817 +33 230 639 +33 231 852 +33 232 2722 +33 233 800 +33 234 4158 +33 235 64389 +33 236 1335 +33 237 4988 +33 238 1284 +33 239 8809 +33 240 11374 +33 241 2134 +33 242 397 +33 243 20 +33 244 980 +33 245 89 +33 246 111 +33 247 8801 +33 248 218 +33 249 309 +33 250 32765 +33 251 1753 +33 252 5337 +33 253 1845 +33 254 3544 +33 255 6929 +34 0 471 +34 1 1888 +34 2 71 +34 3 93 +34 4 4993 +34 5 3568 +34 6 1622 +34 7 291 +34 8 1193 +34 9 657 +34 10 3117 +34 11 3719 +34 12 3712 +34 13 3786 +34 14 873 +34 15 5456 +34 16 8690 +34 17 1375 +34 18 4912 +34 19 1622 +34 20 1053 +34 21 1103 +34 22 4477 +34 23 2507 +34 24 1253 +34 25 150 +34 26 2584 +34 27 319 +34 28 1688 +34 29 211 +34 30 43 +34 31 1375 +34 32 4808 +34 33 3661 +34 34 2324 +34 35 5 +34 36 7631 +34 37 6592 +34 38 1391 +34 39 8 +34 40 3007 +34 41 66 +34 42 3749 +34 43 1023 +34 44 5612 +34 45 1408 +34 46 4316 +34 47 3493 +34 48 37428 +34 49 3451 +34 50 87 +34 51 1321 +34 52 699 +34 53 446 +34 54 3205 +34 55 1668 +34 56 1822 +34 57 8109 +34 58 4578 +34 59 938 +34 61 623 +34 62 1453 +34 63 4255 +34 64 2378 +34 65 291 +34 66 13 +34 67 1389 +34 68 570 +34 69 10012 +34 70 710 +34 71 51 +34 72 3887 +34 73 3448 +34 74 692 +34 75 48 +34 76 2164 +34 77 213 +34 78 1663 +34 79 31 +34 80 5138 +34 81 1397 +34 82 2590 +34 83 4411 +34 84 1773 +34 85 1484 +34 86 209 +34 87 1568 +34 88 2115 +34 89 63 +34 90 4524 +34 91 7330 +34 92 1137 +34 93 4389 +34 94 4299 +34 95 1764 +34 96 1200 +34 97 4358 +34 98 988 +34 99 4190 +34 100 37 +34 101 1448 +34 102 400 +34 103 27907 +34 104 309 +34 105 2790 +34 106 17 +34 107 555 +34 108 81026 +34 109 20024 +34 110 2650 +34 111 17 +34 112 1589 +34 113 1041 +34 114 3955 +34 115 248 +34 116 3628 +34 117 85 +34 118 151 +34 120 1564 +34 121 16889 +34 122 1357 +34 123 1536 +34 124 8 +34 125 362 +34 126 821 +34 127 469 +34 128 12336 +34 129 4424 +34 130 2663 +34 131 8193 +34 132 1402 +34 133 3375 +34 134 571 +34 135 5 +34 136 2079 +34 137 7648 +34 138 1555 +34 139 3 +34 140 2091 +34 141 4124 +34 142 1910 +34 143 7045 +34 144 193 +34 145 7 +34 146 23499 +34 148 15 +34 149 871 +34 150 2640 +34 151 711 +34 152 3238 +34 153 1094 +34 154 114 +34 155 291 +34 156 3 +34 157 134 +34 158 6179 +34 159 889 +34 160 749 +34 161 4584 +34 162 1997 +34 163 51712 +34 164 9699 +34 165 4722 +34 166 57305 +34 167 215 +34 168 3085 +34 169 2190 +34 170 198 +34 171 58 +34 172 557 +34 173 825 +34 174 14 +34 175 3754 +34 176 17572 +34 177 4301 +34 178 120 +34 179 1046 +34 180 1514 +34 181 21775 +34 182 5649 +34 183 10691 +34 184 960 +34 185 10430 +34 186 1922 +34 187 4430 +34 188 1798 +34 189 61 +34 190 2360 +34 191 26123 +34 192 3835 +34 193 16 +34 194 1156 +34 195 4942 +34 196 2139 +34 197 8205 +34 198 222 +34 199 311 +34 200 88 +34 201 798 +34 202 82808 +34 203 2059 +34 204 19606 +34 205 3651 +34 206 8493 +34 207 1451 +34 208 1891 +34 209 1008 +34 210 1013 +34 211 147 +34 212 4087 +34 213 1406 +34 214 304 +34 215 1250 +34 216 3772 +34 217 3594 +34 218 189 +34 219 3295 +34 220 492 +34 221 12 +34 222 81488 +34 223 2228 +34 224 2412 +34 225 4736 +34 226 3257 +34 227 3241 +34 228 1483 +34 229 993 +34 230 263 +34 231 1122 +34 232 5318 +34 233 4773 +34 234 1811 +34 235 1351 +34 236 115 +34 237 9 +34 238 4884 +34 239 241 +34 240 5011 +34 241 5908 +34 242 70 +34 243 649 +34 244 54 +34 245 718 +34 246 6623 +34 247 1793 +34 248 362 +34 249 10158 +34 250 603 +34 251 893 +34 252 2876 +34 253 3413 +34 254 404 +34 255 4123 +35 0 8167 +35 1 1711 +35 2 3222 +35 3 1067 +35 4 72 +35 5 3399 +35 6 114 +35 7 3452 +35 8 5014 +35 9 19212 +35 10 856 +35 11 32192 +35 12 644 +35 13 2486 +35 14 5685 +35 15 1745 +35 16 1167 +35 17 1591 +35 18 1440 +35 19 423 +35 20 169 +35 21 2801 +35 22 1008 +35 23 159 +35 24 6224 +35 25 12 +35 26 13 +35 27 530 +35 28 23 +35 29 3811 +35 30 2031 +35 31 1339 +35 32 35 +35 33 4259 +35 34 65709 +35 35 7414 +35 36 2041 +35 37 232 +35 38 7661 +35 39 1758 +35 40 5999 +35 41 2627 +35 42 2164 +35 43 2087 +35 44 12358 +35 45 6 +35 46 49489 +35 47 1131 +35 48 785 +35 49 4477 +35 50 1 +35 51 2304 +35 52 3940 +35 53 1278 +35 54 2729 +35 55 1046 +35 56 156 +35 57 1795 +35 58 49528 +35 59 1824 +35 60 60 +35 61 413 +35 62 12136 +35 63 4467 +35 64 1946 +35 65 8765 +35 66 8163 +35 67 1545 +35 68 1050 +35 69 12917 +35 71 1737 +35 72 3300 +35 73 2526 +35 74 925 +35 75 2783 +35 76 665 +35 77 11118 +35 78 8929 +35 79 4980 +35 80 320 +35 81 629 +35 82 20 +35 83 488 +35 84 2555 +35 85 3244 +35 86 2521 +35 87 11021 +35 88 19 +35 89 30215 +35 90 8831 +35 91 636 +35 92 899 +35 93 776 +35 94 3018 +35 95 8076 +35 96 13015 +35 97 24072 +35 98 342 +35 99 1811 +35 100 15776 +35 101 11411 +35 102 4905 +35 103 18619 +35 104 6383 +35 105 410 +35 106 3390 +35 107 1762 +35 108 378 +35 109 6 +35 110 152 +35 111 4848 +35 112 1505 +35 113 23 +35 114 7933 +35 115 704 +35 116 5775 +35 117 30230 +35 118 146 +35 119 2120 +35 120 8909 +35 121 13628 +35 122 637 +35 123 10706 +35 124 395 +35 125 9 +35 126 139 +35 127 361 +35 128 7355 +35 129 1461 +35 130 526 +35 131 6525 +35 132 1788 +35 133 2050 +35 134 3088 +35 135 716 +35 136 7573 +35 137 4959 +35 138 3199 +35 139 518 +35 140 3793 +35 141 1611 +35 142 7332 +35 143 289 +35 144 66 +35 145 701 +35 146 2973 +35 147 283 +35 148 4967 +35 149 6720 +35 150 12 +35 151 394 +35 152 2310 +35 153 1642 +35 154 2655 +35 155 2440 +35 156 3230 +35 157 998 +35 158 53 +35 159 118 +35 160 301 +35 161 56 +35 162 1540 +35 163 590 +35 164 495 +35 165 12265 +35 166 76 +35 167 14198 +35 168 185 +35 169 258 +35 170 2553 +35 171 672 +35 172 115 +35 173 3212 +35 174 8140 +35 175 24 +35 176 8909 +35 177 20 +35 178 301 +35 179 43 +35 180 5216 +35 181 4693 +35 182 652 +35 183 809 +35 184 342 +35 185 9460 +35 186 3523 +35 187 964 +35 189 17718 +35 190 4708 +35 191 6070 +35 192 2848 +35 193 209 +35 194 2027 +35 195 2642 +35 196 3095 +35 197 10354 +35 198 2608 +35 199 1830 +35 200 92 +35 201 711 +35 202 7784 +35 203 13989 +35 204 510 +35 206 686 +35 207 321 +35 208 1675 +35 209 11608 +35 210 3133 +35 211 100 +35 212 2188 +35 213 4179 +35 214 1868 +35 215 3832 +35 216 6 +35 217 17842 +35 218 1897 +35 219 16 +35 220 36 +35 221 1351 +35 222 3149 +35 223 359 +35 224 3355 +35 225 23872 +35 226 101 +35 227 24 +35 228 2311 +35 229 376 +35 230 643 +35 231 2109 +35 232 4297 +35 233 1309 +35 234 382 +35 235 7179 +35 236 169 +35 237 32 +35 238 16 +35 239 234 +35 240 2352 +35 241 1450 +35 242 7128 +35 243 40 +35 244 1692 +35 245 2115 +35 246 24 +35 247 851 +35 248 1910 +35 249 85 +35 250 224 +35 251 1206 +35 252 2143 +35 253 20701 +35 254 21208 +35 255 17019 +36 0 3366 +36 1 1831 +36 2 4695 +36 3 2491 +36 4 164 +36 5 4608 +36 6 2 +36 7 10657 +36 8 1632 +36 9 1109 +36 10 20152 +36 11 179 +36 12 21825 +36 13 4206 +36 14 979 +36 15 172 +36 16 1094 +36 17 1617 +36 18 4061 +36 19 2773 +36 20 1326 +36 21 5109 +36 22 3201 +36 23 284 +36 24 3336 +36 25 40835 +36 26 10423 +36 27 1153 +36 28 23014 +36 29 18547 +36 30 214 +36 31 2526 +36 32 17757 +36 33 9 +36 34 2955 +36 35 104 +36 36 8033 +36 37 11953 +36 38 18 +36 39 6932 +36 40 607 +36 41 30 +36 42 38266 +36 43 383 +36 44 7100 +36 45 1897 +36 46 5 +36 47 3482 +36 48 3430 +36 49 1935 +36 50 5453 +36 51 6589 +36 52 245 +36 53 284 +36 54 526 +36 55 2010 +36 56 3731 +36 57 2260 +36 58 59 +36 59 1168 +36 60 7321 +36 61 3421 +36 62 1658 +36 63 664 +36 64 4130 +36 65 4955 +36 66 30797 +36 67 2800 +36 69 7637 +36 70 1231 +36 71 12 +36 72 46 +36 73 61980 +36 74 14871 +36 75 36839 +36 76 3536 +36 77 3690 +36 78 8231 +36 79 20586 +36 80 2908 +36 81 3627 +36 82 537 +36 83 1909 +36 84 1061 +36 85 3703 +36 86 137 +36 87 8185 +36 88 3929 +36 89 347 +36 90 3 +36 92 6061 +36 93 6036 +36 94 908 +36 95 59 +36 96 168 +36 97 754 +36 98 965 +36 99 940 +36 100 44 +36 101 2336 +36 102 1545 +36 103 9539 +36 104 289 +36 105 2291 +36 106 6064 +36 107 7625 +36 108 15 +36 109 7419 +36 110 7269 +36 111 166 +36 112 3304 +36 113 1646 +36 114 47 +36 115 2115 +36 116 891 +36 117 1486 +36 118 12354 +36 119 1153 +36 120 1651 +36 121 164 +36 122 4766 +36 123 102 +36 124 3950 +36 125 5377 +36 126 7816 +36 127 3190 +36 128 348 +36 129 1916 +36 130 941 +36 131 539 +36 132 29 +36 133 754 +36 134 11965 +36 135 5314 +36 136 63766 +36 137 1322 +36 138 2970 +36 139 1417 +36 140 624 +36 141 35015 +36 142 3527 +36 143 4560 +36 144 2336 +36 145 4299 +36 146 102 +36 147 4073 +36 148 4470 +36 149 666 +36 150 54 +36 151 2054 +36 152 1904 +36 153 1077 +36 154 2927 +36 155 459 +36 156 100 +36 157 418 +36 158 32048 +36 159 10271 +36 160 1261 +36 161 4117 +36 162 45 +36 163 1646 +36 164 185 +36 165 9340 +36 166 15491 +36 167 9059 +36 168 2467 +36 169 3799 +36 170 107 +36 171 2480 +36 172 1731 +36 173 470 +36 174 85 +36 175 30 +36 176 714 +36 177 2213 +36 178 1423 +36 180 29 +36 181 1256 +36 182 5 +36 183 21 +36 184 15 +36 185 3362 +36 186 3703 +36 187 551 +36 188 3301 +36 189 88 +36 190 318 +36 191 10315 +36 192 1370 +36 193 153 +36 194 2320 +36 195 3127 +36 196 1661 +36 198 584 +36 199 1760 +36 200 3 +36 201 8895 +36 202 297 +36 203 4034 +36 204 242 +36 205 8596 +36 206 4724 +36 207 3788 +36 208 550 +36 209 9 +36 210 344 +36 211 904 +36 212 1263 +36 213 46 +36 214 2852 +36 215 101 +36 216 527 +36 217 1357 +36 218 10234 +36 219 959 +36 220 1784 +36 221 779 +36 222 441 +36 223 6535 +36 224 5125 +36 225 1174 +36 226 9646 +36 227 4773 +36 228 6232 +36 229 4123 +36 230 3090 +36 231 4717 +36 232 1968 +36 233 1658 +36 234 3101 +36 235 1504 +36 236 3 +36 237 797 +36 238 3105 +36 239 1085 +36 240 2537 +36 241 2354 +36 242 575 +36 244 3949 +36 245 1721 +36 246 2593 +36 247 175 +36 248 1551 +36 249 81 +36 250 8024 +36 251 4310 +36 252 1557 +36 253 3336 +36 254 2380 +36 255 3327 +37 0 10 +37 1 150 +37 2 3438 +37 3 72331 +37 4 760 +37 5 401 +37 6 1726 +37 7 110 +37 8 11757 +37 9 25 +37 10 36 +37 11 8540 +37 12 107 +37 13 2273 +37 14 2258 +37 15 1965 +37 16 2452 +37 17 2806 +37 18 43 +37 19 3430 +37 20 428 +37 21 2134 +37 22 5581 +37 23 1267 +37 24 2415 +37 25 5540 +37 26 65 +37 27 3821 +37 28 1236 +37 29 146 +37 30 870 +37 31 903 +37 32 12165 +37 33 81 +37 34 61134 +37 35 1418 +37 36 1595 +37 37 1531 +37 38 795 +37 39 1059 +37 40 46 +37 42 592 +37 43 3447 +37 44 86 +37 45 117 +37 46 76 +37 48 1084 +37 49 763 +37 50 4110 +37 51 735 +37 52 248 +37 53 806 +37 54 966 +37 55 40423 +37 56 3307 +37 57 383 +37 58 837 +37 59 356 +37 60 1755 +37 61 6392 +37 62 1505 +37 63 3155 +37 64 24913 +37 65 2139 +37 66 1855 +37 67 1360 +37 68 845 +37 69 43753 +37 70 112 +37 71 2742 +37 72 2098 +37 73 2779 +37 74 1692 +37 75 272 +37 76 2605 +37 77 155 +37 78 3907 +37 79 24 +37 80 1122 +37 81 8233 +37 82 86 +37 83 276 +37 84 1582 +37 85 1739 +37 86 1373 +37 87 50458 +37 88 774 +37 89 5850 +37 90 1406 +37 91 650 +37 92 2516 +37 93 1027 +37 94 307 +37 95 5846 +37 96 1872 +37 97 4291 +37 98 245 +37 99 3016 +37 100 3623 +37 101 65913 +37 102 17570 +37 103 26697 +37 104 3777 +37 105 678 +37 106 552 +37 107 3913 +37 108 1660 +37 109 78211 +37 110 3177 +37 111 2850 +37 112 13 +37 113 5317 +37 114 3347 +37 115 201 +37 116 756 +37 117 8024 +37 118 697 +37 119 1539 +37 120 855 +37 121 111 +37 122 471 +37 123 633 +37 124 9126 +37 125 1060 +37 126 2609 +37 127 1645 +37 128 120 +37 129 106 +37 130 1261 +37 131 88 +37 132 9035 +37 133 1020 +37 134 18669 +37 135 2262 +37 136 34 +37 137 2325 +37 138 604 +37 139 31 +37 140 8 +37 141 475 +37 142 10 +37 143 591 +37 144 1919 +37 145 2406 +37 146 218 +37 147 1158 +37 148 225 +37 149 1314 +37 150 469 +37 151 7828 +37 152 4596 +37 153 42 +37 154 18 +37 155 16 +37 156 5936 +37 157 69 +37 158 3972 +37 159 500 +37 160 5789 +37 161 2670 +37 162 3249 +37 163 692 +37 164 3360 +37 165 58511 +37 166 723 +37 167 6 +37 168 47 +37 169 6509 +37 170 428 +37 171 137 +37 172 1187 +37 173 188 +37 174 333 +37 175 7203 +37 176 2066 +37 177 284 +37 178 460 +37 179 689 +37 180 2479 +37 181 7032 +37 182 1854 +37 183 581 +37 184 649 +37 185 891 +37 186 1452 +37 187 734 +37 188 12 +37 189 200 +37 190 2221 +37 191 8 +37 192 6796 +37 193 2871 +37 194 1766 +37 195 652 +37 196 9763 +37 197 19 +37 198 1775 +37 199 5525 +37 200 1474 +37 201 3245 +37 202 1455 +37 203 11 +37 204 6501 +37 205 5216 +37 206 842 +37 207 3004 +37 208 8979 +37 209 366 +37 210 1339 +37 211 2859 +37 212 818 +37 213 455 +37 214 6284 +37 215 1109 +37 216 21 +37 217 532 +37 218 11898 +37 219 652 +37 220 3435 +37 221 143 +37 222 55 +37 223 6 +37 224 162 +37 225 96 +37 226 1257 +37 227 592 +37 228 176 +37 229 3291 +37 230 119 +37 231 129 +37 232 941 +37 233 60866 +37 234 1202 +37 235 69 +37 236 43 +37 237 1823 +37 238 6140 +37 239 3658 +37 240 12460 +37 241 163 +37 242 3931 +37 243 1260 +37 244 5926 +37 245 2885 +37 246 302 +37 247 1262 +37 248 10174 +37 249 18 +37 250 2878 +37 251 45 +37 252 687 +37 253 137 +37 254 152 +37 255 7145 +38 0 2488 +38 1 16 +38 2 33 +38 3 975 +38 4 319 +38 5 1612 +38 6 197 +38 7 9282 +38 8 4264 +38 9 2199 +38 10 613 +38 11 1071 +38 12 2629 +38 13 5879 +38 14 21593 +38 15 40156 +38 16 455 +38 17 4736 +38 18 7489 +38 19 3 +38 20 11770 +38 21 1187 +38 22 2508 +38 23 1130 +38 24 2639 +38 25 3194 +38 26 16 +38 27 2473 +38 28 3581 +38 29 32 +38 30 2323 +38 31 3087 +38 32 401 +38 33 18 +38 34 271 +38 35 6884 +38 36 1196 +38 37 2282 +38 38 36 +38 39 2277 +38 40 218 +38 41 7617 +38 42 1121 +38 43 6731 +38 44 115 +38 45 1840 +38 46 2030 +38 47 18 +38 48 5889 +38 49 539 +38 50 3763 +38 51 9 +38 52 9579 +38 53 59 +38 54 1041 +38 55 1227 +38 56 97 +38 57 311 +38 58 634 +38 59 3119 +38 60 416 +38 61 6207 +38 62 564 +38 63 5309 +38 64 868 +38 65 1286 +38 66 20 +38 67 1281 +38 68 286 +38 69 9466 +38 70 211 +38 71 2903 +38 72 2428 +38 73 3087 +38 74 325 +38 75 26029 +38 76 70 +38 77 1050 +38 78 2564 +38 79 3278 +38 80 1851 +38 81 482 +38 82 1018 +38 83 426 +38 84 585 +38 85 110 +38 86 1096 +38 87 8913 +38 88 6879 +38 89 159 +38 90 653 +38 91 3271 +38 92 1024 +38 93 1234 +38 94 10782 +38 95 430 +38 96 1774 +38 97 499 +38 98 1692 +38 99 260 +38 100 33 +38 101 732 +38 102 5155 +38 103 8006 +38 104 2285 +38 105 2326 +38 106 680 +38 107 127 +38 108 423 +38 109 122 +38 110 210 +38 111 1745 +38 112 2092 +38 113 192 +38 114 45483 +38 115 3633 +38 116 12 +38 117 9627 +38 118 7845 +38 119 697 +38 120 2363 +38 121 4115 +38 122 4589 +38 123 2592 +38 124 2653 +38 125 298 +38 126 117 +38 127 12481 +38 128 2032 +38 129 50 +38 130 12 +38 131 613 +38 132 13824 +38 133 560 +38 134 19742 +38 135 4669 +38 136 3720 +38 137 317 +38 138 520 +38 139 1712 +38 140 734 +38 141 6358 +38 142 1395 +38 143 8374 +38 144 3425 +38 145 524 +38 146 3958 +38 147 777 +38 148 1189 +38 149 2274 +38 150 1789 +38 151 1550 +38 152 3 +38 153 114 +38 154 15126 +38 156 6695 +38 157 58017 +38 158 2324 +38 159 6150 +38 160 260 +38 161 448 +38 162 46386 +38 163 3270 +38 164 243 +38 165 334 +38 166 1533 +38 167 548 +38 168 4687 +38 169 3287 +38 170 921 +38 171 53 +38 172 11 +38 173 56030 +38 174 485 +38 175 733 +38 176 10314 +38 177 3123 +38 178 212 +38 179 230 +38 180 3994 +38 181 63 +38 182 3499 +38 183 16 +38 184 4485 +38 185 3572 +38 186 484 +38 187 588 +38 188 5315 +38 189 2597 +38 190 978 +38 191 6580 +38 192 1883 +38 193 3788 +38 194 20 +38 195 5025 +38 196 2337 +38 197 2647 +38 198 4834 +38 199 94 +38 200 1596 +38 201 3234 +38 202 5224 +38 203 82 +38 204 9569 +38 205 6256 +38 206 1882 +38 207 1304 +38 208 58 +38 209 130994 +38 210 1924 +38 211 84 +38 212 7632 +38 213 257 +38 214 14 +38 215 4245 +38 216 433 +38 217 975 +38 218 1128 +38 219 185 +38 220 1967 +38 221 62 +38 222 868 +38 223 9824 +38 224 87 +38 225 8 +38 226 36 +38 227 253 +38 228 62 +38 229 7 +38 230 44 +38 231 98 +38 232 1387 +38 233 13154 +38 234 2884 +38 235 709 +38 236 4225 +38 237 1975 +38 238 172 +38 239 1025 +38 240 69 +38 241 761 +38 242 28895 +38 243 3413 +38 244 55107 +38 245 1544 +38 246 13 +38 247 385 +38 248 3855 +38 249 1824 +38 250 215 +38 251 6788 +38 252 4545 +38 253 110 +38 254 10152 +38 255 17 +39 0 6 +39 1 3393 +39 2 1597 +39 3 61 +39 4 20 +39 5 4802 +39 6 459 +39 7 393 +39 8 3777 +39 9 2874 +39 10 4348 +39 11 622 +39 12 2381 +39 13 4876 +39 14 54106 +39 15 926 +39 16 4612 +39 17 662 +39 18 10733 +39 19 504 +39 20 1178 +39 21 4576 +39 22 8684 +39 23 5805 +39 24 3206 +39 25 583 +39 26 88 +39 27 1502 +39 28 48 +39 29 8792 +39 30 29196 +39 31 3778 +39 32 2821 +39 33 356 +39 34 9739 +39 35 2967 +39 36 3319 +39 37 1876 +39 38 1823 +39 39 10350 +39 40 4882 +39 41 120 +39 42 5658 +39 43 138 +39 44 3405 +39 45 1824 +39 46 3193 +39 47 820 +39 48 1227 +39 49 5 +39 50 3691 +39 51 6 +39 52 13072 +39 53 503 +39 54 31 +39 55 10326 +39 56 1337 +39 57 1015 +39 58 9889 +39 59 74 +39 60 887 +39 61 57427 +39 62 15385 +39 63 4228 +39 64 96 +39 65 49 +39 66 7172 +39 67 640 +39 68 649 +39 69 2665 +39 70 12372 +39 71 22 +39 72 3247 +39 73 6843 +39 74 8498 +39 75 2793 +39 76 1307 +39 77 6917 +39 78 3613 +39 79 117 +39 80 803 +39 81 1343 +39 82 31 +39 83 5575 +39 84 1853 +39 85 3623 +39 86 1353 +39 87 5333 +39 88 855 +39 89 58809 +39 90 5880 +39 91 1786 +39 92 3135 +39 93 1303 +39 94 18 +39 95 6597 +39 96 4166 +39 97 3116 +39 98 33834 +39 99 2926 +39 100 1842 +39 101 2396 +39 102 27 +39 103 3323 +39 104 612 +39 105 1177 +39 106 1126 +39 107 1245 +39 108 1226 +39 109 900 +39 110 4414 +39 111 3 +39 112 9237 +39 113 4130 +39 114 213 +39 115 391 +39 116 5570 +39 117 6302 +39 118 4078 +39 119 10 +39 120 6239 +39 121 48 +39 122 399 +39 123 3114 +39 124 24 +39 125 145 +39 126 65 +39 127 2468 +39 128 2195 +39 129 46433 +39 130 1197 +39 131 288 +39 132 4542 +39 133 1197 +39 134 1975 +39 135 44 +39 136 1094 +39 137 1632 +39 138 4521 +39 139 2806 +39 140 361 +39 141 9220 +39 142 2429 +39 143 48 +39 144 656 +39 145 3096 +39 146 972 +39 147 3821 +39 148 2225 +39 149 3865 +39 150 599 +39 151 305 +39 152 409 +39 153 152 +39 154 20707 +39 155 3346 +39 156 252 +39 157 776 +39 158 4384 +39 159 1997 +39 160 273 +39 161 2044 +39 162 5577 +39 163 5250 +39 164 1724 +39 165 497 +39 166 2736 +39 167 555 +39 168 685 +39 169 2774 +39 170 1680 +39 171 831 +39 172 726 +39 173 7425 +39 174 1597 +39 175 1399 +39 176 3655 +39 177 4166 +39 178 2553 +39 179 561 +39 180 416 +39 181 32810 +39 182 638 +39 183 2349 +39 184 919 +39 185 71 +39 186 1633 +39 187 603 +39 188 318 +39 189 922 +39 190 4264 +39 191 1134 +39 192 992 +39 193 1198 +39 194 406 +39 195 1211 +39 196 397 +39 197 4234 +39 198 1573 +39 199 57 +39 200 6079 +39 201 2018 +39 202 1042 +39 203 144 +39 204 5715 +39 205 236 +39 206 779 +39 207 51 +39 208 2548 +39 209 4960 +39 210 1545 +39 211 2443 +39 212 44 +39 213 1395 +39 214 25 +39 215 3990 +39 216 55 +39 217 280 +39 218 1322 +39 219 8788 +39 220 56441 +39 221 2367 +39 222 1965 +39 223 4510 +39 224 4090 +39 225 989 +39 226 1558 +39 227 3082 +39 228 3555 +39 229 2134 +39 230 26833 +39 231 3466 +39 232 12 +39 233 733 +39 234 1122 +39 235 20327 +39 236 551 +39 237 869 +39 238 1114 +39 239 12083 +39 240 9170 +39 241 3149 +39 242 1254 +39 243 4483 +39 244 2162 +39 245 1058 +39 246 3060 +39 247 3701 +39 248 1685 +39 249 725 +39 250 3125 +39 251 2714 +39 252 49570 +39 253 5238 +39 254 2723 +39 255 2241 +40 0 22 +40 1 292 +40 2 367 +40 3 1022 +40 4 325 +40 5 2 +40 6 136 +40 7 34 +40 8 265 +40 9 97 +40 10 258 +40 11 330 +40 12 1491 +40 13 67 +40 15 9 +40 16 449 +40 17 1 +40 18 425 +40 19 134 +40 20 72 +40 21 178 +40 22 9 +40 23 269 +40 24 1040 +40 25 18 +40 26 93 +40 28 1054 +40 29 426 +40 30 212 +40 31 253 +40 32 94 +40 33 48 +40 34 236 +40 35 1 +40 36 666 +40 38 6 +40 40 3 +40 41 192 +40 42 63 +40 43 10 +40 44 73 +40 45 30 +40 46 214 +40 47 295 +40 48 83 +40 49 76 +40 50 26 +40 52 708 +40 53 11 +40 58 11 +40 59 484 +40 60 191 +40 61 124 +40 63 25 +40 64 297 +40 65 307 +40 66 413 +40 67 92 +40 68 118 +40 69 8 +40 70 1 +40 72 41 +40 73 108 +40 74 29 +40 75 199 +40 77 169 +40 78 652 +40 79 86 +40 80 50 +40 81 291 +40 82 259 +40 83 176 +40 85 40 +40 87 59 +40 88 10 +40 91 494 +40 92 77 +40 93 57 +40 94 66 +40 96 96 +40 97 6 +40 98 91 +40 99 354 +40 100 299 +40 101 12 +40 102 88 +40 103 20 +40 104 40 +40 105 1 +40 106 172 +40 107 217 +40 108 59 +40 109 27 +40 110 1345 +40 111 236 +40 112 61 +40 113 166 +40 114 2 +40 115 1 +40 116 453 +40 117 69 +40 118 152 +40 119 89 +40 120 154 +40 122 111 +40 124 52 +40 125 3133 +40 126 112 +40 127 263 +40 128 1561 +40 129 127 +40 131 21 +40 132 930 +40 134 270 +40 135 72 +40 136 176 +40 137 241 +40 138 22 +40 139 85 +40 141 21 +40 143 1 +40 144 104 +40 145 105 +40 146 84 +40 147 43 +40 148 20 +40 149 22 +40 150 37 +40 151 653 +40 152 138 +40 153 41 +40 154 2079 +40 155 1169 +40 156 3 +40 157 260 +40 158 60 +40 159 35 +40 160 152 +40 161 91 +40 162 125 +40 163 206 +40 164 11 +40 165 115 +40 167 181 +40 168 207 +40 169 61 +40 170 728 +40 171 1 +40 172 41 +40 173 196 +40 174 5 +40 175 80 +40 176 304 +40 177 113 +40 178 39 +40 179 384 +40 181 5 +40 182 387 +40 183 300 +40 184 2 +40 185 23 +40 187 269 +40 188 405 +40 189 50 +40 190 107 +40 192 401 +40 194 438 +40 195 414 +40 196 37 +40 198 89 +40 199 7 +40 200 257 +40 201 65 +40 202 158 +40 203 132 +40 204 2 +40 205 308 +40 206 52 +40 207 16 +40 208 1 +40 209 134 +40 210 2 +40 211 71 +40 212 28 +40 213 270 +40 214 4 +40 215 16 +40 216 581 +40 218 1 +40 219 7 +40 220 4 +40 221 108 +40 222 58 +40 223 109 +40 224 223 +40 225 76 +40 226 15 +40 227 115 +40 228 53 +40 229 196 +40 230 633 +40 231 211 +40 232 59 +40 233 21 +40 234 857 +40 235 1138 +40 236 1 +40 237 134 +40 238 231 +40 241 274 +40 242 9 +40 243 97 +40 244 60 +40 245 64 +40 246 44 +40 247 25 +40 248 2 +40 249 3 +40 250 16 +40 251 95 +40 252 435 +40 253 147 +40 254 76 diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/health.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/health.json new file mode 100644 index 0000000..6642d46 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/health.json @@ -0,0 +1,8 @@ +{ + "status": "ok", + "busy": false, + "service": "strata", + "loaded": true, + "model": "qwen3.6-35b-a3b-ud-q3_k_m", + "max_context": 32768 +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/provenance.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/provenance.json new file mode 100644 index 0000000..0fc562d --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/provenance.json @@ -0,0 +1,9 @@ +{ + "arm": "fork-qwen36-q3km", + "engine_binary": "/opt/us2-build/build/bin/strata-poly", + "engine_sha256": "7ba58112d0b9b73d48e10e2f04186dd5412a888e1fc82de80ec399de6ee9fd92", + "fork_commit": "143ada26fe968d27686cab50ad76c9c171eb748d", + "nvidia_smi": "NVIDIA GeForce RTX 3090, 580.126.20, 24576 MiB", + "cpu_quota": "3112500/100000", + "started_utc": "2026-10-18T06:35:57Z" +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server-command.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server-command.json new file mode 100644 index 0000000..674c14f --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server-command.json @@ -0,0 +1,22 @@ +[ + "/opt/us2-build/build/bin/unbiased-strata", + "--engine", + "/opt/us2-build/build/bin/strata-poly", + "-m", + "/opt/us2-models/qwen36-mtp/Qwen3.6-35B-A3B-UD-Q3_K_M.gguf", + "--host", + "127.0.0.1", + "--port", + "18091", + "--alias", + "qwen3.6-35b-a3b-ud-q3_k_m", + "--", + "--model", + "/opt/us2-models/qwen36-mtp/Qwen3.6-35B-A3B-UD-Q3_K_M.gguf", + "--max-context", + "32768", + "--expert-profile", + "/opt/us2-results/step9/2026-10-17-rtx3090/fork-qwen36-q3km/expert-profile.txt", + "--tail-skip", + "6" +] diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server-exit.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server-exit.json new file mode 100644 index 0000000..b7410a7 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server-exit.json @@ -0,0 +1 @@ +{"returncode": 1} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server.json new file mode 100644 index 0000000..46e6a8b --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/server.json @@ -0,0 +1,15 @@ +{ + "exe": "/opt/us2-build/build/bin/unbiased-strata", + "engine": "/opt/us2-build/build/bin/strata-poly", + "model_name": "qwen3.6-35b-a3b-ud-q3_k_m", + "args": [ + "--model", + "/opt/us2-models/qwen36-mtp/Qwen3.6-35B-A3B-UD-Q3_K_M.gguf", + "--max-context", + "32768", + "--expert-profile", + "/opt/us2-results/step9/2026-10-17-rtx3090/fork-qwen36-q3km/expert-profile.txt", + "--tail-skip", + "6" + ] +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/summary.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/summary.json new file mode 100644 index 0000000..6f87de6 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/summary.json @@ -0,0 +1,174 @@ +{ + "checks": { + "requests": 42, + "all_successful": true, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + }, + "sustained": { + "decode_tps": { + "median": 200.04086940658718, + "min": 188.40828185289035, + "max": 218.4481375906923, + "n": 9 + }, + "prompt_tps": { + "median": 3480.571323437466, + "min": 3237.6854367152764, + "max": 3579.3625075958635, + "n": 9 + }, + "ttft_s": { + "median": 1.28, + "min": 0.502, + "max": 1.499, + "n": 9 + }, + "total_s": { + "median": 3.929, + "min": 2.85, + "max": 4.148, + "n": 9 + }, + "draft_acceptance_pct": 79.95057151683658 + }, + "chat": { + "median": 213.496, + "min": 196.544, + "max": 259.215, + "n": 9 + }, + "chat_ttft_s": { + "median": 0.11, + "min": 0.107, + "max": 0.117, + "n": 9 + }, + "prefill": { + "4K": { + "median": 3821.634, + "min": 3792.145, + "max": 3831.57, + "n": 3 + }, + "16K": { + "median": 3486.29, + "min": 3482.95, + "max": 3497.354, + "n": 3 + } + }, + "prefill_ttft_s": { + "4K": { + "median": 1.064, + "min": 1.056, + "max": 1.073, + "n": 3 + }, + "16K": { + "median": 4.607, + "min": 4.572, + "max": 4.611, + "n": 3 + } + }, + "agent": { + "turn_decode_tps": { + "median": 186.86, + "min": 169.366, + "max": 202.841, + "n": 15 + }, + "turn_ttft_s": { + "median": 1.069, + "min": 0.518, + "max": 1.198, + "n": 15 + } + }, + "per_document": { + "docs/DETAILS.md": { + "prompt_tokens": null, + "decode_tps": { + "median": 198.46779753177523, + "min": 188.40828185289035, + "max": 200.04086940658718, + "n": 3 + }, + "prompt_tps": { + "median": 3573.327179584466, + "min": 3562.408125790833, + "max": 3579.3625075958635, + "n": 3 + }, + "ttft_s": { + "median": 1.437, + "min": 1.435, + "max": 1.499, + "n": 3 + }, + "total_s": { + "median": 4.076, + "min": 3.992, + "max": 4.148, + "n": 3 + } + }, + "docs/HOW_IT_WORKS.md": { + "prompt_tokens": null, + "decode_tps": { + "median": 217.67865944024638, + "min": 207.85572616085997, + "max": 218.4481375906923, + "n": 3 + }, + "prompt_tps": { + "median": 3435.6673317870136, + "min": 3237.6854367152764, + "max": 3462.376259857871, + "n": 3 + }, + "ttft_s": { + "median": 0.506, + "min": 0.502, + "max": 0.537, + "n": 3 + }, + "total_s": { + "median": 2.877, + "min": 2.85, + "max": 2.965, + "n": 3 + } + }, + "docs/INSTALL.md": { + "prompt_tokens": null, + "decode_tps": { + "median": 193.09702691039465, + "min": 192.30566590446887, + "max": 202.56179224771049, + "n": 3 + }, + "prompt_tps": { + "median": 3480.571323437466, + "min": 3474.900404742404, + "max": 3483.8761111332565, + "n": 3 + }, + "ttft_s": { + "median": 1.28, + "min": 1.278, + "max": 1.284, + "n": 3 + }, + "total_s": { + "median": 3.929, + "min": 3.807, + "max": 3.938, + "n": 3 + } + } + } +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/sustained.json b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/sustained.json new file mode 100644 index 0000000..4bc1ff9 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/fork-qwen36-q3km/sustained.json @@ -0,0 +1,443 @@ +[ + { + "run": 0, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 0.5374565217643976, + "total": 2.876839254051447, + "text": "Based on the provided documentation, here is a detailed technical explanation of **PolyStrata**, covering its architectural design, the trade-offs involved, and practical usage.\n\n### 1. Architectural Design: The \"Kitchen and Pantry\" Analogy\n\nPolyStrata is a runtime engine designed to run large-scale Mixture-of-Experts (MoE) models (specifically **Qwen3.8-Flash-Next**) on consumer-grade hardware with limited VRAM (12\u201324 GB). The core innovation is **heterogeneous memory management**, treating the CPU, RAM, GPU, and SSD as a unified, tiered storage and compute system.\n\n#### Core Components & Data Flow\n\n1. **The Model Structure (24,576 Experts):**\n * The model consists of 24,576 small \"expert\" neural network layers.\n * For any given token generation, only **10 experts** are active.\n * This sparsity allows the system to avoid loading all experts into VRAM simultaneously.\n\n2. **Tiered Memory Hierarchy:**\n * **GPU (VRAM - The \"Counter\"):**\n * Holds the **Expert Cache**: The most frequently accessed experts are kept here for low-latency access.\n * Holds global state: Attention mechanisms, DeltaNet mixers, gated-residual weights, routers, shared experts, output head, and the MTP (Multi-Token Prediction) draft layer.\n * Holds the **KV Cache**: Specifically, the most-read portion of the 64K context window. The rest streams from RAM.\n * *Key Metric:* Every extra GB of VRAM holds ~700 more experts, directly reducing CPU load.\n * **RAM (The \"Pantry\"):**\n * Holds **all 24,576 experts** in pinned memory.\n * Acts as the source for experts not currently in VRAM.\n * Supports \"Low-RAM Mode\" for systems with large GPUs but small RAM, keeping only necessary data in RAM.\n * **SSD (The \"Lookup Table\"):**\n * Stores a 28.8 GB n-gram table.\n * Used for **Prompt Lookup**: When the model repeats context (e.g., code edits), it drafts tokens from this table. Only a few small rows are read", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 523.831, + "prompt_per_token_ms": 0.3088626179245283, + "prompt_per_second": 3237.6854367152764, + "predicted_n": 512, + "predicted_ms": 2339.228, + "predicted_per_token_ms": 4.577745596868884, + "predicted_per_second": 218.4481375906923, + "draft_n": 342, + "draft_n_accepted": 304 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 0.537, + "total_s": 2.877, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 3237.6854367152764, + "prompt_tps_source": "engine", + "decode_tps": 218.4481375906923, + "decode_tps_source": "engine", + "prompt_ms": 523.831, + "decode_ms": 2339.228, + "drafts_offered": 342, + "drafts_accepted": 304 + } + }, + { + "run": 0, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 1.2803532797843218, + "total": 3.9378805570304394, + "text": "# Technical Analysis: PolyStrata Project Design and Implementation\n\n## 1. Executive Summary\n\n**PolyStrata** is a specialized inference engine and deployment framework designed to run large language models (LLMs), specifically targeting the **Qwen3.8-Flash-Next** architecture. It is engineered for high-performance local deployment on consumer-grade hardware, leveraging a hybrid CPU/GPU architecture with a focus on **Mixture of Experts (MoE)** models.\n\nThe system is notable for its \"zero-config\" installation philosophy, automatic hardware detection, and support for heterogeneous GPU ecosystems (NVIDIA CUDA and AMD ROCm/HIP). It utilizes a \"draft layer\" (MTP - Multi-Token Prediction) to accelerate inference and employs sophisticated memory management techniques to handle models that exceed available VRAM by offloading to system RAM or CPU.\n\n---\n\n## 2. System Architecture and Design\n\n### 2.1 Core Inference Engine\nPolyStrata is not a generic LLM runner but a custom-built engine optimized for specific quantization formats and MoE architectures.\n* **Custom C++ Backend:** The core engine is compiled from source (or provided as pre-compiled binaries) to leverage specific CPU instruction sets (AVX2, AVX-512) and GPU compute APIs (CUDA, HIP).\n* **MoE Optimization:** The system is designed around Mixture of Experts models. It manages \"experts\" (sub-networks within the model) by caching them in VRAM when possible and swapping them to RAM/CPU when VRAM is insufficient. This allows smaller consumer GPUs (12GB+) to run models that would traditionally require enterprise-grade hardware.\n* **MTP (Multi-Token Prediction) Layer:** The documentation mentions an \"MTP draft layer.\" This suggests the use of speculative decoding or similar techniques where a smaller \"draft\" model predicts tokens, which are then verified by the main model, significantly increasing throughput (tokens per second).\n\n### 2.2 Hardware Abstraction Layer\nPolyStrata abstracts the underlying hardware complexity through a unified setup process:\n* **NVIDIA Support:** Uses CUDA libraries. Supports RTX 20/30/40/50 series. Automatically detects GPU architecture (Compute Capability) and selects the appropriate pre-built binary or compiles a custom one if necessary.\n* **AMD Support:** Uses HIP/ROCm. Supports RDNA 3/4 architectures (RX 7000/9", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 1257.59, + "prompt_per_token_ms": 0.28777803203661323, + "prompt_per_second": 3474.900404742404, + "predicted_n": 512, + "predicted_ms": 2657.228, + "predicted_per_token_ms": 5.200054794520548, + "predicted_per_second": 192.30566590446887, + "draft_n": 375, + "draft_n_accepted": 278 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.28, + "total_s": 3.938, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 3474.900404742404, + "prompt_tps_source": "engine", + "decode_tps": 192.30566590446887, + "decode_tps_source": "engine", + "prompt_ms": 1257.59, + "decode_ms": 2657.228, + "drafts_offered": 375, + "drafts_accepted": 278 + } + }, + { + "run": 0, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 1.437380513176322, + "total": 3.9924013931304216, + "text": "# Technical Analysis: PolyStrata Engine Design and Implementation\n\n## 1. Executive Summary\n\nPolyStrata is a high-performance inference engine designed for running large language models (LLMs) with **Mixture of Experts (MoE)** architectures on consumer-grade hardware. Its core innovation lies in optimizing the memory bandwidth bottleneck inherent in MoE models by utilizing **4-bit quantization**, **dynamic expert caching**, and **speculative decoding**.\n\nThe engine is built to run efficiently on NVIDIA GPUs (RTX 30/40/50 series) and AMD GPUs (via ROCm/HIP), leveraging custom fused kernels for both prompt processing (prefill) and token generation (decode). It prioritizes high throughput for long-context windows (up to 262K tokens) while maintaining acceptable latency through aggressive quantization and memory streaming techniques.\n\n---\n\n## 2. Core Architectural Design\n\n### 2.1 Mixture of Experts (MoE) Management\nUnlike dense models where all parameters are active for every token, PolyStrata handles MoE models where only a subset of \"experts\" are activated per token.\n* **Expert Caching:** The engine maintains a cache of active experts in VRAM. Experts not currently needed are swapped between VRAM and system RAM (or disk via `mmap`).\n* **Dynamic Swapping:** The engine dynamically moves experts between RAM and VRAM based on usage patterns (`adapt-swaps`). This allows models with massive expert footprints (23\u201350 GB) to run on GPUs with limited VRAM (e.g., 8\u201312 GB).\n* **Low-RAM Mode:** If system RAM is insufficient to pin all experts, the engine maps the expert file directly from disk (`--mmap-experts`), relying on the OS file cache. This trades some speed for feasibility on low-RAM systems.\n\n### 2.2 Quantization Strategy\nPolyStrata employs aggressive quantization to fit large models into consumer hardware:\n* **Model Weights:** Supports various quantization levels, including `Q2_0`, `IQ2_XS`, `IQ3_XXS`, and `IQ3_S`. The `IQ` (Intelligence) formats are optimized for specific hardware accelerators (e.g., tensor cores).\n* **KV Cache Quantization:**\n * **8-bit (Default):** Balanced precision and speed.\n * **4-bit (`q4", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 1412.689, + "prompt_per_token_ms": 0.2798512282091918, + "prompt_per_second": 3573.327179584466, + "predicted_n": 512, + "predicted_ms": 2554.478, + "predicted_per_token_ms": 4.9989784735812135, + "predicted_per_second": 200.04086940658718, + "draft_n": 357, + "draft_n_accepted": 289 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.437, + "total_s": 3.992, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 3573.327179584466, + "prompt_tps_source": "engine", + "decode_tps": 200.04086940658718, + "decode_tps_source": "engine", + "prompt_ms": 1412.689, + "decode_ms": 2554.478, + "drafts_offered": 357, + "drafts_accepted": 289 + } + }, + { + "run": 1, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 0.5020743291825056, + "total": 2.8499414436519146, + "text": "# Technical Analysis of PolyStrata Architecture\n\nPolyStrata is a specialized inference engine designed to run large-scale Mixture-of-Experts (MoE) models, specifically **Qwen3.8-Flash-Next**, on consumer-grade hardware with limited VRAM (12\u201324 GB). It achieves this by offloading the computational burden from the GPU to the CPU and RAM, utilizing a hierarchical storage strategy and parallel processing techniques.\n\nBelow is a detailed breakdown of its design, tradeoffs, and practical usage.\n\n---\n\n## 1. Core Design Philosophy: Hierarchical Resource Sharing\n\nThe fundamental innovation of PolyStrata is the concept of **\"sharing the work across your whole PC.\"** Instead of attempting to fit the entire model into VRAM (which is impossible for a model with 24,576 experts on a 12\u201324 GB card), PolyStrata treats the CPU, RAM, and SSD as active computational and storage resources alongside the GPU.\n\n### The \"Kitchen and Pantry\" Analogy\n- **GPU (VRAM):** The \"counter.\" It holds the most frequently used experts (weights) for immediate access.\n- **RAM:** The \"pantry.\" It holds all 24,576 experts. When the GPU needs an expert not on the \"counter,\" it fetches it from RAM.\n- **SSD:** The \"storage room.\" It holds a large n-gram lookup table (28.8 GB) used for optimization, accessed via OS caching.\n\n### Component Roles\n\n| Component | Role | Technical Implementation |\n| :--- | :--- | :--- |\n| **GPU (VRAM)** | **Primary Compute & Cache** | Holds attention mechanisms, DeltaNet mixers, routers, shared experts, output head, MTP draft layer, and KV cache (partial). Crucially, it holds an **Expert Cache** that dynamically adapts to the conversation, keeping the most-used experts in VRAM. |\n| **CPU** | **Secondary Compute** | Computes experts that are **not** present in the GPU's VRAM. It does this **in-place** and **in parallel** with the GPU, ensuring neither component waits for the other. Uses AVX-512/AVX2 kernels and ggml for i-quants. |\n| **RAM** | **Global Expert Storage** | Holds all 24,576 experts. Memory is **pinned**", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 489.837, + "prompt_per_token_ms": 0.2888189858490566, + "prompt_per_second": 3462.376259857871, + "predicted_n": 512, + "predicted_ms": 2347.497, + "predicted_per_token_ms": 4.59392759295499, + "predicted_per_second": 217.67865944024638, + "draft_n": 366, + "draft_n_accepted": 308 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 0.502, + "total_s": 2.85, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 3462.376259857871, + "prompt_tps_source": "engine", + "decode_tps": 217.67865944024638, + "decode_tps_source": "engine", + "prompt_ms": 489.837, + "decode_ms": 2347.497, + "drafts_offered": 366, + "drafts_accepted": 308 + } + }, + { + "run": 1, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 1.2838125973939896, + "total": 3.807084871456027, + "text": "# Technical Analysis: PolyStrata Project (Run Identifier 1-1)\n\n## 1. Executive Summary\nPolyStrata is a high-performance, cross-platform inference engine designed to run large language models (LLMs), specifically targeting the **Qwen3.8-Flash-Next** architecture. It is built on top of the `llama.cpp` ecosystem (indicated by references to `ggml-cpu`, GGUF formats, and quantization schemes like Q2_0, IQ2_XS) but adds a proprietary \"MTP\" (Multi-Token Prediction) draft layer and a custom C++ engine optimized for specific CPU instruction sets (AVX2/AVX-512).\n\nThe system is designed for local deployment on consumer hardware (RTX 20/30/40/50 series and AMD RX 7000/9000 series), emphasizing ease of installation via automated scripts while offering granular control over GPU memory, CPU offloading, and multi-GPU configurations.\n\n## 2. System Architecture & Design\n\n### 2.1 Core Components\n1. **The Engine**: A compiled C++ binary that handles the core inference loop. It is pre-compiled for modern CPUs (AVX2+) but can be compiled from source for older hardware or specific AMD configurations.\n2. **The Model Pack**: GGUF-formatted model weights (e.g., Qwen3.8-Flash-Next) in various quantizations (Q2_0, IQ2_XS, IQ3_XXS). These are stored on disk (~70-80 GB).\n3. **MTP Draft Layer**: A specialized component that enables Multi-Token Prediction. This likely involves a smaller \"draft\" model or a speculative decoding mechanism that predicts subsequent tokens to accelerate generation speed.\n4. **Vision Encoder**: A separate module for handling image inputs. By default, it runs on the GPU, but can be offloaded to the CPU (`--vision cpu`) for AMD cards or low-RAM scenarios.\n5. **Configuration Manager**: JSON-based configuration files (`strata-.json`) that store settings for context length, KV cache precision, vision support, and API keys.\n\n### 2.2 Hardware Abstraction Layer\nPolyStrata abstracts the underlying hardware differences through a unified setup process:\n* **NVIDIA**: Uses CUDA. The engine links against NVIDIA's CUDA libraries", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 1255.541, + "prompt_per_token_ms": 0.28730915331807777, + "prompt_per_second": 3480.571323437466, + "predicted_n": 512, + "predicted_ms": 2522.687, + "predicted_per_token_ms": 4.936765166340509, + "predicted_per_second": 202.56179224771049, + "draft_n": 363, + "draft_n_accepted": 292 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.284, + "total_s": 3.807, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 3480.571323437466, + "prompt_tps_source": "engine", + "decode_tps": 202.56179224771049, + "decode_tps_source": "engine", + "prompt_ms": 1255.541, + "decode_ms": 2522.687, + "drafts_offered": 363, + "drafts_accepted": 292 + } + }, + { + "run": 1, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 1.4349831156432629, + "total": 4.147740138694644, + "text": "# Technical Analysis: PolyStrata Engine Design and Implementation\n\n## 1. Executive Summary\n\nPolyStrata is a high-performance inference engine designed for running large language models (LLMs) with **Mixture of Experts (MoE)** architectures on consumer-grade hardware. Its core innovation lies in optimizing the memory bandwidth bottleneck inherent in MoE models by dynamically managing the placement of \"expert\" weights between GPU VRAM and system RAM, while utilizing advanced quantization techniques (IQ2, IQ3, Q2) and speculative decoding to maximize throughput.\n\nThe engine is built for flexibility, supporting NVIDIA (CUDA) and AMD (ROCm/HIP) GPUs, with specific optimizations for Windows and Linux environments. It prioritizes long-context window support (up to 262K tokens) through KV cache streaming and hybrid quantization.\n\n---\n\n## 2. Core Architectural Design\n\n### 2.1 Mixture of Experts (MoE) Management\nUnlike dense models where all weights are active, MoE models activate only a subset of \"experts\" per token. PolyStrata addresses the VRAM limitation of consumer cards (e.g., 12GB\u201324GB) by implementing a **tiered expert caching system**:\n* **VRAM (GPU):** Holds the most frequently accessed experts for low-latency access.\n* **RAM (System Memory):** Acts as a large buffer for the remaining experts.\n* **Disk (MMap):** In \"Low-RAM mode,\" experts are memory-mapped from disk (`experts.bin`) when system RAM is insufficient. The OS file cache handles swapping between disk and RAM/VRAM.\n\n**Tradeoff:** This design allows running models that exceed VRAM capacity but introduces latency penalties when experts must be fetched from RAM or disk. The engine mitigates this via **KV streaming** (see below) to free up VRAM for more experts.\n\n### 2.2 Quantization Strategies\nPolyStrata supports multiple quantization formats to balance speed, memory usage, and accuracy:\n* **Q2_0:** The fastest format, using fused int8 tensor-core kernels for prompt processing. It offers near-FP16 accuracy with significant speedups.\n* **IQ2_XS / IQ3_XXS / IQ3_S:** These are \"Intelligent Quantization\" formats. They use complex packing schemes to achieve higher precision than standard 4-bit quantization while maintaining smaller footprint.\n * ", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 1410.307, + "prompt_per_token_ms": 0.27937935816164816, + "prompt_per_second": 3579.3625075958635, + "predicted_n": 512, + "predicted_ms": 2712.195, + "predicted_per_token_ms": 5.307622309197652, + "predicted_per_second": 188.40828185289035, + "draft_n": 349, + "draft_n_accepted": 265 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.435, + "total_s": 4.148, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 3579.3625075958635, + "prompt_tps_source": "engine", + "decode_tps": 188.40828185289035, + "decode_tps_source": "engine", + "prompt_ms": 1410.307, + "decode_ms": 2712.195, + "drafts_offered": 349, + "drafts_accepted": 265 + } + }, + { + "run": 2, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 0.5059821251779795, + "total": 2.9647836182266474, + "text": "# Technical Analysis of PolyStrata: Design, Tradeoffs, and Practical Usage\n\n## 1. Executive Summary\n\nPolyStrata is a specialized inference engine designed to run large-scale Mixture-of-Experts (MoE) models, specifically **Qwen3.8-Flash-Next**, on consumer-grade hardware with limited VRAM (12\u201324 GB). Unlike traditional inference engines that require the entire model to fit into GPU memory, PolyStrata utilizes a **heterogeneous computing approach**, distributing the workload across the GPU, CPU (RAM), and SSD.\n\nThe core innovation lies in its dynamic **Expert Cache** mechanism, which keeps frequently accessed \"experts\" on the GPU while offloading less frequent ones to system RAM, computed in parallel by the CPU. This is augmented by **Guess-and-Check** decoding (MTP) and **Prompt Lookup** to accelerate generation speeds.\n\n---\n\n## 2. System Architecture & Design\n\nPolyStrata\u2019s architecture is built around the principle of **spatial and temporal data locality optimization** across three storage tiers: VRAM, RAM, and SSD.\n\n### 2.1. The MoE Structure\nThe model consists of **24,576 experts**. For each token generated, only **10 experts** are activated. This sparsity allows PolyStrata to avoid loading all experts simultaneously.\n\n### 2.2. Tiered Resource Allocation\n\n#### A. GPU (VRAM): The High-Speed Core\nThe GPU handles the most latency-sensitive parts of the computation:\n- **Attention & DeltaNet Mixers**: Core transformer operations.\n- **Gated-Residual Weights & Routers**: Decision-making layers.\n- **Shared Experts & Output Head**: Commonly used components.\n- **MTP Draft Layer**: For speculative decoding.\n- **KV Cache (Partial)**: Only the most-read portion of the 64K context window is kept in VRAM; the rest streams from RAM.\n- **Expert Cache**: The most critical component. It dynamically fills the remaining VRAM with the **most frequently accessed experts**. This cache adapts in real-time during conversation.\n\n> **Key Insight**: VRAM capacity is more valuable than GPU compute speed. Each extra GB of VRAM holds ~700 more experts, directly reducing CPU load.\n\n#### B. RAM: The Parallel Compute Pool\n- **Storage**: Holds **all 24,576 experts** in pinned memory", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 493.645, + "prompt_per_token_ms": 0.2910642688679245, + "prompt_per_second": 3435.6673317870136, + "predicted_n": 512, + "predicted_ms": 2458.436, + "predicted_per_token_ms": 4.811029354207436, + "predicted_per_second": 207.85572616085997, + "draft_n": 374, + "draft_n_accepted": 295 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 0.506, + "total_s": 2.965, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 3435.6673317870136, + "prompt_tps_source": "engine", + "decode_tps": 207.85572616085997, + "decode_tps_source": "engine", + "prompt_ms": 493.645, + "decode_ms": 2458.436, + "drafts_offered": 374, + "drafts_accepted": 295 + } + }, + { + "run": 2, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 1.2777377795428038, + "total": 3.9290474113076925, + "text": "# Technical Analysis: PolyStrata Project (Run Identifier 2-1)\n\n## 1. Executive Summary\nPolyStrata is a high-performance, local Large Language Model (LLM) inference engine designed to run quantized models (specifically focusing on the Qwen3.8-Flash-Next architecture and others) on consumer-grade hardware. It abstracts the complexity of setting up Python environments, CUDA/ROCm drivers, and model weights into a streamlined, cross-platform installer. The system is optimized for low-latency inference using Mixture of Experts (MoE) architectures, leveraging both GPU VRAM and system RAM to manage large model sizes that exceed typical consumer GPU capacities.\n\n## 2. System Design & Architecture\n\n### 2.1 Core Components\nThe system is composed of three primary layers:\n1. **The Engine (PolyStrata):** A C++/CUDA (or HIP for AMD) based inference backend. It handles tensor operations, KV-cache management, and expert routing. It is compiled specifically for the user's hardware architecture (e.g., RTX 30 series vs. RTX 40 series) to ensure optimal performance.\n2. **The Model Layer:** Supports various quantization formats (Q2_0, IQ2_XS, IQ3_XXS, etc.). The system uses a \"pack\" structure where model experts are stored efficiently.\n3. **The MTP (Multi-Token Prediction) Draft Layer:** A specialized component that accelerates generation by predicting multiple tokens ahead, reducing the latency per token.\n\n### 2.2 Hardware Abstraction & Backend Selection\nPolyStrata employs a dynamic backend selection strategy:\n* **NVIDIA:** Uses CUDA. It attempts to load a pre-compiled binary for common architectures (RTX 20/30/40/50 series). If no binary matches, it triggers a one-time compilation using the CUDA Toolkit.\n* **AMD:** Uses HIP/ROCm. On Linux, it leverages system ROCm or installs wheels into a virtual environment. On Windows, it relies on the Adrenalin driver. Note that AMD support has limitations regarding vision tasks (CPU-bound) and specific quantization methods (Unsloth 4-bit requires NVIDIA).\n\n### 2.3 Memory Management Strategy\nA critical design feature is the handling of models larger than available VRAM:\n* **VRAM Priority:** The engine prioritizes loading model experts into GPU VRAM", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 1254.35, + "prompt_per_token_ms": 0.28703661327231117, + "prompt_per_second": 3483.8761111332565, + "predicted_n": 512, + "predicted_ms": 2646.338, + "predicted_per_token_ms": 5.178743639921723, + "predicted_per_second": 193.09702691039465, + "draft_n": 352, + "draft_n_accepted": 272 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.278, + "total_s": 3.929, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 3483.8761111332565, + "prompt_tps_source": "engine", + "decode_tps": 193.09702691039465, + "decode_tps_source": "engine", + "prompt_ms": 1254.35, + "decode_ms": 2646.338, + "drafts_offered": 352, + "drafts_accepted": 272 + } + }, + { + "run": 2, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 1.4993299152702093, + "total": 4.075669066980481, + "text": "# Technical Analysis: PolyStrata Engine (Run Identifier 2-2)\n\n## 1. Executive Summary\nPolyStrata is a high-performance inference engine designed for running large language models (LLMs) with **Mixture of Experts (MoE)** architectures on consumer-grade hardware. Its core innovation lies in optimizing the movement and computation of sparse expert weights between CPU RAM and GPU VRAM, utilizing advanced quantization (down to 2-bit), speculative decoding, and custom CUDA/HIP kernels.\n\nThe engine prioritizes **context length scalability** (up to 262K tokens) and **throughput** over raw per-token latency, making it suitable for long-document analysis and code generation tasks on mid-range GPUs (e.g., RTX 30/50 series, RX 7900 XTX).\n\n---\n\n## 2. Core Design & Architecture\n\n### 2.1 Mixture of Experts (MoE) Management\nUnlike dense models, MoE models contain many \"expert\" sub-networks that are activated per token. PolyStrata manages this via a hierarchical memory strategy:\n* **Expert Cache:** Only the most frequently used experts are kept in GPU VRAM.\n* **RAM/VRAM Streaming:** Less frequent experts reside in pinned CPU RAM. When needed, they are streamed to the GPU.\n* **Low-RAM Mode:** If system RAM is insufficient to hold all experts, the engine uses `--mmap-experts` to map expert files directly from disk, relying on the OS file cache. This allows running models with 50GB+ of experts on systems with limited RAM, albeit with potential I/O bottlenecks.\n\n### 2.2 Quantization Strategy\nPolyStrata supports aggressive quantization to fit large models into limited VRAM:\n* **Weights:** Supports Q2_0 (2-bit), IQ2_XS, IQ3_XXS, IQ3_S, and Coder-specific quantizations.\n* **KV Cache:**\n * **Default:** 8-bit (`int8`).\n * **Optional 4-bit:** `--kv q4_0` uses Hadamard rotation before rounding to save 50% KV memory, with a ~4-12% perplexity penalty.\n * **Hybrid K8V4:** Keeps keys at 8-bit and values at 4-bit rotated, reducing KV memory by 23", + "usage": null, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 1417.019, + "prompt_per_token_ms": 0.2807089936608558, + "prompt_per_second": 3562.408125790833, + "predicted_n": 512, + "predicted_ms": 2574.725, + "predicted_per_token_ms": 5.038600782778865, + "predicted_per_second": 198.46779753177523, + "draft_n": 359, + "draft_n_accepted": 285 + }, + "err": null, + "pieces": 512 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.499, + "total_s": 4.076, + "prompt_tokens": null, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 3562.408125790833, + "prompt_tps_source": "engine", + "decode_tps": 198.46779753177523, + "decode_tps_source": "engine", + "prompt_ms": 1417.019, + "decode_ms": 2574.725, + "drafts_offered": 359, + "drafts_accepted": 285 + } + } +] \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/benchmark-command.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/benchmark-command.json new file mode 100644 index 0000000..2fafb35 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/benchmark-command.json @@ -0,0 +1,13 @@ +[ + "/opt/polystrata-v0.1.45-poly.1/.venv/bin/python", + "/opt/polystrata-v0.1.45-poly.1/tools/strata_bench.py", + "--url", + "http://127.0.0.1:18080", + "--config", + "/opt/us2-results/step9/2026-10-17-rtx3090/upstream-flash-next/server.json", + "--runs", + "3", + "--long", + "--out", + "/opt/us2-results/step9/2026-10-17-rtx3090/upstream-flash-next/community" +] \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/README.md b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/README.md new file mode 100644 index 0000000..4922a9b --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/README.md @@ -0,0 +1,61 @@ +# Community benchmark on NVIDIA GeForce RTX 3090 + +Measured on 2026-10-18 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: NVIDIA GeForce RTX 3090, 24 GiB VRAM +- CPU: AMD EPYC 7H12 64-Core Processor (128 cores, 256 threads); installed RAM: 1007.6 GiB; storage: not measured +- OS: Linux 6.8.0-107-generic; GPU driver: 580.126.20; CUDA: 13.0 +- PolyStrata: project 0.1.45, commit d0cd84dc; engine 0.1.45 +- Background workloads and power limits: not recorded + +## Model and configuration + +- Model and quantization: qwen3.8-flash-next-iq3_xxs +- Context: 65536 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged; thinking off for the suite; temperature 0 + +```text +strata --pack pack-iq3-xxs --native Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp mtp --max-context 65536 --kv int8 --ple-io ram --pool-workers 15 --kv-resident 32768 +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 87.1 (72.5-107.0) | 0.41 (0.36-0.48) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 1923.9 (1835.2-1933.9) | not measured | 2.11 (2.10-2.21) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2342.1 (2326.5-2347.6) | not measured | 6.89 (6.88-6.93) | +| 32K prompt, fresh | 32049 (32049-32049) | 0 (0-0) | 24 cap | 3 | 2392.9 (2388.9-2395.0) | not measured | 13.45 (13.43-13.47) | +| agent session, follow-up turns | 15157 (15149-15169) at the last turn | see below | up to 64 | 3 | see below | 110.6 (70.0-135.6) | 2.00 (1.64-2.26) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 69.3 % (69.1-69.3); earlier-turn tokens read again per session: 4 (3-74) (earlier turns that the cache did not hold; the 14334 (14334-14334) new tokens of the files are read once); first turn (nothing cached) first token: 0.97 s (0.97-1.01). + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 640.6 | 0.972 | 56.2 | +| 1 | 4180 | 624 | 3556 | 1664.6 | 2.167 | 70.0 | +| 2 | 5841 | 4243 | 1598 | 973.0 | 1.671 | 77.6 | +| 3 | 9277 | 5904 | 3373 | 1510.5 | 2.261 | 85.3 | +| 4 | 12253 | 9331 | 2922 | 1484.5 | 2.003 | 95.9 | +| 5 | 15157 | 12268 | 2889 | 1461.8 | 2.004 | 88.9 | + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load and power limits are not recorded. Total time of the suite: 128 s. diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/results.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/results.json new file mode 100644 index 0000000..8cc9fc1 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/community/2026-10-18-community-rtx-3090-qwen3-8-flash-next-iq3-xxs/results.json @@ -0,0 +1,998 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-10-18", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 127.83168578147888, + "machine": { + "gpu": [ + "NVIDIA GeForce RTX 3090" + ], + "gpu_vram_mib": 24576, + "gpu_driver": "580.126.20", + "cuda": "13.0", + "cpu": "AMD EPYC 7H12 64-Core Processor", + "cpu_cores": 128, + "cpu_threads": 256, + "ram_gib": 1007.6, + "os": "Linux 6.8.0-107-generic", + "python": "3.12.3", + "strata_version": "0.1.45", + "strata_commit": "d0cd84dc", + "engine_version": "0.1.45", + "model": "qwen3.8-flash-next-iq3_xxs", + "quant": "IQ3", + "context": 65536, + "parallel_slots": 1, + "config": { + "exe": "strata", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "args": [ + "--pack", + "pack-iq3-xxs", + "--native", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--mtp", + "mtp", + "--max-context", + "65536", + "--kv", + "int8", + "--ple-io", + "ram", + "--pool-workers", + "15", + "--kv-resident", + "32768" + ], + "sampling": { + "temperature": 0.6, + "top_p": 0.95, + "top_k": 20, + "min_p": 0.0 + } + }, + "launch": "strata --pack pack-iq3-xxs --native Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf --ple-gguf Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf --expert-profile expert-profile.bin --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --mtp mtp --max-context 65536 --kv int8 --ple-io ram --pool-workers 15 --kv-resident 32768", + "engine_info": { + "model": "qwen3.8-flash-next-iq3_xxs", + "max_context": 65536, + "images": false, + "version": "0.1.45", + "logit_bias": 1, + "context": 65536, + "kv": "int8", + "kv_resident": 32768, + "expert_slots": 10531, + "expert_cache_mib": 17485, + "expert_slots_primary": 10531, + "expert_cache_primary_mib": 17485, + "spec": 6, + "mtp_max": 4, + "lookup": 3, + "vram_free_mib": 465, + "cvec": 0, + "arena_mib": 40925, + "pool_workers": 15, + "pcie_frac": "0.55", + "spec_min_p": "0.50", + "conversation_cache_mib": 0, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "conversation_cache_min_tokens": 0, + "tail_role_token": -1, + "vram_elastic": 0, + "prefill_cap": 8192, + "prefill_stages": 1, + "stream_all_min": 1024, + "prefill_pipe": 0, + "engine": "0.1.45" + }, + "vram_after": { + "elastic": false + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.469, + "total_s": 1.619, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 112.2, + "prompt_tps_source": "engine", + "decode_tps": 86.1, + "decode_tps_source": "engine", + "prompt_ms": 454.5, + "decode_ms": 1160.8, + "drafts_offered": 86, + "drafts_accepted": 72, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.439, + "total_s": 1.785, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 102.0, + "prompt_tps_source": "engine", + "decode_tps": 73.6, + "decode_tps_source": "engine", + "prompt_ms": 421.5, + "decode_ms": 1358.7, + "drafts_offered": 96, + "drafts_accepted": 54, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.452, + "total_s": 1.82, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 105.5, + "prompt_tps_source": "engine", + "decode_tps": 72.5, + "decode_tps_source": "engine", + "prompt_ms": 436.2, + "decode_ms": 1378.8, + "drafts_offered": 99, + "drafts_accepted": 53, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.406, + "total_s": 1.348, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 130.3, + "prompt_tps_source": "engine", + "decode_tps": 105.0, + "decode_tps_source": "engine", + "prompt_ms": 391.4, + "decode_ms": 952.0, + "drafts_offered": 84, + "drafts_accepted": 70, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.361, + "total_s": 1.506, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 124.5, + "prompt_tps_source": "engine", + "decode_tps": 86.4, + "decode_tps_source": "engine", + "prompt_ms": 345.4, + "decode_ms": 1157.2, + "drafts_offered": 106, + "drafts_accepted": 54, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.401, + "total_s": 1.538, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 119.2, + "prompt_tps_source": "engine", + "decode_tps": 87.1, + "decode_tps_source": "engine", + "prompt_ms": 386.0, + "decode_ms": 1147.6, + "drafts_offered": 100, + "drafts_accepted": 54, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.478, + "total_s": 1.401, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 110.6, + "prompt_tps_source": "engine", + "decode_tps": 107.0, + "decode_tps_source": "engine", + "prompt_ms": 461.2, + "decode_ms": 934.5, + "drafts_offered": 85, + "drafts_accepted": 71, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.368, + "total_s": 1.435, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 122.1, + "prompt_tps_source": "engine", + "decode_tps": 92.8, + "decode_tps_source": "engine", + "prompt_ms": 352.2, + "decode_ms": 1077.7, + "drafts_offered": 110, + "drafts_accepted": 54, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.364, + "total_s": 1.432, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 131.9, + "prompt_tps_source": "engine", + "decode_tps": 92.7, + "decode_tps_source": "engine", + "prompt_ms": 348.8, + "decode_ms": 1079.2, + "drafts_offered": 103, + "drafts_accepted": 53, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 87.1, + "min": 72.5, + "max": 107.0, + "n": 9 + }, + "ttft_s": { + "median": 0.406, + "min": 0.361, + "max": 0.478, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 2.212, + "total_s": 2.574, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1835.2, + "prompt_tps_source": "engine", + "decode_tps": 64.4, + "decode_tps_source": "engine", + "prompt_ms": 2190.0, + "decode_ms": 372.4, + "drafts_offered": 23, + "drafts_accepted": 14, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.113, + "total_s": 2.387, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1923.9, + "prompt_tps_source": "engine", + "decode_tps": 84.6, + "decode_tps_source": "engine", + "prompt_ms": 2089.0, + "decode_ms": 283.8, + "drafts_offered": 26, + "drafts_accepted": 14, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.101, + "total_s": 2.357, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 1933.9, + "prompt_tps_source": "engine", + "decode_tps": 90.4, + "decode_tps_source": "engine", + "prompt_ms": 2078.2, + "decode_ms": 265.4, + "drafts_offered": 23, + "drafts_accepted": 14, + "run": 2 + } + ], + "prompt_tps": { + "median": 1923.9, + "min": 1835.2, + "max": 1933.9, + "n": 3 + }, + "ttft_s": { + "median": 2.113, + "min": 2.101, + "max": 2.212, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 6.934, + "total_s": 7.195, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2326.5, + "prompt_tps_source": "engine", + "decode_tps": 88.3, + "decode_tps_source": "engine", + "prompt_ms": 6902.3, + "decode_ms": 271.7, + "drafts_offered": 20, + "drafts_accepted": 11, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.879, + "total_s": 7.113, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2347.6, + "prompt_tps_source": "engine", + "decode_tps": 97.8, + "decode_tps_source": "engine", + "prompt_ms": 6840.2, + "decode_ms": 245.5, + "drafts_offered": 18, + "drafts_accepted": 11, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 6.895, + "total_s": 7.122, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 2342.1, + "prompt_tps_source": "engine", + "decode_tps": 100.8, + "decode_tps_source": "engine", + "prompt_ms": 6856.2, + "decode_ms": 238.1, + "drafts_offered": 20, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 2342.1, + "min": 2326.5, + "max": 2347.6, + "n": 3 + }, + "ttft_s": { + "median": 6.895, + "min": 6.879, + "max": 6.934, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "32K": { + "target_tokens": 32768, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 13.453, + "total_s": 13.826, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2392.9, + "prompt_tps_source": "engine", + "decode_tps": 62.3, + "decode_tps_source": "engine", + "prompt_ms": 13393.1, + "decode_ms": 385.1, + "drafts_offered": 20, + "drafts_accepted": 11, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 13.472, + "total_s": 13.754, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2388.9, + "prompt_tps_source": "engine", + "decode_tps": 81.7, + "decode_tps_source": "engine", + "prompt_ms": 13416.0, + "decode_ms": 293.6, + "drafts_offered": 17, + "drafts_accepted": 11, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 13.43, + "total_s": 13.663, + "prompt_tokens": 32049, + "reused_tokens": 0, + "read_tokens": 32049, + "generated_tokens": 24, + "prompt_tps": 2395.0, + "prompt_tps_source": "engine", + "decode_tps": 98.4, + "decode_tps_source": "engine", + "prompt_ms": 13381.9, + "decode_ms": 244.0, + "drafts_offered": 18, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 2392.9, + "min": 2388.9, + "max": 2395.0, + "n": 3 + }, + "ttft_s": { + "median": 13.453, + "min": 13.43, + "max": 13.472, + "n": 3 + }, + "prompt_tokens": { + "median": 32049, + "min": 32049, + "max": 32049, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 0.972, + "total_s": 1.19, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 13, + "prompt_tps": 640.6, + "prompt_tps_source": "engine", + "decode_tps": 56.2, + "decode_tps_source": "engine", + "prompt_ms": 950.7, + "decode_ms": 231.2, + "drafts_offered": 15, + "drafts_accepted": 9, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.167, + "total_s": 3.069, + "prompt_tokens": 4180, + "reused_tokens": 624, + "read_tokens": 3556, + "generated_tokens": 64, + "prompt_tps": 1664.6, + "prompt_tps_source": "engine", + "decode_tps": 70.0, + "decode_tps_source": "engine", + "prompt_ms": 2136.3, + "decode_ms": 914.4, + "drafts_offered": 53, + "drafts_accepted": 39, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.671, + "total_s": 2.482, + "prompt_tokens": 5841, + "reused_tokens": 4243, + "read_tokens": 1598, + "generated_tokens": 64, + "prompt_tps": 973.0, + "prompt_tps_source": "engine", + "decode_tps": 77.6, + "decode_tps_source": "engine", + "prompt_ms": 1642.3, + "decode_ms": 824.4, + "drafts_offered": 66, + "drafts_accepted": 38, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.261, + "total_s": 2.894, + "prompt_tokens": 9277, + "reused_tokens": 5904, + "read_tokens": 3373, + "generated_tokens": 55, + "prompt_tps": 1510.5, + "prompt_tps_source": "engine", + "decode_tps": 85.3, + "decode_tps_source": "engine", + "prompt_ms": 2233.1, + "decode_ms": 644.7, + "drafts_offered": 58, + "drafts_accepted": 33, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.003, + "total_s": 2.159, + "prompt_tokens": 12253, + "reused_tokens": 9331, + "read_tokens": 2922, + "generated_tokens": 16, + "prompt_tps": 1484.5, + "prompt_tps_source": "engine", + "decode_tps": 95.9, + "decode_tps_source": "engine", + "prompt_ms": 1968.4, + "decode_ms": 166.9, + "drafts_offered": 16, + "drafts_accepted": 9, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.004, + "total_s": 2.352, + "prompt_tokens": 15157, + "reused_tokens": 12268, + "read_tokens": 2889, + "generated_tokens": 32, + "prompt_tps": 1461.8, + "prompt_tps_source": "engine", + "decode_tps": 88.9, + "decode_tps_source": "engine", + "prompt_ms": 1976.3, + "decode_ms": 359.9, + "drafts_offered": 31, + "drafts_accepted": 19, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 1.011, + "total_s": 1.17, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 13, + "prompt_tps": 612.4, + "prompt_tps_source": "engine", + "decode_tps": 76.6, + "decode_tps_source": "engine", + "prompt_ms": 994.5, + "decode_ms": 169.7, + "drafts_offered": 18, + "drafts_accepted": 9, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.13, + "total_s": 2.645, + "prompt_tokens": 4180, + "reused_tokens": 624, + "read_tokens": 3556, + "generated_tokens": 64, + "prompt_tps": 1688.0, + "prompt_tps_source": "engine", + "decode_tps": 121.6, + "decode_tps_source": "engine", + "prompt_ms": 2106.6, + "decode_ms": 526.5, + "drafts_offered": 59, + "drafts_accepted": 44, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.641, + "total_s": 2.222, + "prompt_tokens": 5841, + "reused_tokens": 4244, + "read_tokens": 1597, + "generated_tokens": 64, + "prompt_tps": 986.8, + "prompt_tps_source": "engine", + "decode_tps": 108.0, + "decode_tps_source": "engine", + "prompt_ms": 1618.4, + "decode_ms": 592.8, + "drafts_offered": 63, + "drafts_accepted": 37, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.12, + "total_s": 2.596, + "prompt_tokens": 9277, + "reused_tokens": 5904, + "read_tokens": 3373, + "generated_tokens": 44, + "prompt_tps": 1607.7, + "prompt_tps_source": "engine", + "decode_tps": 90.4, + "decode_tps_source": "engine", + "prompt_ms": 2098.0, + "decode_ms": 486.9, + "drafts_offered": 50, + "drafts_accepted": 21, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.998, + "total_s": 2.34, + "prompt_tokens": 12242, + "reused_tokens": 9320, + "read_tokens": 2922, + "generated_tokens": 39, + "prompt_tps": 1483.1, + "prompt_tps_source": "engine", + "decode_tps": 110.6, + "decode_tps_source": "engine", + "prompt_ms": 1970.2, + "decode_ms": 352.7, + "drafts_offered": 38, + "drafts_accepted": 25, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.999, + "total_s": 2.22, + "prompt_tokens": 15169, + "reused_tokens": 12280, + "read_tokens": 2889, + "generated_tokens": 27, + "prompt_tps": 1466.4, + "prompt_tps_source": "engine", + "decode_tps": 116.6, + "decode_tps_source": "engine", + "prompt_ms": 1970.1, + "decode_ms": 231.6, + "drafts_offered": 24, + "drafts_accepted": 16, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.97, + "total_s": 1.091, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 13, + "prompt_tps": 639.2, + "prompt_tps_source": "engine", + "decode_tps": 98.9, + "decode_tps_source": "engine", + "prompt_ms": 952.8, + "decode_ms": 131.5, + "drafts_offered": 15, + "drafts_accepted": 10, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.155, + "total_s": 2.616, + "prompt_tokens": 4180, + "reused_tokens": 624, + "read_tokens": 3556, + "generated_tokens": 64, + "prompt_tps": 1668.4, + "prompt_tps_source": "engine", + "decode_tps": 135.6, + "decode_tps_source": "engine", + "prompt_ms": 2131.4, + "decode_ms": 471.9, + "drafts_offered": 54, + "drafts_accepted": 43, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.642, + "total_s": 2.184, + "prompt_tokens": 5841, + "reused_tokens": 4243, + "read_tokens": 1598, + "generated_tokens": 64, + "prompt_tps": 986.4, + "prompt_tps_source": "engine", + "decode_tps": 115.7, + "decode_tps_source": "engine", + "prompt_ms": 1620.1, + "decode_ms": 553.1, + "drafts_offered": 64, + "drafts_accepted": 41, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 2.169, + "total_s": 2.581, + "prompt_tokens": 9277, + "reused_tokens": 5834, + "read_tokens": 3443, + "generated_tokens": 47, + "prompt_tps": 1607.0, + "prompt_tps_source": "engine", + "decode_tps": 111.0, + "decode_tps_source": "engine", + "prompt_ms": 2142.5, + "decode_ms": 423.4, + "drafts_offered": 50, + "drafts_accepted": 28, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.966, + "total_s": 2.079, + "prompt_tokens": 12245, + "reused_tokens": 9323, + "read_tokens": 2922, + "generated_tokens": 16, + "prompt_tps": 1506.6, + "prompt_tps_source": "engine", + "decode_tps": 129.9, + "decode_tps_source": "engine", + "prompt_ms": 1939.5, + "decode_ms": 123.2, + "drafts_offered": 15, + "drafts_accepted": 10, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.996, + "total_s": 2.202, + "prompt_tokens": 15149, + "reused_tokens": 12260, + "read_tokens": 2889, + "generated_tokens": 26, + "prompt_tps": 1465.0, + "prompt_tps_source": "engine", + "decode_tps": 119.9, + "decode_tps_source": "engine", + "prompt_ms": 1972.0, + "decode_ms": 216.8, + "drafts_offered": 25, + "drafts_accepted": 16, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 69.303, + "min": 69.142, + "max": 69.306, + "n": 3 + }, + "reread_tokens": { + "median": 4, + "min": 3, + "max": 74, + "n": 3 + }, + "new_tokens": { + "median": 14334, + "min": 14334, + "max": 14334, + "n": 3 + }, + "turn_ttft_s": { + "median": 2.003, + "min": 1.641, + "max": 2.261, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 15157, + "min": 15149, + "max": 15169, + "n": 3 + }, + "turn_decode_tps": { + "median": 110.6, + "min": 70.0, + "max": 135.6, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 0.972, + "min": 0.97, + "max": 1.011, + "n": 3 + } + }, + "clients": {}, + "skipped": {}, + "failures": [] + } +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/complete.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/complete.json new file mode 100644 index 0000000..516203f --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/complete.json @@ -0,0 +1,5 @@ +{ + "complete": true, + "bench_seconds": 128.00078868865967, + "finished_utc": "2026-10-18T05:54:09Z" +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/health.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/health.json new file mode 100644 index 0000000..38cd18f --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/health.json @@ -0,0 +1,10 @@ +{ + "status": "ok", + "max_context": 65536, + "model": "qwen3.8-flash-next-iq3_xxs", + "images": false, + "api_key": false, + "image_generation": false, + "loaded": true, + "service": "strata" +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/provenance.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/provenance.json new file mode 100644 index 0000000..335beae --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/provenance.json @@ -0,0 +1,9 @@ +{ + "arm": "upstream-flash-next", + "engine_binary": "/opt/polystrata-v0.1.45-poly.1/build/strata", + "engine_sha256": "4e7254efedee4f6e898cec87e0da4f4e38c81be174553bfaf77536de720d0d37", + "fork_commit": "4c25aa6f6a99d6cb9f0a350bf1141865c158f593", + "nvidia_smi": "NVIDIA GeForce RTX 3090, 580.126.20, 24576 MiB", + "cpu_quota": "3112500/100000", + "started_utc": "2026-10-18T05:48:30Z" +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server-command.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server-command.json new file mode 100644 index 0000000..363acd5 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server-command.json @@ -0,0 +1,12 @@ +[ + "/opt/polystrata-v0.1.45-poly.1/.venv/bin/python", + "/opt/polystrata-v0.1.45-poly.1/serve/server.py", + "--engine", + "strata", + "--config", + "/opt/us2-results/step9/2026-10-17-rtx3090/upstream-flash-next/server.json", + "--host", + "127.0.0.1", + "--port", + "18080" +] diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server-exit.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server-exit.json new file mode 100644 index 0000000..4c21f58 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server-exit.json @@ -0,0 +1 @@ +{"returncode": 0} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server.json new file mode 100644 index 0000000..f759bd9 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/server.json @@ -0,0 +1,44 @@ +{ + "exe": "/opt/polystrata-v0.1.45-poly.1/build/strata", + "cwd": "/opt/polystrata-v0.1.45-poly.1", + "tokenizer": "/opt/us2-models/pack-iq3-xxs/tokenizer", + "model_name": "qwen3.8-flash-next-iq3_xxs", + "log": "/opt/us2-results/step9/2026-10-17-rtx3090/upstream-flash-next/engine.log", + "args": [ + "--pack", + "/opt/us2-models/pack-iq3-xxs", + "--native", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", + "--ple-gguf", + "/opt/us2-models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", + "--expert-profile", + "/opt/us2-models/pack-iq3-xxs/expert-profile.bin", + "--expert-cache", + "auto", + "--prefill", + "auto", + "--spec", + "4", + "--spec-min-p", + "0.5", + "--mtp", + "/opt/us2-models/mtp", + "--max-context", + "65536", + "--kv", + "int8", + "--ple-io", + "ram", + "--pool-workers", + "15", + "--kv-resident", + "32768" + ], + "sampling": { + "temperature": 0.6, + "top_p": 0.95, + "top_k": 20, + "min_p": 0.0 + }, + "fit_max_tokens": true +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/summary.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/summary.json new file mode 100644 index 0000000..09be5c1 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/summary.json @@ -0,0 +1,199 @@ +{ + "checks": { + "requests": 45, + "all_successful": true, + "skipped": {}, + "failures": [] + }, + "sustained": { + "decode_tps": { + "median": 105.1, + "min": 92.9, + "max": 115.5, + "n": 9 + }, + "prompt_tps": { + "median": 1776.7, + "min": 1111.8, + "max": 1903.3, + "n": 9 + }, + "ttft_s": { + "median": 2.49, + "min": 1.52, + "max": 2.707, + "n": 9 + }, + "total_s": { + "median": 7.256, + "min": 5.941, + "max": 7.769, + "n": 9 + }, + "draft_acceptance_pct": 64.330900243309 + }, + "chat": { + "median": 87.1, + "min": 72.5, + "max": 107.0, + "n": 9 + }, + "chat_ttft_s": { + "median": 0.406, + "min": 0.361, + "max": 0.478, + "n": 9 + }, + "prefill": { + "4K": { + "median": 1923.9, + "min": 1835.2, + "max": 1933.9, + "n": 3 + }, + "16K": { + "median": 2342.1, + "min": 2326.5, + "max": 2347.6, + "n": 3 + }, + "32K": { + "median": 2392.9, + "min": 2388.9, + "max": 2395.0, + "n": 3 + } + }, + "prefill_ttft_s": { + "4K": { + "median": 2.113, + "min": 2.101, + "max": 2.212, + "n": 3 + }, + "16K": { + "median": 6.895, + "min": 6.879, + "max": 6.934, + "n": 3 + }, + "32K": { + "median": 13.453, + "min": 13.43, + "max": 13.472, + "n": 3 + } + }, + "agent": { + "turn_decode_tps": { + "median": 110.6, + "min": 70.0, + "max": 135.6, + "n": 15 + }, + "turn_ttft_s": { + "median": 2.003, + "min": 1.641, + "max": 2.261, + "n": 15 + } + }, + "per_document": { + "docs/DETAILS.md": { + "prompt_tokens": { + "median": 5048, + "min": 5048, + "max": 5048, + "n": 3 + }, + "decode_tps": { + "median": 102.8, + "min": 100.9, + "max": 111.7, + "n": 3 + }, + "prompt_tps": { + "median": 1898.8, + "min": 1891.0, + "max": 1903.3, + "n": 3 + }, + "ttft_s": { + "median": 2.685, + "min": 2.679, + "max": 2.707, + "n": 3 + }, + "total_s": { + "median": 7.647, + "min": 7.256, + "max": 7.769, + "n": 3 + } + }, + "docs/HOW_IT_WORKS.md": { + "prompt_tokens": { + "median": 1696, + "min": 1696, + "max": 1696, + "n": 3 + }, + "decode_tps": { + "median": 107.8, + "min": 92.9, + "max": 115.5, + "n": 3 + }, + "prompt_tps": { + "median": 1120.2, + "min": 1111.8, + "max": 1128.9, + "n": 3 + }, + "ttft_s": { + "median": 1.538, + "min": 1.52, + "max": 1.548, + "n": 3 + }, + "total_s": { + "median": 6.281, + "min": 5.941, + "max": 7.038, + "n": 3 + } + }, + "docs/INSTALL.md": { + "prompt_tokens": { + "median": 4370, + "min": 4370, + "max": 4370, + "n": 3 + }, + "decode_tps": { + "median": 105.1, + "min": 99.7, + "max": 107.7, + "n": 3 + }, + "prompt_tps": { + "median": 1776.7, + "min": 1773.6, + "max": 1801.2, + "n": 3 + }, + "ttft_s": { + "median": 2.49, + "min": 2.448, + "max": 2.501, + "n": 3 + }, + "total_s": { + "median": 7.308, + "min": 7.23, + "max": 7.618, + "n": 3 + } + } + } +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/sustained.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/sustained.json new file mode 100644 index 0000000..ea29517 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-flash-next/sustained.json @@ -0,0 +1,506 @@ +[ + { + "run": 0, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 1.5376275349408388, + "total": 7.038452189415693, + "text": "# PolyStrata: Technical Design Analysis\n\n## Executive Summary\n\nPolyStrata is an inference engine designed to run massive Mixture-of-Experts (MoE) models\u2014specifically Qwen3.8-Flash-Next, which contains 24,576 experts\u2014on consumer hardware with limited VRAM (12\u201324 GB). It achieves this through a **hierarchical memory architecture** that distributes model components across GPU VRAM, system RAM, and SSD storage, combined with speculative decoding techniques to maximize throughput. The core insight is that MoE models only activate a small subset of experts per token, making it feasible to keep frequently-used experts on the GPU while streaming rarely-used ones from slower memory tiers.\n\n---\n\n## Core Architecture: Hierarchical Memory Distribution\n\n### The Problem Space\n\nQwen3.8-Flash-Next is an MoE model with 24,576 expert networks. Each token generation activates only ~10 experts out of these 24,576. However, the full model requires hundreds of gigabytes of memory if all experts were resident in VRAM simultaneously. Consumer GPUs offer 12\u201324 GB VRAM, creating a fundamental capacity mismatch.\n\n### The Solution: Three-Tier Memory Hierarchy\n\nPolyStrata implements a **stratified storage system** analogous to kitchen organization (counter = frequently used items, pantry = rarely accessed items):\n\n| Tier | Storage Medium | Contents | Access Pattern |\n|------|---------------|----------|----------------|\n| **L1 (Fastest)** | GPU VRAM | Attention/DeltaNet mixers, gated-residual weights, routers, shared experts, output head, MTP draft layer, KV cache (partial), adaptive expert cache | Random access, low latency |\n| **L2 (Medium)** | System RAM | All 24,576 experts (pinned memory) | CPU computation in parallel with GPU |\n| **L3 (Slowest)** | SSD/NVMe | 28.8 GB n-gram lookup table | Sequential/streaming reads via OS cache |\n\n### GPU VRAM Allocation Strategy\n\nThe GPU holds:\n1. **Fixed components**: Attention layers, DeltaNet mixers, gated-residual weights, routing networks, shared experts, output projection head, and the Multi-Token Prediction (MTP) draft layer. These are required for every token generation step.\n2. **Adaptive Expert Cache**: The remaining VR", + "usage": { + "prompt_tokens": 1696, + "completion_tokens": 512, + "total_tokens": 2208, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 1514.0, + "prompt_per_token_ms": 0.893, + "prompt_per_second": 1120.2, + "predicted_n": 512, + "predicted_ms": 5512.6, + "predicted_per_token_ms": 10.767, + "predicted_per_second": 92.9, + "draft_n": 473, + "draft_n_accepted": 304 + }, + "err": null, + "pieces": 495 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.538, + "total_s": 7.038, + "prompt_tokens": 1696, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 1120.2, + "prompt_tps_source": "engine", + "decode_tps": 92.9, + "decode_tps_source": "engine", + "prompt_ms": 1514.0, + "decode_ms": 5512.6, + "drafts_offered": 473, + "drafts_accepted": 304 + } + }, + { + "run": 0, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 2.500667478889227, + "total": 7.618429932743311, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage Guide\n\n## 1. Executive Summary & Core Architecture\n\nPolyStrata is a specialized inference engine designed to run large language models (LLMs), specifically optimized for **Qwen3.8-Flash-Next** and related architectures, on consumer-grade hardware. Its primary architectural innovation lies in its hybrid memory management strategy: it aggressively offloads model weights (\"experts\") between system RAM and GPU VRAM, leveraging a custom engine that supports both NVIDIA (CUDA) and AMD (HIP/ROCm) backends.\n\nThe project distinguishes itself from standard inference stacks (like llama.cpp or vLLM) by focusing on **MoE (Mixture of Experts)** efficiency, multi-GPU pipeline parallelism, and a highly automated, user-friendly installation process that abstracts away complex dependency management.\n\n---\n\n## 2. Technical Design & Key Components\n\n### A. The Hybrid Memory Model (RAM + VRAM)\nPolyStrata\u2019s core design principle is the **dynamic splitting of model experts**.\n* **VRAM Priority:** The engine attempts to keep as many \"active\" experts in GPU VRAM as possible for fast inference.\n* **RAM Overflow:** Experts that do not fit in VRAM are stored in system RAM.\n* **Low-RAM Mode:** For systems with limited RAM but large GPUs, PolyStrata can map experts directly from disk/pack files into the OS file cache or GPU memory without fully loading them into physical RAM first. This is critical for running 70GB+ models on machines with <64GB RAM.\n* **Page-Locked Memory:** The engine uses pinned (page-locked) host memory to facilitate high-bandwidth transfers between CPU and GPU. This requires significant system resources and explains the \"1-3 minute freeze\" during startup as it locks tens of GBs of RAM.\n\n### B. Backend Abstraction: CUDA vs. HIP\nPolyStrata supports two distinct hardware paths with different tradeoffs:\n1. **NVIDIA (CUDA):**\n * Uses pre-compiled engines for RTX 20/30/40/50 series.\n * Supports advanced features like `--calibrate` (likely for quantization or memory tuning) and GPU-accelerated vision encoders.\n * Preferred for multi-GPU setups due to mature pipeline parallelism support.\n2. **AMD (HIP", + "usage": { + "prompt_tokens": 4370, + "completion_tokens": 512, + "total_tokens": 4882, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 2459.6, + "prompt_per_token_ms": 0.563, + "prompt_per_second": 1776.7, + "predicted_n": 512, + "predicted_ms": 5133.1, + "predicted_per_token_ms": 10.026, + "predicted_per_second": 99.7, + "draft_n": 447, + "draft_n_accepted": 285 + }, + "err": null, + "pieces": 494 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.501, + "total_s": 7.618, + "prompt_tokens": 4370, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 1776.7, + "prompt_tps_source": "engine", + "decode_tps": 99.7, + "decode_tps_source": "engine", + "prompt_ms": 2459.6, + "decode_ms": 5133.1, + "drafts_offered": 447, + "drafts_accepted": 285 + } + }, + { + "run": 0, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 2.706903165206313, + "total": 7.769424468278885, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage\n\nPolyStrata is a specialized inference engine designed to run large Mixture-of-Experts (MoE) models on consumer-grade hardware by aggressively optimizing memory bandwidth and compute efficiency. Its core innovation lies in how it manages the massive weight matrices of MoE models, splitting them between VRAM (GPU) and system RAM/CPU, while using advanced quantization and speculative decoding techniques to maintain high throughput.\n\n## 1. Core Architecture & How It Works\n\n### The MoE Bottleneck\nStandard MoE models (like Mixtral or DeepSeek) have billions of parameters, but only a small fraction is active per token. However, loading all experts into VRAM is impossible on consumer GPUs (e.g., 12GB RTX 5070). PolyStrata solves this by:\n1. **Expert Streaming:** Keeping the most frequently used \"experts\" in VRAM and streaming less-used ones from system RAM or disk.\n2. **Quantization:** Using highly compressed formats (IQ2_XS, IQ3_S, Q2_0) to reduce memory footprint without catastrophic quality loss.\n3. **Speculative Decoding (MTP):** Using a smaller \"draft\" model to predict multiple tokens ahead, which are then verified in parallel by the main MoE model. This hides latency and increases throughput.\n\n### Key Technical Components\n\n#### A. Memory Management: KV Cache & Expert Streaming\nPolyStrata introduces sophisticated memory tiering to fit large contexts on limited VRAM.\n\n* **KV Streaming (`--kv-streaming`):** For long contexts (>64K tokens), the engine keeps only a portion of the Key-Value (KV) cache in VRAM (`--kv-resident N`) and streams the rest from system RAM. This frees up VRAM for more experts.\n * *Tradeoff:* Slight latency increase due to PCIe transfers, but enables 128K\u2013262K context windows on 12GB cards.\n* **KV Quantization:**\n * **8-bit KV (Default):** Balanced precision and speed.\n * **4-bit KV (`--kv q4_0`):** Uses Hadamard rotation before quantization to preserve accuracy. Saves ~50% KV memory but increases perplexity by 8\u201312%. Useful for very long contexts where VRAM is tight.\n * ", + "usage": { + "prompt_tokens": 5048, + "completion_tokens": 512, + "total_tokens": 5560, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 2669.5, + "prompt_per_token_ms": 0.529, + "prompt_per_second": 1891.0, + "predicted_n": 512, + "predicted_ms": 5075.9, + "predicted_per_token_ms": 9.914, + "predicted_per_second": 100.9, + "draft_n": 465, + "draft_n_accepted": 283 + }, + "err": null, + "pieces": 496 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.707, + "total_s": 7.769, + "prompt_tokens": 5048, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 1891.0, + "prompt_tps_source": "engine", + "decode_tps": 100.9, + "decode_tps_source": "engine", + "prompt_ms": 2669.5, + "decode_ms": 5075.9, + "drafts_offered": 465, + "drafts_accepted": 283 + } + }, + { + "run": 1, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 1.5476723928004503, + "total": 6.280837122350931, + "text": "# PolyStrata: Technical Design Analysis\n\n## Executive Summary\n\nPolyStrata is an inference engine designed to run massive Mixture-of-Experts (MoE) models\u2014specifically Qwen3.8-Flash-Next with 24,576 experts\u2014on consumer hardware with limited VRAM (12\u201324 GB). It achieves this through a **hierarchical memory architecture** that distributes model components across GPU VRAM, system RAM, and SSD storage, combined with speculative decoding techniques to maximize throughput.\n\n---\n\n## Core Architecture: Hierarchical Memory Distribution\n\n### The Problem Space\n\nQwen3.8-Flash-Next is an MoE model where each token generation requires only ~10 of 24,576 experts. However, the full model requires hundreds of GBs of memory\u2014far exceeding consumer GPU VRAM. Traditional approaches either:\n1. Quantize aggressively (quality loss)\n2. Offload all experts to CPU/SSD (throughput collapse)\n3. Require datacenter-grade hardware\n\nPolyStrata solves this by **co-locating frequently-used experts on the GPU** while keeping rarely-used experts in RAM, with a lookup table on SSD for routing decisions.\n\n### Memory Tiering Strategy\n\n| Tier | Contents | Access Pattern | Rationale |\n|------|----------|----------------|-----------|\n| **GPU VRAM** | Attention/DeltaNet mixers, gated-residual weights, routers, shared experts, output head, MTP draft layer, KV cache (hot portion), expert cache | Random access, high bandwidth | Latency-critical operations; every GB holds ~700 experts |\n| **System RAM** | All 24,576 experts (pinned) | Sequential/random via PCIe | CPU computes uncached experts in parallel with GPU |\n| **SSD** | 28.8 GB n-gram lookup table | Few rows per token via OS cache | Routing decisions; amortized cost over long sequences |\n\n### Key Design Decisions\n\n1. **Expert Caching on GPU**: The engine maintains an adaptive expert cache that learns which experts are most frequently invoked during a conversation. This is not static\u2014it evolves as the user chats, ensuring hot experts remain in VRAM.\n\n2. **Parallel CPU/GPU Execution**: When a token requires an expert not cached on GPU, the CPU computes it using AVX-512/AVX2 kernels (or ggml", + "usage": { + "prompt_tokens": 1696, + "completion_tokens": 512, + "total_tokens": 2208, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 1525.4, + "prompt_per_token_ms": 0.899, + "prompt_per_second": 1111.8, + "predicted_n": 512, + "predicted_ms": 4747.6, + "predicted_per_token_ms": 9.273, + "predicted_per_second": 107.8, + "draft_n": 460, + "draft_n_accepted": 300 + }, + "err": null, + "pieces": 493 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.548, + "total_s": 6.281, + "prompt_tokens": 1696, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 1111.8, + "prompt_tps_source": "engine", + "decode_tps": 107.8, + "decode_tps_source": "engine", + "prompt_ms": 1525.4, + "decode_ms": 4747.6, + "drafts_offered": 460, + "drafts_accepted": 300 + } + }, + { + "run": 1, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 2.4899533577263355, + "total": 7.229766728356481, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage Guide\n\n## 1. Executive Summary & Core Architecture\n\nPolyStrata is a specialized inference engine designed to run large language models (LLMs), specifically optimized for **Qwen3.8-Flash-Next** and related architectures, on consumer-grade hardware. Its primary architectural innovation lies in its hybrid execution strategy: it leverages **Multi-GPU layer splitting**, **CPU/GPU expert offloading**, and a custom **MTP (Multi-Token Prediction) draft layer** to maximize throughput and minimize latency.\n\nThe system is designed for accessibility, offering automated setup scripts (`START-HERE.bat` / `setup.sh`) that handle dependency management, model downloading, and engine compilation, while providing advanced tuning options for power users.\n\n---\n\n## 2. Technical Design & Key Components\n\n### A. Model Support & Quantization Strategy\nPolyStrata supports a hierarchy of models with varying resource requirements:\n* **Primary Target:** Qwen3.8-Flash-Next (requires ~70\u201380 GB disk, 64 GB RAM recommended).\n* **Secondary Targets:** GLM 5.3 Flash (Linux-only, high RAM), and smaller variants like Qwen3.6-35B-A3B, Ornith 1.5, and Gemma 4 26B-A4B.\n\n**Quantization & Storage:**\n* Models are stored in GGUF format.\n* **MTP Layer:** A separate ~6 GB draft layer is used for speculative decoding to accelerate token generation.\n* **Expert Caching:** For MoE (Mixture of Experts) models, PolyStrata caches \"experts\" on the GPU VRAM when possible. If VRAM is insufficient, it falls back to CPU RAM or disk streaming.\n* **AVX-512 Optimization:** On supported CPUs (Ryzen 7000/9000), a one-time ~40 GB copy of experts is written to disk for fast CPU kernel access in Q2_0 quantization modes.\n\n### B. Hardware Abstraction & Backend Selection\nPolyStrata abstracts hardware complexity through automatic backend detection:\n\n1. **NVIDIA (CUDA):**\n * Uses pre-compiled engines for RTX 20/30/40/50 series.\n * Falls back to local compilation using Visual Studio Build", + "usage": { + "prompt_tokens": 4370, + "completion_tokens": 512, + "total_tokens": 4882, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 2463.9, + "prompt_per_token_ms": 0.564, + "prompt_per_second": 1773.6, + "predicted_n": 512, + "predicted_ms": 4753.9, + "predicted_per_token_ms": 9.285, + "predicted_per_second": 107.7, + "draft_n": 462, + "draft_n_accepted": 303 + }, + "err": null, + "pieces": 493 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.49, + "total_s": 7.23, + "prompt_tokens": 4370, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 1773.6, + "prompt_tps_source": "engine", + "decode_tps": 107.7, + "decode_tps_source": "engine", + "prompt_ms": 2463.9, + "decode_ms": 4753.9, + "drafts_offered": 462, + "drafts_accepted": 303 + } + }, + { + "run": 1, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 2.679227100685239, + "total": 7.647430758923292, + "text": "# PolyStrata: Technical Design Analysis\n\n## Executive Summary\n\nPolyStrata is a high-performance inference engine for Mixture-of-Experts (MoE) Large Language Models, optimized for consumer-grade hardware (specifically NVIDIA RTX 30/50 series and AMD RDNA3/RDNA4 GPUs). Its core innovation lies in **hybrid memory management** that balances VRAM constraints with RAM/disk availability, combined with aggressive speculative decoding and fused kernel optimizations. The engine targets a specific niche: running large MoE models (like Qwen2-MoE or similar architectures) on single-GPU consumer setups by strategically offloading expert weights while maintaining high throughput through speculative execution and quantization-aware kernels.\n\n---\n\n## Core Architecture & Design Philosophy\n\n### 1. Hybrid Expert Memory Management\n\nThe fundamental challenge PolyStrata addresses is that MoE models have massive parameter counts (23\u201350 GB for experts alone) that exceed typical consumer VRAM (8\u201312 GB). The engine employs a **tiered memory hierarchy**:\n\n```\nVRAM (Fastest, Limited) \u2192 RAM (Medium, Larger) \u2192 Disk/MMap (Slowest, Largest)\n```\n\n**Key Mechanisms:**\n\n- **Expert Caching in VRAM:** Only the most frequently accessed experts reside in GPU memory. The engine dynamically swaps experts between RAM and VRAM based on access patterns (`--adapt-swaps`).\n- **KV Cache Streaming:** For contexts >64K tokens, the KV cache is stored primarily in system RAM, with only a resident window (default 32K cells) kept in VRAM (`--kv-resident 32768`). This frees VRAM for more expert slots.\n- **Low-RAM Mode:** When system RAM cannot hold all experts (~10 GB overhead), the engine maps experts directly from disk via memory-mapped files (`--mmap-experts`), relying on OS file caching.\n\n**Tradeoff:** This introduces latency variance. Expert swaps over PCIe incur bandwidth costs, but the engine mitigates this by:\n- Predictive prefetching of likely-needed experts\n- Keeping a \"hot set\" in VRAM based on recent access patterns\n- Using `--pcie-frac` to control what fraction of missed experts are computed on CPU vs. GPU\n\n### 2. Quantization-Aware Fused Kernels\n\nPolyStrata does not simply dequantize weights before computation. Instead, it implements **fused kernels**", + "usage": { + "prompt_tokens": 5048, + "completion_tokens": 512, + "total_tokens": 5560, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 2652.3, + "prompt_per_token_ms": 0.525, + "prompt_per_second": 1903.3, + "predicted_n": 512, + "predicted_ms": 4981.6, + "predicted_per_token_ms": 9.73, + "predicted_per_second": 102.8, + "draft_n": 443, + "draft_n_accepted": 270 + }, + "err": null, + "pieces": 493 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.679, + "total_s": 7.647, + "prompt_tokens": 5048, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 1903.3, + "prompt_tps_source": "engine", + "decode_tps": 102.8, + "decode_tps_source": "engine", + "prompt_ms": 2652.3, + "decode_ms": 4981.6, + "drafts_offered": 443, + "drafts_accepted": 270 + } + }, + { + "run": 2, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 1.5204182006418705, + "total": 5.941010043025017, + "text": "# PolyStrata: Technical Design Analysis\n\n## Executive Summary\n\nPolyStrata is a specialized inference engine designed to run massive Mixture-of-Experts (MoE) models\u2014specifically Qwen3.8-Flash-Next and GLM 5.3 Flash\u2014on consumer hardware with limited VRAM (12\u201324 GB). It achieves this through a hierarchical memory architecture that distributes model weights across GPU VRAM, system RAM, and SSD storage, combined with speculative decoding techniques to maximize throughput.\n\n---\n\n## Core Architecture: Hierarchical Memory Distribution\n\n### The Problem Space\n\nQwen3.8-Flash-Next contains **24,576 experts** (small specialized neural sub-networks). A standard MoE model requires all experts to be resident in memory simultaneously for inference. However, each token generation only activates **~10 experts** out of 24,576. This creates a fundamental mismatch: the model is enormous, but its active working set per token is tiny.\n\nPolyStrata exploits this sparsity by implementing a **three-tier memory hierarchy**:\n\n| Tier | Storage Medium | Contents | Access Pattern |\n|------|---------------|----------|----------------|\n| L1 | GPU VRAM (12\u201324 GB) | Attention/DeltaNet mixers, routers, shared experts, output head, MTP draft layer, KV cache (partial), **adaptive expert cache** | Hot path; lowest latency |\n| L2 | System RAM (pinned) | All 24,576 experts | Warm path; CPU computes uncached experts concurrently with GPU |\n| L3 | SSD (28.8 GB n-gram table) | Lookup tables for routing/context | Cold path; OS-cached, few rows read per token |\n\n### The \"Kitchen\" Analogy Explained\n\nThe documentation uses a kitchen metaphor: frequently used items stay on the counter (GPU), everything else waits in the pantry (RAM/SSD). Technically, this translates to:\n\n1. **Static components** (attention layers, routers, shared experts) are always on GPU because they participate in every token's computation.\n2. **Dynamic expert cache** fills remaining VRAM with the most frequently accessed experts. This cache is **adaptive**\u2014it learns which experts your specific conversation uses and promotes them to GPU residency over time.\n3. **Uncached experts** reside in pinned system RAM. When a token requires an expert not", + "usage": { + "prompt_tokens": 1696, + "completion_tokens": 512, + "total_tokens": 2208, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 1502.3, + "prompt_per_token_ms": 0.886, + "prompt_per_second": 1128.9, + "predicted_n": 512, + "predicted_ms": 4432.7, + "predicted_per_token_ms": 8.658, + "predicted_per_second": 115.5, + "draft_n": 441, + "draft_n_accepted": 310 + }, + "err": null, + "pieces": 495 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.52, + "total_s": 5.941, + "prompt_tokens": 1696, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 1128.9, + "prompt_tps_source": "engine", + "decode_tps": 115.5, + "decode_tps_source": "engine", + "prompt_ms": 1502.3, + "decode_ms": 4432.7, + "drafts_offered": 441, + "drafts_accepted": 310 + } + }, + { + "run": 2, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 2.4482060223817825, + "total": 7.308285115286708, + "text": "# PolyStrata: Technical Design, Tradeoffs, and Practical Usage Guide\n\n## 1. Executive Summary & Core Philosophy\n\nPolyStrata is a specialized inference engine designed to run large language models (LLMs), specifically optimized for the **Qwen3.8-Flash-Next** family, on consumer-grade hardware. Its primary architectural goal is to maximize performance on systems with limited VRAM by leveraging advanced quantization techniques, multi-GPU layer splitting, and hybrid CPU/GPU execution strategies.\n\nThe project distinguishes itself from generic LLM runners (like standard `llama.cpp` or `vLLM`) through:\n1. **Aggressive Quantization Support:** Heavy reliance on i-quant models (IQ2_XS, IQ3_XXS, etc.) to fit massive parameter counts into consumer VRAM/RAM budgets.\n2. **Hardware-Agnostic Automation:** A setup process that automatically detects hardware capabilities (AVX2/512, GPU architecture) and compiles or downloads the appropriate engine binaries.\n3. **Hybrid Inference Pipeline:** Explicit support for splitting model layers across multiple GPUs and offloading \"expert\" weights to system RAM or disk when VRAM is insufficient.\n\n---\n\n## 2. System Requirements & Hardware Constraints\n\nPolyStrata\u2019s design imposes strict hardware requirements that dictate its performance envelope. Understanding these constraints is critical for practical deployment.\n\n### 2.1 GPU Requirements\n* **NVIDIA:** Requires RTX 20, 30, 40, or 50 series cards.\n * **Minimum VRAM:** 8 GB (slow), **Recommended:** 12 GB+.\n * **Driver:** Version 580+ required for CUDA 13.0 compatibility.\n* **AMD:** Requires Radeon RX 6800/6900, 7700/7800/7900 XT/XTX, or 9060/9070 series.\n * **Constraint:** Integrated Radeon GPUs are **not supported**.\n * **Driver:** Linux uses kernel `amdgpu` (no ROCm install needed for basic setup); Windows requires current Adrenalin drivers.\n\n### 2.2 CPU & RAM Requirements\n* **CPU Architecture:** x86-64 with **AVX2** instruction set support (Intel Haswell 20", + "usage": { + "prompt_tokens": 4370, + "completion_tokens": 512, + "total_tokens": 4882, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 2426.2, + "prompt_per_token_ms": 0.555, + "prompt_per_second": 1801.2, + "predicted_n": 512, + "predicted_ms": 4872.9, + "predicted_per_token_ms": 9.517, + "predicted_per_second": 105.1, + "draft_n": 484, + "draft_n_accepted": 295 + }, + "err": null, + "pieces": 494 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.448, + "total_s": 7.308, + "prompt_tokens": 4370, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 1801.2, + "prompt_tps_source": "engine", + "decode_tps": 105.1, + "decode_tps_source": "engine", + "prompt_ms": 2426.2, + "decode_ms": 4872.9, + "drafts_offered": 484, + "drafts_accepted": 295 + } + }, + { + "run": 2, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 2.685029035434127, + "total": 7.256418826058507, + "text": "# PolyStrata: Technical Design Analysis & Implementation Guide\n\n## 1. Executive Summary\n\n**PolyStrata** is a high-performance inference engine optimized for **Mixture-of-Experts (MoE)** Large Language Models (LLMs). Its core architectural innovation lies in its sophisticated management of the \"expert\" weights\u2014the specialized sub-networks within an MoE model\u2014balancing them across VRAM, system RAM, and disk to maximize throughput on consumer-grade hardware.\n\nThe engine distinguishes itself through:\n1. **Hybrid Memory Management:** Dynamic streaming of Key-Value (KV) caches and expert weights between VRAM and RAM/Disk.\n2. **Advanced Quantization & Kernels:** Utilizing fused INT8 tensor-core kernels, IQ quantization packs, and speculative decoding with coupled draft layers.\n3. **Context Efficiency:** Supporting massive context windows (up to 262K tokens) by offloading KV cache storage to system RAM while keeping active attention data in VRAM.\n\n---\n\n## 2. Core Architecture & How It Works\n\n### 2.1 The MoE Challenge\nIn standard dense models, all weights reside in VRAM. In MoE models (like Qwen or Mixtral), only a subset of \"experts\" is activated per token. However, the total weight size often exceeds consumer GPU VRAM (e.g., 12GB\u201324GB). PolyStrata solves this by:\n* **Expert Caching:** Keeping frequently used experts in VRAM.\n* **Streaming:** Moving less-used experts to System RAM or Disk (`mmap`).\n* **KV Cache Offloading:** Storing the KV cache (context memory) primarily in System RAM, streaming only the necessary slices into VRAM for attention calculations.\n\n### 2.2 Key Technical Components\n\n#### A. Expert Management & Streaming\n* **Standard Mode:** Experts are pinned to System RAM. The GPU maintains a \"hot\" cache of experts.\n* **Low-RAM Mode (`--mmap-experts`):** If system RAM is insufficient, experts are memory-mapped from disk (`experts.bin`). The OS file cache acts as the intermediate layer between disk and GPU.\n* **Adaptive Tiering:** The engine dynamically swaps experts between RAM and VRAM based on usage frequency (`--adapt-swaps`).\n\n#### B. KV Cache Optimization\nPolyStrata offers multiple strategies to handle long contexts:\n1.", + "usage": { + "prompt_tokens": 5048, + "completion_tokens": 512, + "total_tokens": 5560, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 2658.5, + "prompt_per_token_ms": 0.527, + "prompt_per_second": 1898.8, + "predicted_n": 512, + "predicted_ms": 4584.1, + "predicted_per_token_ms": 8.953, + "predicted_per_second": 111.7, + "draft_n": 435, + "draft_n_accepted": 294 + }, + "err": null, + "pieces": 491 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 2.685, + "total_s": 7.256, + "prompt_tokens": 5048, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 1898.8, + "prompt_tps_source": "engine", + "decode_tps": 111.7, + "decode_tps_source": "engine", + "prompt_ms": 2658.5, + "decode_ms": 4584.1, + "drafts_offered": 435, + "drafts_accepted": 294 + } + } +] \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/benchmark-command.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/benchmark-command.json new file mode 100644 index 0000000..66cab82 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/benchmark-command.json @@ -0,0 +1,13 @@ +[ + "/opt/polystrata-v0.1.45-poly.1/.venv/bin/python", + "/opt/polystrata-v0.1.45-poly.1/tools/strata_bench.py", + "--url", + "http://127.0.0.1:18080", + "--config", + "/opt/us2-results/step9/2026-10-17-rtx3090/upstream-qwen36-q3km/server.json", + "--runs", + "3", + "--long", + "--out", + "/opt/us2-results/step9/2026-10-17-rtx3090/upstream-qwen36-q3km/community" +] \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/README.md b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/README.md new file mode 100644 index 0000000..b449ce0 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/README.md @@ -0,0 +1,64 @@ +# Community benchmark on NVIDIA GeForce RTX 3090 + +Measured on 2026-10-18 with `tools/strata_bench.py` (suite 1, 3 runs per test, medians with ranges). Speeds are the engine's own timings; first-token times are measured by the client over HTTP. Speed only: no correctness check was run. + +## Hardware and software + +- GPU and VRAM: NVIDIA GeForce RTX 3090, 24 GiB VRAM +- CPU: AMD EPYC 7H12 64-Core Processor (128 cores, 256 threads); installed RAM: 1007.6 GiB; storage: not measured +- OS: Linux 6.8.0-107-generic; GPU driver: 580.126.20; CUDA: 13.0 +- PolyStrata: project 0.1.45, commit d0cd84dc; engine 0.1.45 +- Background workloads and power limits: not recorded + +## Model and configuration + +- Model and quantization: qwen3.6-35b-a3b-ud-q3_k_m +- Context: 32768 tokens; parallel slots: 1 +- Settings: the install's own configuration, unchanged; thinking off for the suite; temperature 0 + +```text +strata-poly --model Qwen3.6-35B-A3B-UD-Q3_K_M.gguf --max-context 32768 --expert-profile expert-profile.txt --tail-skip 6 +``` + +## Method + +Run by `python tools/strata_bench.py --long` against the HTTP API of a PolyStrata server (already running); model loading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a unique tag, so the conversation cache cannot help the fresh-prompt tests. + +- short chat: the three questions of `tools/ab_engine.py`, up to 100 new tokens, 3 runs +- 4K / 16K prompts: generated word lists sized by a calibration request, 24 new tokens, 3 fresh prompts each +- agent session: system prompt and four tools, then 5 turns that each add about 1500 words of a project file and continue from the model's own earlier answers (the way agent clients resend a conversation), 64 new tokens per turn, 3 sessions; the cache numbers come from the answer's usage (`cached_tokens`) and timings (`prompt_n`) +- concurrency (when run): N requests sent at the same moment, total tokens over the wall time of the burst, latency over all requests + +## 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 | +| --- | ---: | ---: | ---: | ---: | --- | --- | --- | +| short chat | 46 (43-51) | 0 | 100 (100-100) | 9 | not measured | 220.8 (198.5-271.1) | 0.18 (0.17-0.18) | +| 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 3651.6 (3598.4-3655.0) | not measured | 1.11 (1.11-1.13) | +| 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 3569.7 (3567.6-3589.4) | not measured | 4.53 (4.50-4.53) | +| agent session, follow-up turns | 15129 (15125-15130) at the last turn | see below | up to 64 | 3 | see below | 194.0 (174.1-223.7) | 1.13 (0.56-1.28) | + +Ranges are the lowest and highest of the runs; `Runs` counts requests that returned a token. + +### Agent session (conversation cache) + +Cache hit over the follow-up turns: 68.8 % (68.8-68.8); earlier-turn tokens read again per session: 241 (237-242) (earlier turns that the cache did not hold; the 14314 (14314-14314) new tokens of the files are read once); first turn (nothing cached) first token: 0.32 s (0.32-0.33). + +| Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | +| ---: | ---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 609 | 0 | 609 | 1955.1 | 0.32 | 240.8 | +| 1 | 4197 | 602 | 3595 | 3033.0 | 1.205 | 174.1 | +| 2 | 5829 | 4190 | 1639 | 2851.4 | 0.591 | 217.9 | +| 3 | 9247 | 5822 | 3425 | 2726.9 | 1.278 | 183.9 | +| 4 | 12201 | 9240 | 2961 | 2831.6 | 1.064 | 211.3 | +| 5 | 15130 | 12194 | 2936 | 2640.3 | 1.135 | 175.2 | + +### Skipped and failed + +- skipped 32K: the context is 32768 tokens + +Per-request data: `results.json`. Engine log lines from the start: `engine-log-excerpt.txt` (when this run started the server). + +## Correctness and limitations + +Not measured: this is a speed suite. The conversation uses the model's own replies, so token counts differ a little between runs. Machine details come from the server, `nvidia-smi`/`rocm-smi` and the OS; background load and power limits are not recorded. Total time of the suite: 45 s. diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/results.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/results.json new file mode 100644 index 0000000..722f13e --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/community/2026-10-18-community-rtx-3090-qwen3-6-35b-a3b-ud-q3-k-m/results.json @@ -0,0 +1,877 @@ +{ + "schema": 1, + "tool": "tools/strata_bench.py", + "date": "2026-10-18", + "params": { + "runs": 3, + "think": false, + "clients": 0, + "long": true, + "started_server": false, + "command": "python tools/strata_bench.py --long" + }, + "elapsed_s": 45.43232297897339, + "machine": { + "gpu": [ + "NVIDIA GeForce RTX 3090" + ], + "gpu_vram_mib": 24576, + "gpu_driver": "580.126.20", + "cuda": "13.0", + "cpu": "AMD EPYC 7H12 64-Core Processor", + "cpu_cores": 128, + "cpu_threads": 256, + "ram_gib": 1007.6, + "os": "Linux 6.8.0-107-generic", + "python": "3.12.3", + "strata_version": "0.1.45", + "strata_commit": "d0cd84dc", + "engine_version": "0.1.45", + "model": "qwen3.6-35b-a3b-ud-q3_k_m", + "quant": "UD-Q3_K_M", + "context": 32768, + "parallel_slots": 1, + "config": { + "exe": "strata-poly", + "model_name": "qwen3.6-35b-a3b-ud-q3_k_m", + "args": [ + "--model", + "Qwen3.6-35B-A3B-UD-Q3_K_M.gguf", + "--max-context", + "32768", + "--expert-profile", + "expert-profile.txt", + "--tail-skip", + "6" + ], + "sampling": { + "temperature": 0.6, + "top_p": 0.95, + "top_k": 20, + "min_p": 0.0 + } + }, + "launch": "strata-poly --model Qwen3.6-35B-A3B-UD-Q3_K_M.gguf --max-context 32768 --expert-profile expert-profile.txt --tail-skip 6", + "engine_info": { + "model": "qwen3.6-35b-a3b-ud-q3_k_m", + "max_context": 32768, + "images": false, + "version": "0.1.45", + "context": 32768, + "expert_slots": 10496, + "expert_cache_mib": 14003, + "pool_workers": 31, + "conversation_cache_mib": 0, + "conversation_cache_slots": 4, + "conversation_cache_min_free_mib": 2560, + "vram_free_mib": 5913, + "vram_elastic": 1, + "batch_slots": 0, + "engine": "0.1.45" + }, + "vram_after": { + "elastic": true + } + }, + "results": { + "chat": { + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 0.184, + "total_s": 0.617, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 282.4, + "prompt_tps_source": "engine", + "decode_tps": 230.9, + "decode_tps_source": "engine", + "prompt_ms": 180.6, + "decode_ms": 433.1, + "drafts_offered": 67, + "drafts_accepted": 57, + "run": 0, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.178, + "total_s": 0.644, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 247.8, + "prompt_tps_source": "engine", + "decode_tps": 214.4, + "decode_tps_source": "engine", + "prompt_ms": 173.5, + "decode_ms": 466.5, + "drafts_offered": 80, + "drafts_accepted": 59, + "run": 0, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.179, + "total_s": 0.632, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 268.1, + "prompt_tps_source": "engine", + "decode_tps": 220.8, + "decode_tps_source": "engine", + "prompt_ms": 171.6, + "decode_ms": 452.9, + "drafts_offered": 73, + "drafts_accepted": 59, + "run": 0, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.178, + "total_s": 0.547, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 293.9, + "prompt_tps_source": "engine", + "decode_tps": 271.1, + "decode_tps_source": "engine", + "prompt_ms": 173.5, + "decode_ms": 368.8, + "drafts_offered": 81, + "drafts_accepted": 72, + "run": 1, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.178, + "total_s": 0.634, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 246.1, + "prompt_tps_source": "engine", + "decode_tps": 219.5, + "decode_tps_source": "engine", + "prompt_ms": 174.7, + "decode_ms": 455.6, + "drafts_offered": 76, + "drafts_accepted": 58, + "run": 1, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.177, + "total_s": 0.633, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 268.4, + "prompt_tps_source": "engine", + "decode_tps": 218.4, + "decode_tps_source": "engine", + "prompt_ms": 171.4, + "decode_ms": 457.9, + "drafts_offered": 73, + "drafts_accepted": 56, + "run": 1, + "prompt": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.176, + "total_s": 0.554, + "prompt_tokens": 51, + "reused_tokens": 0, + "read_tokens": 51, + "generated_tokens": 100, + "prompt_tps": 296.2, + "prompt_tps_source": "engine", + "decode_tps": 264.8, + "decode_tps_source": "engine", + "prompt_ms": 172.2, + "decode_ms": 377.7, + "drafts_offered": 82, + "drafts_accepted": 71, + "run": 2, + "prompt": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.175, + "total_s": 0.679, + "prompt_tokens": 43, + "reused_tokens": 0, + "read_tokens": 43, + "generated_tokens": 100, + "prompt_tps": 251.3, + "prompt_tps_source": "engine", + "decode_tps": 198.5, + "decode_tps_source": "engine", + "prompt_ms": 171.1, + "decode_ms": 503.9, + "drafts_offered": 80, + "drafts_accepted": 54, + "run": 2, + "prompt": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.181, + "total_s": 0.63, + "prompt_tokens": 46, + "reused_tokens": 0, + "read_tokens": 46, + "generated_tokens": 100, + "prompt_tps": 262.1, + "prompt_tps_source": "engine", + "decode_tps": 222.0, + "decode_tps_source": "engine", + "prompt_ms": 175.5, + "decode_ms": 450.4, + "drafts_offered": 68, + "drafts_accepted": 56, + "run": 2, + "prompt": 2 + } + ], + "decode_tps": { + "median": 220.8, + "min": 198.5, + "max": 271.1, + "n": 9 + }, + "ttft_s": { + "median": 0.178, + "min": 0.175, + "max": 0.184, + "n": 9 + }, + "generated_tokens": { + "median": 100, + "min": 100, + "max": 100, + "n": 9 + }, + "prompt_tokens": { + "median": 46, + "min": 43, + "max": 51, + "n": 9 + } + }, + "prompts": { + "4K": { + "target_tokens": 4096, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 1.112, + "total_s": 1.258, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 3655.0, + "prompt_tps_source": "engine", + "decode_tps": 163.9, + "decode_tps_source": "engine", + "prompt_ms": 1099.6, + "decode_ms": 146.4, + "drafts_offered": 17, + "drafts_accepted": 13, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.127, + "total_s": 1.243, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 3598.4, + "prompt_tps_source": "engine", + "decode_tps": 206.0, + "decode_tps_source": "engine", + "prompt_ms": 1116.9, + "decode_ms": 116.5, + "drafts_offered": 16, + "drafts_accepted": 12, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.113, + "total_s": 1.243, + "prompt_tokens": 4019, + "reused_tokens": 0, + "read_tokens": 4019, + "generated_tokens": 24, + "prompt_tps": 3651.6, + "prompt_tps_source": "engine", + "decode_tps": 183.9, + "decode_tps_source": "engine", + "prompt_ms": 1100.6, + "decode_ms": 130.5, + "drafts_offered": 13, + "drafts_accepted": 9, + "run": 2 + } + ], + "prompt_tps": { + "median": 3651.6, + "min": 3598.4, + "max": 3655.0, + "n": 3 + }, + "ttft_s": { + "median": 1.113, + "min": 1.112, + "max": 1.127, + "n": 3 + }, + "prompt_tokens": { + "median": 4019, + "min": 4019, + "max": 4019, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + }, + "16K": { + "target_tokens": 16384, + "requests": [ + { + "ok": true, + "err": null, + "ttft_s": 4.497, + "total_s": 4.682, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3589.4, + "prompt_tps_source": "engine", + "decode_tps": 128.2, + "decode_tps_source": "engine", + "prompt_ms": 4473.7, + "decode_ms": 187.2, + "drafts_offered": 20, + "drafts_accepted": 11, + "run": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.528, + "total_s": 4.666, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3569.7, + "prompt_tps_source": "engine", + "decode_tps": 172.5, + "decode_tps_source": "engine", + "prompt_ms": 4498.4, + "decode_ms": 139.1, + "drafts_offered": 19, + "drafts_accepted": 13, + "run": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 4.531, + "total_s": 4.67, + "prompt_tokens": 16058, + "reused_tokens": 0, + "read_tokens": 16058, + "generated_tokens": 24, + "prompt_tps": 3567.6, + "prompt_tps_source": "engine", + "decode_tps": 171.2, + "decode_tps_source": "engine", + "prompt_ms": 4501.1, + "decode_ms": 140.2, + "drafts_offered": 16, + "drafts_accepted": 12, + "run": 2 + } + ], + "prompt_tps": { + "median": 3569.7, + "min": 3567.6, + "max": 3589.4, + "n": 3 + }, + "ttft_s": { + "median": 4.528, + "min": 4.497, + "max": 4.531, + "n": 3 + }, + "prompt_tokens": { + "median": 16058, + "min": 16058, + "max": 16058, + "n": 3 + }, + "reused_tokens": { + "median": 0, + "min": 0, + "max": 0, + "n": 3 + } + } + }, + "agent": { + "sessions": [ + [ + { + "ok": true, + "err": null, + "ttft_s": 0.32, + "total_s": 0.461, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 34, + "prompt_tps": 1955.1, + "prompt_tps_source": "engine", + "decode_tps": 240.8, + "decode_tps_source": "engine", + "prompt_ms": 311.5, + "decode_ms": 141.2, + "drafts_offered": 24, + "drafts_accepted": 20, + "run": 0, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.205, + "total_s": 1.433, + "prompt_tokens": 4197, + "reused_tokens": 602, + "read_tokens": 3595, + "generated_tokens": 40, + "prompt_tps": 3033.0, + "prompt_tps_source": "engine", + "decode_tps": 174.1, + "decode_tps_source": "engine", + "prompt_ms": 1185.3, + "decode_ms": 229.7, + "drafts_offered": 28, + "drafts_accepted": 20, + "run": 0, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.591, + "total_s": 0.825, + "prompt_tokens": 5829, + "reused_tokens": 4190, + "read_tokens": 1639, + "generated_tokens": 51, + "prompt_tps": 2851.4, + "prompt_tps_source": "engine", + "decode_tps": 217.9, + "decode_tps_source": "engine", + "prompt_ms": 574.8, + "decode_ms": 234.1, + "drafts_offered": 29, + "drafts_accepted": 27, + "run": 0, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.278, + "total_s": 1.479, + "prompt_tokens": 9247, + "reused_tokens": 5822, + "read_tokens": 3425, + "generated_tokens": 37, + "prompt_tps": 2726.9, + "prompt_tps_source": "engine", + "decode_tps": 183.9, + "decode_tps_source": "engine", + "prompt_ms": 1256.0, + "decode_ms": 201.2, + "drafts_offered": 23, + "drafts_accepted": 17, + "run": 0, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.064, + "total_s": 1.276, + "prompt_tokens": 12201, + "reused_tokens": 9240, + "read_tokens": 2961, + "generated_tokens": 45, + "prompt_tps": 2831.6, + "prompt_tps_source": "engine", + "decode_tps": 211.3, + "decode_tps_source": "engine", + "prompt_ms": 1045.7, + "decode_ms": 213.0, + "drafts_offered": 29, + "drafts_accepted": 27, + "run": 0, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.135, + "total_s": 1.409, + "prompt_tokens": 15130, + "reused_tokens": 12194, + "read_tokens": 2936, + "generated_tokens": 48, + "prompt_tps": 2640.3, + "prompt_tps_source": "engine", + "decode_tps": 175.2, + "decode_tps_source": "engine", + "prompt_ms": 1112.0, + "decode_ms": 274.0, + "drafts_offered": 35, + "drafts_accepted": 25, + "run": 0, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.321, + "total_s": 0.421, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 26, + "prompt_tps": 1926.0, + "prompt_tps_source": "engine", + "decode_tps": 260.8, + "decode_tps_source": "engine", + "prompt_ms": 316.2, + "decode_ms": 99.7, + "drafts_offered": 20, + "drafts_accepted": 17, + "run": 1, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.145, + "total_s": 1.356, + "prompt_tokens": 4189, + "reused_tokens": 602, + "read_tokens": 3587, + "generated_tokens": 42, + "prompt_tps": 3169.0, + "prompt_tps_source": "engine", + "decode_tps": 198.9, + "decode_tps_source": "engine", + "prompt_ms": 1131.9, + "decode_ms": 211.2, + "drafts_offered": 35, + "drafts_accepted": 23, + "run": 1, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.565, + "total_s": 0.832, + "prompt_tokens": 5823, + "reused_tokens": 4182, + "read_tokens": 1641, + "generated_tokens": 52, + "prompt_tps": 2969.6, + "prompt_tps_source": "engine", + "decode_tps": 194.0, + "decode_tps_source": "engine", + "prompt_ms": 552.6, + "decode_ms": 268.1, + "drafts_offered": 31, + "drafts_accepted": 24, + "run": 1, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.238, + "total_s": 1.439, + "prompt_tokens": 9242, + "reused_tokens": 5816, + "read_tokens": 3426, + "generated_tokens": 37, + "prompt_tps": 2801.1, + "prompt_tps_source": "engine", + "decode_tps": 183.7, + "decode_tps_source": "engine", + "prompt_ms": 1223.1, + "decode_ms": 201.4, + "drafts_offered": 21, + "drafts_accepted": 16, + "run": 1, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.05, + "total_s": 1.266, + "prompt_tokens": 12196, + "reused_tokens": 9235, + "read_tokens": 2961, + "generated_tokens": 45, + "prompt_tps": 2868.4, + "prompt_tps_source": "engine", + "decode_tps": 209.0, + "decode_tps_source": "engine", + "prompt_ms": 1032.3, + "decode_ms": 215.3, + "drafts_offered": 28, + "drafts_accepted": 26, + "run": 1, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.127, + "total_s": 1.398, + "prompt_tokens": 15125, + "reused_tokens": 12189, + "read_tokens": 2936, + "generated_tokens": 48, + "prompt_tps": 2659.4, + "prompt_tps_source": "engine", + "decode_tps": 176.1, + "decode_tps_source": "engine", + "prompt_ms": 1104.0, + "decode_ms": 272.5, + "drafts_offered": 34, + "drafts_accepted": 25, + "run": 1, + "turn": 5 + } + ], + [ + { + "ok": true, + "err": null, + "ttft_s": 0.33, + "total_s": 0.446, + "prompt_tokens": 609, + "reused_tokens": 0, + "read_tokens": 609, + "generated_tokens": 29, + "prompt_tps": 1877.9, + "prompt_tps_source": "engine", + "decode_tps": 248.3, + "decode_tps_source": "engine", + "prompt_ms": 324.3, + "decode_ms": 116.8, + "drafts_offered": 22, + "drafts_accepted": 18, + "run": 2, + "turn": 0 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.146, + "total_s": 1.331, + "prompt_tokens": 4192, + "reused_tokens": 602, + "read_tokens": 3590, + "generated_tokens": 40, + "prompt_tps": 3164.1, + "prompt_tps_source": "engine", + "decode_tps": 214.8, + "decode_tps_source": "engine", + "prompt_ms": 1134.6, + "decode_ms": 186.2, + "drafts_offered": 30, + "drafts_accepted": 23, + "run": 2, + "turn": 1 + }, + { + "ok": true, + "err": null, + "ttft_s": 0.567, + "total_s": 0.813, + "prompt_tokens": 5824, + "reused_tokens": 4185, + "read_tokens": 1639, + "generated_tokens": 55, + "prompt_tps": 2944.7, + "prompt_tps_source": "engine", + "decode_tps": 223.7, + "decode_tps_source": "engine", + "prompt_ms": 556.6, + "decode_ms": 245.9, + "drafts_offered": 37, + "drafts_accepted": 33, + "run": 2, + "turn": 2 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.258, + "total_s": 1.461, + "prompt_tokens": 9246, + "reused_tokens": 5817, + "read_tokens": 3429, + "generated_tokens": 37, + "prompt_tps": 2764.9, + "prompt_tps_source": "engine", + "decode_tps": 180.9, + "decode_tps_source": "engine", + "prompt_ms": 1240.2, + "decode_ms": 204.5, + "drafts_offered": 26, + "drafts_accepted": 18, + "run": 2, + "turn": 3 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.053, + "total_s": 1.274, + "prompt_tokens": 12200, + "reused_tokens": 9239, + "read_tokens": 2961, + "generated_tokens": 45, + "prompt_tps": 2862.0, + "prompt_tps_source": "engine", + "decode_tps": 203.7, + "decode_tps_source": "engine", + "prompt_ms": 1034.6, + "decode_ms": 220.9, + "drafts_offered": 32, + "drafts_accepted": 27, + "run": 2, + "turn": 4 + }, + { + "ok": true, + "err": null, + "ttft_s": 1.122, + "total_s": 1.409, + "prompt_tokens": 15129, + "reused_tokens": 12193, + "read_tokens": 2936, + "generated_tokens": 51, + "prompt_tps": 2664.5, + "prompt_tps_source": "engine", + "decode_tps": 176.5, + "decode_tps_source": "engine", + "prompt_ms": 1101.9, + "decode_ms": 289.0, + "drafts_offered": 38, + "drafts_accepted": 27, + "run": 2, + "turn": 5 + } + ] + ], + "hit_pct": { + "median": 68.76, + "min": 68.758, + "max": 68.767, + "n": 3 + }, + "reread_tokens": { + "median": 241, + "min": 237, + "max": 242, + "n": 3 + }, + "new_tokens": { + "median": 14314, + "min": 14314, + "max": 14314, + "n": 3 + }, + "turn_ttft_s": { + "median": 1.127, + "min": 0.565, + "max": 1.278, + "n": 15 + }, + "last_turn_prompt_tokens": { + "median": 15129, + "min": 15125, + "max": 15130, + "n": 3 + }, + "turn_decode_tps": { + "median": 194.0, + "min": 174.1, + "max": 223.7, + "n": 15 + }, + "first_turn_ttft_s": { + "median": 0.321, + "min": 0.32, + "max": 0.33, + "n": 3 + } + }, + "clients": {}, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + } +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/complete.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/complete.json new file mode 100644 index 0000000..375b850 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/complete.json @@ -0,0 +1,5 @@ +{ + "complete": true, + "bench_seconds": 45.5882511138916, + "finished_utc": "2026-10-18T06:35:50Z" +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/expert-profile.txt b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/expert-profile.txt new file mode 100644 index 0000000..ec3bd15 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/expert-profile.txt @@ -0,0 +1,10444 @@ +0 0 880 +0 1 5264 +0 2 3105 +0 3 5406 +0 4 452 +0 5 7163 +0 6 3334 +0 7 1126 +0 8 4188 +0 9 1465 +0 10 3066 +0 11 4512 +0 12 5074 +0 13 57501 +0 14 2320 +0 15 1524 +0 16 1229 +0 17 1309 +0 18 4197 +0 19 8710 +0 20 43787 +0 21 1681 +0 22 2191 +0 23 1432 +0 24 2731 +0 25 5451 +0 26 2521 +0 27 1977 +0 28 6732 +0 29 5528 +0 30 1932 +0 31 25188 +0 32 3674 +0 33 1399 +0 34 3710 +0 35 2529 +0 36 2585 +0 37 2207 +0 38 1788 +0 39 3374 +0 40 2003 +0 41 2643 +0 42 4326 +0 43 1391 +0 44 1855 +0 45 5301 +0 46 1567 +0 47 30330 +0 48 6991 +0 49 1975 +0 50 2413 +0 51 2628 +0 52 3037 +0 53 1352 +0 54 4153 +0 55 16055 +0 56 2422 +0 57 6012 +0 58 4119 +0 59 9671 +0 60 8690 +0 61 2732 +0 62 8571 +0 63 1540 +0 64 1204 +0 65 3401 +0 66 3928 +0 67 7957 +0 68 3613 +0 69 3597 +0 70 4907 +0 71 309 +0 72 1302 +0 73 321 +0 74 10284 +0 75 11764 +0 76 1486 +0 77 1265 +0 78 2602 +0 79 5653 +0 80 1800 +0 81 2515 +0 82 2830 +0 83 5835 +0 84 1303 +0 85 1812 +0 86 1791 +0 87 3262 +0 88 2718 +0 89 2201 +0 90 855 +0 91 2195 +0 92 2198 +0 93 1330 +0 94 2687 +0 95 1384 +0 96 1878 +0 97 2261 +0 98 5836 +0 99 1063 +0 100 4786 +0 101 5729 +0 102 1751 +0 103 2417 +0 104 3719 +0 105 3251 +0 106 3509 +0 107 3679 +0 108 7145 +0 109 3377 +0 110 4789 +0 111 1971 +0 112 1132 +0 113 2495 +0 114 1678 +0 115 6384 +0 116 5296 +0 117 3321 +0 118 1281 +0 119 2829 +0 120 4563 +0 121 2426 +0 122 2695 +0 123 3972 +0 124 2836 +0 125 3152 +0 126 784 +0 127 1936 +0 128 5566 +0 129 4297 +0 130 4527 +0 131 4309 +0 132 1155 +0 133 528 +0 134 3035 +0 135 5685 +0 136 3419 +0 137 753 +0 138 2668 +0 139 4267 +0 140 1476 +0 141 1078 +0 142 2384 +0 143 933 +0 144 3555 +0 145 1951 +0 146 3403 +0 147 1190 +0 148 2207 +0 149 1988 +0 150 2570 +0 151 3478 +0 152 19706 +0 153 2158 +0 154 4657 +0 155 387 +0 156 3734 +0 157 5923 +0 158 579 +0 159 13291 +0 160 3270 +0 161 1072 +0 162 1690 +0 163 23022 +0 164 2855 +0 165 3787 +0 166 3284 +0 167 2123 +0 168 3352 +0 169 737 +0 170 4379 +0 171 2937 +0 172 2208 +0 173 2246 +0 174 4418 +0 175 2193 +0 176 1853 +0 177 20384 +0 178 30564 +0 179 3668 +0 180 3138 +0 181 5214 +0 182 4435 +0 183 4445 +0 184 163 +0 185 3298 +0 186 2229 +0 187 3129 +0 188 5103 +0 189 3639 +0 190 3119 +0 191 4963 +0 192 7043 +0 193 743 +0 194 2391 +0 195 9794 +0 196 3156 +0 197 2834 +0 198 5176 +0 199 807 +0 200 832 +0 201 1988 +0 202 740 +0 203 24449 +0 204 2139 +0 205 3412 +0 206 2523 +0 207 3999 +0 208 5528 +0 209 2331 +0 210 2281 +0 211 3234 +0 212 3087 +0 213 3978 +0 214 3841 +0 215 996 +0 216 4839 +0 217 34085 +0 218 2809 +0 219 4486 +0 220 5106 +0 221 3754 +0 222 4203 +0 223 2558 +0 224 4875 +0 225 1706 +0 226 2811 +0 227 563 +0 228 1141 +0 229 2707 +0 230 15966 +0 231 12031 +0 232 2061 +0 233 2230 +0 234 3312 +0 235 1040 +0 236 3060 +0 237 3153 +0 238 3123 +0 239 2121 +0 240 5940 +0 241 3099 +0 242 2804 +0 243 1267 +0 244 1501 +0 245 6861 +0 246 3975 +0 247 2003 +0 248 1391 +0 249 3352 +0 250 2157 +0 251 2522 +0 252 4816 +0 253 956 +0 254 6150 +0 255 3433 +1 0 33754 +1 1 5934 +1 2 3224 +1 3 3317 +1 4 7124 +1 5 5824 +1 6 4397 +1 7 7333 +1 8 2657 +1 9 2106 +1 10 1606 +1 11 6761 +1 12 1452 +1 13 4141 +1 14 5551 +1 15 6575 +1 16 1886 +1 17 2719 +1 18 257 +1 19 2175 +1 20 236 +1 21 8790 +1 22 3931 +1 23 10274 +1 24 4666 +1 25 542 +1 26 3398 +1 27 3116 +1 28 2292 +1 29 2643 +1 30 2096 +1 31 1250 +1 32 1811 +1 33 8619 +1 34 2825 +1 35 2125 +1 36 456 +1 37 7430 +1 38 410 +1 39 7707 +1 40 3743 +1 41 6385 +1 42 3368 +1 43 4834 +1 44 3687 +1 45 3430 +1 46 4133 +1 47 3910 +1 48 3198 +1 49 9732 +1 50 3202 +1 51 17573 +1 52 7881 +1 53 2122 +1 54 1276 +1 55 249 +1 56 4296 +1 57 792 +1 58 789 +1 59 3815 +1 60 5476 +1 61 11163 +1 62 2616 +1 63 5442 +1 64 3417 +1 65 597 +1 66 3913 +1 67 744 +1 68 14419 +1 69 2502 +1 70 22188 +1 71 5624 +1 72 8614 +1 73 3060 +1 74 163 +1 75 10215 +1 76 10793 +1 77 4641 +1 78 925 +1 79 2427 +1 80 25551 +1 81 2365 +1 82 2063 +1 83 4508 +1 84 2720 +1 85 3585 +1 86 6864 +1 87 6240 +1 88 3923 +1 89 2159 +1 90 6077 +1 91 4748 +1 92 2007 +1 93 1895 +1 94 1784 +1 95 2762 +1 96 2870 +1 97 3252 +1 98 3659 +1 99 309 +1 100 8556 +1 101 4982 +1 102 980 +1 103 1380 +1 104 2491 +1 105 15009 +1 106 801 +1 107 4659 +1 108 2355 +1 109 7695 +1 110 1595 +1 111 2625 +1 112 2050 +1 113 4766 +1 114 6464 +1 115 635 +1 116 5538 +1 117 496 +1 118 233 +1 119 3684 +1 120 1243 +1 121 1578 +1 122 234 +1 123 42553 +1 124 3940 +1 125 50682 +1 126 1870 +1 127 2447 +1 128 3914 +1 129 255 +1 130 536 +1 131 3019 +1 132 6168 +1 133 4490 +1 134 4131 +1 135 2105 +1 136 626 +1 137 6482 +1 138 4204 +1 139 5742 +1 140 4921 +1 141 12708 +1 142 1006 +1 143 4227 +1 144 5244 +1 145 3988 +1 146 3451 +1 147 319 +1 148 2297 +1 149 1798 +1 150 3929 +1 151 8056 +1 152 1978 +1 153 6766 +1 154 3229 +1 155 1125 +1 156 1066 +1 157 2271 +1 158 3725 +1 159 994 +1 160 1413 +1 161 257 +1 162 4014 +1 163 9946 +1 164 9136 +1 165 8588 +1 166 4157 +1 167 6002 +1 168 1362 +1 169 2918 +1 170 1591 +1 171 2530 +1 172 425 +1 173 7453 +1 174 14193 +1 175 2552 +1 176 337 +1 177 2877 +1 178 2784 +1 179 1883 +1 180 1952 +1 181 1705 +1 182 6659 +1 183 3158 +1 184 78 +1 185 2110 +1 186 4919 +1 187 5053 +1 188 1054 +1 189 2292 +1 190 4270 +1 191 5729 +1 192 6884 +1 193 5892 +1 194 856 +1 195 1155 +1 196 357 +1 197 742 +1 198 9445 +1 199 4041 +1 200 1198 +1 201 824 +1 202 1832 +1 203 2161 +1 204 7786 +1 205 3402 +1 206 5684 +1 207 2904 +1 208 10927 +1 209 2693 +1 210 318 +1 211 137 +1 212 1476 +1 213 846 +1 214 2422 +1 215 8936 +1 216 1490 +1 217 1553 +1 218 608 +1 219 7606 +1 220 3571 +1 221 2361 +1 222 3262 +1 223 3264 +1 224 627 +1 225 2692 +1 226 3001 +1 227 1944 +1 228 7171 +1 229 187 +1 230 2004 +1 231 3007 +1 232 17938 +1 233 583 +1 234 2888 +1 235 8813 +1 236 4526 +1 237 3741 +1 238 2139 +1 239 2499 +1 240 7359 +1 241 2507 +1 242 2615 +1 243 9088 +1 244 2153 +1 245 918 +1 246 4342 +1 247 849 +1 248 159 +1 249 71 +1 250 2567 +1 251 6028 +1 252 5997 +1 253 4967 +1 254 5256 +1 255 8230 +2 0 3026 +2 1 2582 +2 2 2253 +2 3 5171 +2 4 5234 +2 5 3650 +2 6 254 +2 7 3900 +2 8 4016 +2 9 9671 +2 10 3516 +2 11 2642 +2 12 5399 +2 13 2747 +2 14 1990 +2 15 1584 +2 16 2808 +2 17 3827 +2 18 1798 +2 19 3296 +2 20 1930 +2 21 2410 +2 22 3277 +2 23 3594 +2 24 4227 +2 25 1780 +2 26 5817 +2 27 6642 +2 28 8413 +2 29 2539 +2 30 4327 +2 31 4107 +2 32 718 +2 33 8904 +2 34 2925 +2 35 5764 +2 36 4452 +2 37 3287 +2 38 2296 +2 39 3932 +2 40 9122 +2 41 1645 +2 42 6308 +2 43 3069 +2 44 6655 +2 45 3828 +2 46 5395 +2 47 2981 +2 48 2010 +2 49 997 +2 50 14941 +2 51 7399 +2 52 5079 +2 53 2223 +2 54 1493 +2 55 1513 +2 56 8220 +2 57 1740 +2 58 3763 +2 59 4214 +2 60 3620 +2 61 15218 +2 62 2056 +2 63 788 +2 64 2485 +2 65 7443 +2 66 1882 +2 67 6536 +2 68 792 +2 69 2975 +2 70 4665 +2 71 3610 +2 72 1744 +2 73 2271 +2 74 4790 +2 75 919 +2 76 4860 +2 77 3037 +2 78 8768 +2 79 58961 +2 80 1707 +2 81 2040 +2 82 11351 +2 83 2235 +2 84 3139 +2 85 921 +2 86 1399 +2 87 4959 +2 88 6142 +2 89 4992 +2 90 17187 +2 91 3192 +2 92 2872 +2 93 2908 +2 94 2004 +2 95 2961 +2 96 4131 +2 97 3604 +2 98 1140 +2 99 2015 +2 100 7471 +2 101 1077 +2 102 1966 +2 103 9435 +2 104 2566 +2 105 2358 +2 106 2196 +2 107 5490 +2 108 2934 +2 109 4490 +2 110 3878 +2 111 8712 +2 112 2440 +2 113 5451 +2 114 3905 +2 115 2011 +2 116 1822 +2 117 2240 +2 118 1390 +2 119 1981 +2 120 2143 +2 121 4146 +2 122 2046 +2 123 1924 +2 124 1571 +2 125 5245 +2 126 2779 +2 127 1521 +2 128 1548 +2 129 1021 +2 130 4114 +2 131 3287 +2 132 4287 +2 133 3979 +2 134 3220 +2 135 1950 +2 136 1846 +2 137 1735 +2 138 6350 +2 139 3498 +2 140 5821 +2 141 3461 +2 142 1445 +2 143 3417 +2 144 1165 +2 145 3755 +2 146 13148 +2 147 2180 +2 148 4417 +2 149 1928 +2 150 3198 +2 151 9082 +2 152 2691 +2 153 3414 +2 154 2472 +2 155 10532 +2 156 2021 +2 157 14071 +2 158 14169 +2 159 2149 +2 160 4010 +2 161 3477 +2 162 4239 +2 163 2822 +2 164 15602 +2 165 8675 +2 166 5386 +2 167 1891 +2 168 7711 +2 169 10220 +2 170 3602 +2 171 7006 +2 172 4199 +2 173 4378 +2 174 4123 +2 175 5558 +2 176 2524 +2 177 2859 +2 178 2055 +2 179 1675 +2 180 9864 +2 181 5880 +2 182 6494 +2 183 5009 +2 184 6307 +2 185 4588 +2 186 4723 +2 187 9386 +2 188 10031 +2 189 2889 +2 190 4759 +2 191 2253 +2 192 3538 +2 193 2193 +2 194 2406 +2 195 307 +2 196 3736 +2 197 5258 +2 198 2773 +2 199 1664 +2 200 2674 +2 201 3686 +2 202 5278 +2 203 3728 +2 204 6403 +2 205 2850 +2 206 10130 +2 207 18020 +2 208 911 +2 209 2799 +2 210 8413 +2 211 1446 +2 212 2659 +2 213 7963 +2 214 4042 +2 215 3001 +2 216 12965 +2 217 1760 +2 218 4897 +2 219 12827 +2 220 5556 +2 221 4098 +2 222 8814 +2 223 3509 +2 224 1244 +2 225 5205 +2 226 2737 +2 227 2016 +2 228 3113 +2 229 1777 +2 230 2700 +2 231 972 +2 232 2046 +2 233 1932 +2 234 2871 +2 235 2363 +2 236 3111 +2 237 1884 +2 238 6164 +2 239 4072 +2 240 2778 +2 241 5782 +2 242 3004 +2 243 3404 +2 244 3740 +2 245 4253 +2 246 2328 +2 247 2514 +2 248 2863 +2 249 4555 +2 250 6829 +2 251 3590 +2 252 3529 +2 253 1892 +2 254 3114 +2 255 2253 +3 0 6793 +3 1 4007 +3 2 6137 +3 3 8362 +3 4 5574 +3 5 7351 +3 6 22959 +3 7 12408 +3 8 1084 +3 9 4809 +3 10 615 +3 11 623 +3 12 7222 +3 13 2585 +3 14 1775 +3 15 4267 +3 16 8240 +3 17 2452 +3 18 10278 +3 19 3640 +3 20 2075 +3 21 5912 +3 22 8278 +3 23 20081 +3 24 114 +3 25 6322 +3 26 3574 +3 27 4412 +3 28 3494 +3 29 3583 +3 30 16393 +3 31 4620 +3 32 2582 +3 33 4756 +3 34 1010 +3 35 724 +3 36 20557 +3 37 7213 +3 38 2132 +3 39 1400 +3 40 11856 +3 41 2062 +3 42 2628 +3 43 7962 +3 44 6368 +3 45 7247 +3 46 2836 +3 47 283 +3 48 1471 +3 49 1808 +3 50 3615 +3 51 6099 +3 52 1816 +3 53 5756 +3 54 7793 +3 55 7502 +3 56 5485 +3 57 1360 +3 58 3247 +3 59 2963 +3 60 1879 +3 61 3910 +3 62 2177 +3 63 18247 +3 64 1281 +3 65 3348 +3 66 4376 +3 67 1476 +3 68 2832 +3 69 1919 +3 70 4146 +3 71 265 +3 72 3066 +3 73 3395 +3 74 374 +3 75 3420 +3 76 3361 +3 77 750 +3 78 3628 +3 79 1563 +3 80 96 +3 81 1509 +3 82 497 +3 83 1909 +3 84 3468 +3 85 3015 +3 86 3046 +3 87 9251 +3 88 57 +3 89 5397 +3 90 6942 +3 91 1161 +3 92 3559 +3 93 498 +3 94 2066 +3 95 5274 +3 96 649 +3 97 2445 +3 98 1633 +3 99 937 +3 100 2350 +3 101 4551 +3 102 2274 +3 103 1475 +3 104 96 +3 105 7056 +3 106 4606 +3 107 2305 +3 108 58062 +3 109 1124 +3 110 1714 +3 111 1712 +3 112 975 +3 113 355 +3 114 3114 +3 115 5858 +3 116 2641 +3 117 1889 +3 118 5627 +3 119 1822 +3 120 211 +3 121 2968 +3 122 524 +3 123 5859 +3 124 5887 +3 125 210 +3 126 1723 +3 127 4162 +3 128 1042 +3 129 5255 +3 130 1394 +3 131 2192 +3 132 5906 +3 133 2033 +3 134 2197 +3 135 2160 +3 136 179 +3 137 3089 +3 138 9320 +3 139 1784 +3 140 1855 +3 141 322 +3 142 2155 +3 143 1630 +3 144 51 +3 145 2303 +3 146 9905 +3 147 2734 +3 148 4600 +3 149 216 +3 150 4211 +3 151 855 +3 152 2297 +3 153 5057 +3 154 5739 +3 155 3238 +3 156 2251 +3 157 2609 +3 158 8811 +3 159 2315 +3 160 14666 +3 161 7128 +3 162 1435 +3 163 7805 +3 164 1298 +3 165 974 +3 166 5376 +3 167 5064 +3 168 2205 +3 169 2303 +3 170 2489 +3 171 2145 +3 172 99 +3 173 1720 +3 174 11387 +3 175 2764 +3 176 187 +3 177 1191 +3 178 1450 +3 179 6646 +3 180 18893 +3 181 880 +3 182 7920 +3 183 1019 +3 184 708 +3 185 874 +3 186 1773 +3 187 2106 +3 188 2766 +3 189 3112 +3 190 1341 +3 191 12879 +3 192 1666 +3 193 1471 +3 194 3933 +3 195 6001 +3 196 7027 +3 197 42897 +3 198 648 +3 199 1802 +3 200 3740 +3 201 6512 +3 202 3846 +3 203 1598 +3 204 2765 +3 205 2435 +3 206 10704 +3 207 2091 +3 208 759 +3 209 13877 +3 210 1239 +3 211 6687 +3 212 388 +3 213 3193 +3 214 4321 +3 215 5129 +3 216 2843 +3 217 4679 +3 218 2104 +3 219 1597 +3 220 837 +3 221 2939 +3 222 2273 +3 223 3110 +3 224 2218 +3 225 2834 +3 226 6423 +3 227 4889 +3 228 3817 +3 229 3263 +3 230 3527 +3 231 1754 +3 232 2499 +3 233 3335 +3 234 1192 +3 235 2239 +3 236 3046 +3 237 2623 +3 238 8316 +3 239 8787 +3 240 1348 +3 241 15238 +3 242 1824 +3 243 3041 +3 244 3600 +3 245 7912 +3 246 3791 +3 247 5862 +3 248 626 +3 249 7284 +3 250 1349 +3 251 31024 +3 252 5327 +3 253 4806 +3 254 9003 +3 255 2554 +4 0 1031 +4 1 19583 +4 2 2072 +4 3 12225 +4 4 3506 +4 5 1329 +4 6 1317 +4 7 2031 +4 8 3850 +4 9 3192 +4 10 6938 +4 11 8670 +4 12 3354 +4 13 3098 +4 14 5267 +4 15 5346 +4 16 1810 +4 17 2519 +4 18 4810 +4 19 1502 +4 20 1448 +4 21 2795 +4 22 1380 +4 23 4624 +4 24 6460 +4 25 2769 +4 26 598 +4 27 6057 +4 28 3932 +4 29 5041 +4 30 2329 +4 31 1402 +4 32 15176 +4 33 564 +4 34 149 +4 35 10579 +4 36 19547 +4 37 2405 +4 38 3347 +4 39 6118 +4 40 124 +4 41 307 +4 42 3401 +4 43 3794 +4 44 7111 +4 45 2266 +4 46 225 +4 47 196 +4 48 1751 +4 49 4057 +4 50 904 +4 51 2783 +4 52 847 +4 53 891 +4 54 566 +4 55 4217 +4 56 2189 +4 57 184 +4 58 1067 +4 59 1648 +4 60 585 +4 61 2901 +4 62 1371 +4 63 13110 +4 64 1941 +4 65 5939 +4 66 1806 +4 67 3730 +4 68 2386 +4 69 1360 +4 70 3052 +4 71 4295 +4 72 2078 +4 73 415 +4 74 3298 +4 75 12288 +4 76 6625 +4 77 6 +4 78 11908 +4 79 2358 +4 80 5335 +4 81 947 +4 82 9050 +4 83 2302 +4 84 5505 +4 85 5288 +4 86 63 +4 87 4100 +4 88 4680 +4 89 3839 +4 90 4704 +4 91 4230 +4 92 979 +4 93 1086 +4 94 3557 +4 95 874 +4 96 2483 +4 97 4191 +4 98 2959 +4 99 926 +4 100 4584 +4 101 1556 +4 102 3418 +4 103 6454 +4 104 1279 +4 105 2908 +4 106 1273 +4 107 1581 +4 108 3477 +4 109 916 +4 110 1961 +4 111 2244 +4 112 2409 +4 113 1309 +4 114 340 +4 115 2306 +4 116 17551 +4 117 18296 +4 118 6112 +4 119 1519 +4 120 3060 +4 121 33203 +4 122 2686 +4 123 4216 +4 124 148 +4 125 1117 +4 126 2668 +4 127 4271 +4 128 1699 +4 129 12715 +4 130 2016 +4 131 5323 +4 132 2597 +4 133 4211 +4 134 924 +4 135 4680 +4 136 1462 +4 137 4413 +4 138 5569 +4 139 4980 +4 140 459 +4 141 4691 +4 142 3272 +4 143 390 +4 144 2481 +4 145 2328 +4 146 3868 +4 147 7432 +4 148 40166 +4 149 5549 +4 150 2379 +4 151 3537 +4 152 11906 +4 153 1672 +4 154 3088 +4 155 1640 +4 156 1376 +4 157 8819 +4 158 708 +4 159 2019 +4 160 15258 +4 161 2301 +4 162 1179 +4 163 3312 +4 164 4401 +4 165 2533 +4 166 12047 +4 167 5359 +4 168 2501 +4 169 56312 +4 170 6017 +4 171 2489 +4 172 1303 +4 173 950 +4 174 860 +4 175 10623 +4 176 2320 +4 177 69 +4 178 2537 +4 179 1798 +4 180 8091 +4 181 1604 +4 182 5779 +4 183 5853 +4 184 4510 +4 185 1589 +4 186 1097 +4 187 271 +4 188 1605 +4 189 3819 +4 190 5188 +4 191 1822 +4 192 2350 +4 193 1445 +4 194 5840 +4 195 1268 +4 196 7695 +4 197 19510 +4 198 2129 +4 199 1400 +4 200 4447 +4 201 819 +4 202 5616 +4 203 33363 +4 204 744 +4 205 568 +4 206 9509 +4 207 75 +4 208 221 +4 209 1027 +4 210 10912 +4 211 2459 +4 212 13684 +4 213 2525 +4 214 1032 +4 215 2642 +4 216 3622 +4 217 1287 +4 218 168 +4 219 6037 +4 220 555 +4 221 11373 +4 222 3962 +4 223 1497 +4 224 1221 +4 225 585 +4 226 3777 +4 227 2048 +4 228 3332 +4 229 4070 +4 230 1383 +4 231 1324 +4 232 1013 +4 233 10052 +4 234 1548 +4 235 811 +4 236 2093 +4 237 173 +4 238 6373 +4 239 2213 +4 240 7282 +4 241 3741 +4 242 4465 +4 243 4707 +4 244 15742 +4 245 2406 +4 246 2545 +4 247 3819 +4 248 2289 +4 249 10156 +4 250 3207 +4 251 2048 +4 252 2455 +4 253 4257 +4 254 1658 +4 255 16862 +5 0 16900 +5 1 514 +5 2 1627 +5 3 4929 +5 4 2151 +5 5 13470 +5 6 2811 +5 7 16642 +5 8 8806 +5 9 841 +5 10 5319 +5 11 1965 +5 12 2075 +5 13 2926 +5 14 3773 +5 15 2586 +5 16 454 +5 17 1326 +5 18 4796 +5 19 4813 +5 20 2119 +5 21 1010 +5 22 4346 +5 23 3330 +5 24 2295 +5 25 3930 +5 26 346 +5 27 2162 +5 28 473 +5 29 1039 +5 30 8086 +5 31 5021 +5 32 1725 +5 33 1300 +5 34 486 +5 35 211 +5 36 1068 +5 37 357 +5 38 5234 +5 39 120 +5 40 876 +5 41 2452 +5 42 3165 +5 43 1684 +5 44 4348 +5 45 10563 +5 46 4086 +5 47 2903 +5 48 37171 +5 49 1503 +5 50 1362 +5 51 1925 +5 52 1648 +5 53 6283 +5 54 1577 +5 55 539 +5 56 4100 +5 57 1289 +5 58 10191 +5 59 8590 +5 60 20456 +5 61 2745 +5 62 1172 +5 63 1675 +5 64 20439 +5 65 6054 +5 66 172 +5 67 3072 +5 68 3125 +5 69 2126 +5 70 4616 +5 71 3464 +5 72 2502 +5 73 918 +5 74 1196 +5 75 13643 +5 76 3839 +5 77 5933 +5 78 1650 +5 79 753 +5 80 2541 +5 81 6271 +5 82 803 +5 83 2287 +5 84 3041 +5 85 1444 +5 86 5447 +5 87 10455 +5 88 1684 +5 89 6249 +5 90 3299 +5 91 7003 +5 92 81 +5 93 132 +5 94 1778 +5 95 3577 +5 96 152 +5 97 470 +5 98 6301 +5 99 8093 +5 100 2479 +5 101 177 +5 102 29713 +5 103 4200 +5 104 3806 +5 105 362 +5 106 2758 +5 107 1333 +5 108 575 +5 109 3276 +5 110 921 +5 111 408 +5 112 4528 +5 113 1033 +5 114 4032 +5 115 1290 +5 116 2789 +5 117 263 +5 118 656 +5 119 136 +5 120 1319 +5 121 846 +5 122 29919 +5 123 5084 +5 124 726 +5 125 279 +5 126 130 +5 127 2426 +5 128 1235 +5 129 484 +5 130 1216 +5 131 3778 +5 132 2350 +5 133 11746 +5 134 2279 +5 135 1196 +5 136 4038 +5 137 5487 +5 138 9332 +5 139 16559 +5 140 232 +5 141 625 +5 142 8305 +5 143 2828 +5 144 1408 +5 145 1040 +5 146 4972 +5 147 2684 +5 148 4140 +5 149 1007 +5 150 3162 +5 151 3425 +5 152 1673 +5 153 19864 +5 154 77 +5 155 2729 +5 156 6173 +5 157 7081 +5 158 3118 +5 159 1326 +5 160 1250 +5 161 2943 +5 162 5277 +5 163 18578 +5 164 4594 +5 165 3947 +5 166 1062 +5 167 6680 +5 168 106 +5 169 1980 +5 170 15412 +5 171 11950 +5 172 3338 +5 173 16594 +5 174 4258 +5 175 10408 +5 176 1715 +5 177 63394 +5 178 3660 +5 179 2158 +5 180 786 +5 181 11434 +5 182 1089 +5 183 412 +5 184 1183 +5 185 406 +5 186 5465 +5 187 1515 +5 188 4027 +5 189 2239 +5 190 1953 +5 191 1138 +5 192 1032 +5 193 2459 +5 194 469 +5 195 3817 +5 196 2375 +5 197 6610 +5 198 1801 +5 199 98 +5 200 1778 +5 201 1232 +5 202 6167 +5 203 8568 +5 204 2927 +5 205 1062 +5 206 1117 +5 207 2412 +5 208 10209 +5 209 2510 +5 210 27829 +5 211 436 +5 212 879 +5 213 8082 +5 214 3724 +5 215 2294 +5 216 584 +5 217 6416 +5 218 4235 +5 219 7077 +5 220 2342 +5 221 231 +5 222 2450 +5 223 2028 +5 224 2886 +5 225 2848 +5 226 197 +5 227 1510 +5 228 10565 +5 229 1196 +5 230 1977 +5 231 3668 +5 232 17200 +5 233 152 +5 234 1219 +5 235 3454 +5 236 3300 +5 237 1356 +5 238 4989 +5 239 6142 +5 240 2791 +5 241 520 +5 242 26670 +5 243 2770 +5 244 2367 +5 245 10051 +5 246 1028 +5 247 963 +5 248 2604 +5 249 4605 +5 250 2341 +5 251 1542 +5 252 4597 +5 253 1857 +5 254 2701 +5 255 5717 +6 0 24 +6 1 106 +6 2 3258 +6 3 5439 +6 4 3822 +6 5 2683 +6 6 19 +6 7 689 +6 8 10841 +6 9 1644 +6 10 7164 +6 11 3099 +6 12 8247 +6 13 550 +6 14 5187 +6 15 470 +6 16 3722 +6 17 3017 +6 18 3557 +6 19 6669 +6 20 51 +6 21 1530 +6 22 3651 +6 23 1060 +6 24 594 +6 25 7953 +6 26 5466 +6 27 6115 +6 28 719 +6 29 14874 +6 30 297 +6 31 4178 +6 32 911 +6 33 12417 +6 34 10911 +6 35 896 +6 36 794 +6 37 12366 +6 38 267 +6 39 6048 +6 40 1395 +6 41 1797 +6 42 5236 +6 43 4080 +6 44 1395 +6 45 1050 +6 46 900 +6 47 1367 +6 48 189 +6 49 1836 +6 50 4393 +6 51 8038 +6 52 2683 +6 53 1427 +6 54 5443 +6 55 525 +6 56 4629 +6 57 3786 +6 58 8318 +6 59 2447 +6 60 2037 +6 61 3347 +6 62 2458 +6 63 2534 +6 64 852 +6 65 1420 +6 66 40 +6 67 530 +6 68 40298 +6 69 747 +6 70 21844 +6 71 20399 +6 72 13492 +6 73 3183 +6 74 7743 +6 75 1499 +6 76 1959 +6 77 2745 +6 78 2438 +6 79 5115 +6 80 4283 +6 81 1857 +6 82 1950 +6 83 437 +6 84 2079 +6 85 2569 +6 86 1741 +6 87 595 +6 88 635 +6 89 1237 +6 90 3353 +6 91 1875 +6 92 4181 +6 93 387 +6 94 298 +6 95 745 +6 96 2627 +6 97 1629 +6 98 1830 +6 99 559 +6 100 4044 +6 101 1271 +6 102 31786 +6 103 10325 +6 104 14250 +6 105 994 +6 106 15625 +6 107 560 +6 108 16711 +6 109 443 +6 110 1958 +6 111 3727 +6 112 1339 +6 113 11219 +6 114 7354 +6 115 296 +6 116 2383 +6 117 4010 +6 118 2478 +6 119 2946 +6 120 2273 +6 121 218 +6 122 1807 +6 123 2736 +6 124 1186 +6 125 7460 +6 126 3319 +6 127 5813 +6 128 2212 +6 129 2503 +6 130 401 +6 131 8285 +6 132 198 +6 133 1333 +6 134 176 +6 135 10025 +6 136 3486 +6 137 1636 +6 138 2336 +6 139 4958 +6 140 3255 +6 141 606 +6 142 2613 +6 143 55690 +6 144 3950 +6 145 779 +6 146 1315 +6 147 849 +6 148 767 +6 149 5701 +6 150 174 +6 151 1963 +6 152 1753 +6 153 3883 +6 154 1438 +6 155 595 +6 156 5126 +6 157 2421 +6 158 392 +6 159 11796 +6 160 1901 +6 161 3023 +6 162 1287 +6 163 6830 +6 164 3616 +6 165 6639 +6 166 4685 +6 167 6142 +6 168 31491 +6 169 8566 +6 170 2277 +6 171 1448 +6 172 586 +6 173 6117 +6 174 1622 +6 175 2314 +6 176 881 +6 177 7672 +6 178 2936 +6 179 5781 +6 180 518 +6 181 7058 +6 182 4015 +6 183 2477 +6 184 4434 +6 185 1563 +6 186 6384 +6 187 19835 +6 188 122 +6 189 1778 +6 190 5397 +6 191 18245 +6 192 940 +6 193 1266 +6 194 1736 +6 195 8309 +6 196 2882 +6 197 321 +6 198 707 +6 199 1165 +6 200 2156 +6 201 19163 +6 202 286 +6 203 4079 +6 204 4842 +6 205 380 +6 206 1236 +6 207 2436 +6 208 1178 +6 209 1129 +6 210 2380 +6 211 2769 +6 212 7413 +6 213 1429 +6 214 3089 +6 215 4810 +6 216 4973 +6 217 2681 +6 218 245 +6 219 8819 +6 220 1886 +6 221 3009 +6 222 1392 +6 223 9104 +6 224 18570 +6 225 1416 +6 226 3456 +6 227 3191 +6 228 28471 +6 229 180 +6 230 3509 +6 231 1434 +6 232 414 +6 233 2176 +6 234 162 +6 235 5054 +6 236 2230 +6 237 780 +6 238 23180 +6 239 2600 +6 240 895 +6 241 4331 +6 242 1694 +6 243 6074 +6 244 513 +6 245 2005 +6 246 14692 +6 247 1599 +6 248 1827 +6 249 701 +6 250 617 +6 251 401 +6 252 1205 +6 253 10236 +6 254 3324 +6 255 7593 +7 0 83 +7 1 47 +7 2 9754 +7 3 678 +7 4 4088 +7 5 336 +7 6 8255 +7 7 6439 +7 8 67 +7 9 1432 +7 10 1035 +7 11 2214 +7 12 10907 +7 13 1492 +7 14 431 +7 15 565 +7 16 4639 +7 17 702 +7 18 684 +7 19 4185 +7 20 2069 +7 21 558 +7 22 2646 +7 23 715 +7 24 25342 +7 25 429 +7 26 48374 +7 27 11704 +7 28 87 +7 29 4391 +7 30 234 +7 31 7664 +7 32 3156 +7 33 270 +7 34 2756 +7 35 1164 +7 36 2626 +7 37 1979 +7 38 7657 +7 39 3529 +7 40 4179 +7 41 506 +7 42 1024 +7 43 998 +7 44 4462 +7 45 223 +7 46 273 +7 47 514 +7 48 2729 +7 49 1372 +7 50 131 +7 51 636 +7 52 11905 +7 53 238 +7 54 548 +7 55 268 +7 56 2116 +7 57 2685 +7 58 616 +7 59 7278 +7 60 6918 +7 61 10583 +7 62 27474 +7 63 6380 +7 64 6094 +7 65 958 +7 66 4585 +7 67 61 +7 68 639 +7 69 84 +7 70 1492 +7 71 1101 +7 72 5309 +7 73 3520 +7 74 1747 +7 75 2405 +7 76 4591 +7 77 2106 +7 78 1649 +7 79 1096 +7 80 827 +7 81 6890 +7 82 19 +7 83 3275 +7 84 136 +7 85 2795 +7 86 1126 +7 87 90 +7 88 1329 +7 89 6952 +7 90 494 +7 91 4294 +7 92 2284 +7 93 3926 +7 94 44947 +7 95 26432 +7 96 691 +7 97 9 +7 98 1214 +7 99 541 +7 100 9768 +7 101 1618 +7 102 815 +7 103 524 +7 104 6947 +7 105 5713 +7 106 1371 +7 107 441 +7 108 11734 +7 109 2025 +7 110 5287 +7 111 10104 +7 112 3896 +7 113 1683 +7 114 1859 +7 115 144 +7 116 1038 +7 117 3812 +7 118 2336 +7 119 2987 +7 120 32742 +7 121 409 +7 122 897 +7 123 2566 +7 124 106 +7 125 3331 +7 126 705 +7 127 355 +7 128 883 +7 129 3475 +7 130 36043 +7 131 3935 +7 132 26227 +7 133 2991 +7 134 439 +7 135 1034 +7 136 1213 +7 137 4043 +7 138 6411 +7 139 1642 +7 140 1221 +7 141 1312 +7 142 567 +7 143 3098 +7 144 5235 +7 145 3498 +7 146 2258 +7 147 2276 +7 148 1145 +7 149 1176 +7 150 2590 +7 151 20699 +7 152 48 +7 153 234 +7 154 30173 +7 155 1532 +7 156 646 +7 157 2075 +7 158 4316 +7 159 1823 +7 160 496 +7 161 2928 +7 162 1048 +7 163 9784 +7 164 6967 +7 165 1368 +7 166 9758 +7 167 751 +7 168 270 +7 169 5466 +7 170 955 +7 171 1701 +7 172 474 +7 173 1562 +7 174 39865 +7 175 1576 +7 176 3128 +7 177 2136 +7 178 507 +7 179 810 +7 180 1387 +7 181 3133 +7 182 10639 +7 183 101 +7 184 6408 +7 185 5706 +7 186 3364 +7 187 17325 +7 188 544 +7 189 321 +7 190 624 +7 191 5353 +7 192 4506 +7 193 6105 +7 194 6480 +7 195 4605 +7 196 155 +7 197 1830 +7 198 5 +7 199 2974 +7 200 953 +7 201 3355 +7 202 3550 +7 203 13768 +7 204 1393 +7 205 865 +7 206 766 +7 207 12475 +7 208 5141 +7 209 1034 +7 210 510 +7 211 1086 +7 212 11005 +7 213 6305 +7 214 3430 +7 215 175 +7 216 1343 +7 217 316 +7 218 17314 +7 219 500 +7 220 10589 +7 221 1998 +7 222 306 +7 223 3874 +7 224 875 +7 225 18250 +7 226 64 +7 227 1635 +7 228 2082 +7 229 11020 +7 230 702 +7 231 654 +7 232 2785 +7 233 38 +7 234 24986 +7 235 1861 +7 236 6194 +7 237 3601 +7 238 705 +7 239 74 +7 240 3469 +7 241 1024 +7 242 1012 +7 243 6583 +7 244 10426 +7 245 584 +7 246 14650 +7 247 2175 +7 248 4738 +7 249 3569 +7 250 407 +7 251 390 +7 252 1456 +7 253 5807 +7 254 9999 +7 255 1713 +8 0 2621 +8 1 17412 +8 2 82 +8 3 11677 +8 4 4387 +8 5 57 +8 6 2929 +8 7 2146 +8 8 1027 +8 9 2134 +8 10 14329 +8 11 522 +8 12 594 +8 13 400 +8 14 157 +8 15 83 +8 16 4959 +8 17 1155 +8 18 910 +8 19 860 +8 20 552 +8 21 1817 +8 22 233 +8 23 3667 +8 24 3204 +8 25 188 +8 26 29089 +8 27 30 +8 28 82 +8 29 4690 +8 30 516 +8 31 93 +8 32 14204 +8 33 5600 +8 34 80 +8 35 3955 +8 36 4713 +8 37 952 +8 38 2217 +8 39 859 +8 40 8102 +8 41 38824 +8 42 15298 +8 43 53 +8 44 2358 +8 45 231 +8 46 1438 +8 47 5747 +8 48 343 +8 49 2048 +8 50 1037 +8 51 498 +8 52 679 +8 53 23350 +8 54 225 +8 55 43 +8 56 8026 +8 57 489 +8 58 435 +8 59 43279 +8 60 100 +8 61 5917 +8 62 950 +8 63 24991 +8 64 404 +8 65 5899 +8 66 1104 +8 67 149 +8 68 2180 +8 69 471 +8 70 539 +8 71 6702 +8 72 41359 +8 73 683 +8 74 250 +8 75 1877 +8 76 206 +8 77 65 +8 78 977 +8 79 1205 +8 80 1729 +8 81 1538 +8 82 511 +8 83 3825 +8 84 383 +8 85 9299 +8 86 11546 +8 87 85 +8 88 667 +8 89 5985 +8 90 188 +8 91 451 +8 92 742 +8 93 363 +8 94 3208 +8 95 5162 +8 96 182 +8 97 1080 +8 98 10071 +8 99 2213 +8 100 5708 +8 101 1141 +8 102 3683 +8 103 2443 +8 104 947 +8 105 406 +8 106 894 +8 107 2767 +8 108 2818 +8 109 135 +8 110 633 +8 111 755 +8 112 4329 +8 113 560 +8 114 1118 +8 115 5907 +8 116 1436 +8 117 32634 +8 118 275 +8 119 4440 +8 120 2218 +8 121 8704 +8 122 1410 +8 123 38238 +8 124 1194 +8 125 172 +8 126 393 +8 127 2945 +8 128 1565 +8 129 1666 +8 130 248 +8 131 146 +8 132 4129 +8 133 9972 +8 134 221 +8 135 8525 +8 136 402 +8 137 629 +8 138 693 +8 139 1295 +8 140 1271 +8 141 4543 +8 142 17413 +8 143 9931 +8 144 19889 +8 145 4483 +8 146 2053 +8 147 11432 +8 148 454 +8 149 918 +8 150 889 +8 151 35062 +8 152 51 +8 153 175 +8 154 618 +8 155 989 +8 156 537 +8 157 4774 +8 158 227 +8 159 2057 +8 160 787 +8 161 88 +8 162 2072 +8 163 644 +8 164 491 +8 165 3307 +8 166 62 +8 167 1570 +8 168 775 +8 169 66 +8 170 151 +8 171 3352 +8 172 2864 +8 173 731 +8 174 2188 +8 175 578 +8 176 2126 +8 177 160 +8 178 487 +8 179 2810 +8 180 484 +8 181 2836 +8 182 213 +8 183 799 +8 184 1841 +8 185 3053 +8 186 1356 +8 187 1566 +8 188 98 +8 189 7329 +8 190 107 +8 191 3812 +8 192 9140 +8 193 1682 +8 194 1187 +8 195 270 +8 196 3277 +8 197 908 +8 198 223 +8 199 526 +8 200 730 +8 201 3699 +8 202 1388 +8 203 2366 +8 204 1105 +8 205 11068 +8 206 33704 +8 207 4174 +8 208 3399 +8 209 355 +8 210 1376 +8 211 798 +8 212 742 +8 213 2344 +8 214 99 +8 215 15023 +8 216 15413 +8 217 1166 +8 218 727 +8 219 2026 +8 220 12685 +8 221 369 +8 222 224 +8 223 859 +8 224 36250 +8 225 4857 +8 226 1 +8 227 894 +8 228 645 +8 229 1015 +8 230 989 +8 231 29839 +8 232 63889 +8 233 4033 +8 234 3132 +8 235 1405 +8 236 1467 +8 237 5492 +8 238 1035 +8 239 2755 +8 240 188 +8 241 225 +8 242 4252 +8 243 1296 +8 244 427 +8 245 4437 +8 246 939 +8 247 2380 +8 248 8538 +8 249 25402 +8 250 225 +8 251 1198 +8 252 13214 +8 253 1916 +8 254 509 +8 255 112 +9 0 190 +9 1 1767 +9 2 1868 +9 3 1156 +9 4 2140 +9 5 724 +9 6 2107 +9 7 251 +9 8 1293 +9 9 202 +9 10 247 +9 11 255 +9 12 921 +9 13 7426 +9 14 4958 +9 15 11234 +9 16 308 +9 17 1192 +9 18 1847 +9 19 4121 +9 20 495 +9 21 1949 +9 22 2737 +9 23 1334 +9 24 546 +9 25 1015 +9 26 1697 +9 27 138 +9 28 77 +9 29 4533 +9 30 310 +9 31 23594 +9 32 5595 +9 33 149 +9 34 709 +9 35 5245 +9 36 1249 +9 37 899 +9 38 2209 +9 39 2437 +9 40 245 +9 41 176 +9 42 3112 +9 43 24251 +9 44 23812 +9 45 10888 +9 46 20 +9 47 1963 +9 48 14592 +9 49 12 +9 50 44 +9 51 1289 +9 52 45154 +9 53 3815 +9 54 7117 +9 55 922 +9 56 2094 +9 57 247 +9 58 925 +9 59 280 +9 60 2222 +9 61 23189 +9 62 13160 +9 63 2384 +9 64 24 +9 65 11883 +9 66 1547 +9 67 5220 +9 68 853 +9 69 4406 +9 70 358 +9 71 786 +9 72 1333 +9 73 4686 +9 74 1085 +9 75 35 +9 76 223 +9 77 2211 +9 78 3975 +9 79 343 +9 80 12200 +9 81 9519 +9 82 3596 +9 83 590 +9 84 120 +9 85 274 +9 86 4089 +9 87 450 +9 88 2499 +9 89 35 +9 90 322 +9 91 16706 +9 92 226 +9 93 93 +9 94 5758 +9 95 57302 +9 96 4628 +9 97 60 +9 98 247 +9 99 6128 +9 100 855 +9 101 5532 +9 102 158 +9 103 4283 +9 104 535 +9 105 48 +9 106 2197 +9 107 423 +9 108 1064 +9 109 1137 +9 110 30 +9 111 380 +9 112 1155 +9 113 383 +9 114 43 +9 115 4530 +9 116 1380 +9 117 15547 +9 118 1666 +9 119 135 +9 120 1681 +9 121 1740 +9 122 702 +9 123 53 +9 124 62 +9 125 3794 +9 126 2582 +9 127 1988 +9 128 19405 +9 129 17701 +9 130 86 +9 131 5709 +9 132 5536 +9 133 511 +9 134 340 +9 135 3061 +9 136 925 +9 137 2874 +9 138 205 +9 139 17856 +9 140 3421 +9 141 1472 +9 142 58443 +9 143 16168 +9 144 148 +9 145 180 +9 146 514 +9 147 679 +9 148 3190 +9 149 1195 +9 150 345 +9 151 1724 +9 152 1579 +9 153 144 +9 154 3639 +9 155 944 +9 156 5416 +9 157 5029 +9 158 11047 +9 159 399 +9 160 5331 +9 161 1209 +9 162 1803 +9 163 1090 +9 164 3148 +9 165 33764 +9 166 34969 +9 167 59 +9 168 282 +9 169 929 +9 170 1561 +9 171 955 +9 172 20609 +9 173 170 +9 174 3300 +9 175 409 +9 176 353 +9 177 4588 +9 178 3539 +9 179 1526 +9 180 9199 +9 181 224 +9 182 1456 +9 183 10527 +9 184 1112 +9 185 6393 +9 186 8374 +9 187 2274 +9 188 3105 +9 189 11929 +9 190 374 +9 191 3189 +9 192 121 +9 193 1818 +9 194 1416 +9 195 270 +9 196 13515 +9 197 3788 +9 198 990 +9 199 237 +9 200 941 +9 201 3044 +9 202 138 +9 203 1749 +9 204 784 +9 205 5701 +9 206 3577 +9 207 15991 +9 208 5634 +9 209 1435 +9 210 731 +9 211 3770 +9 212 658 +9 213 766 +9 214 577 +9 215 1802 +9 216 4747 +9 217 3340 +9 218 703 +9 219 280 +9 220 624 +9 221 10818 +9 222 3309 +9 223 22 +9 224 441 +9 225 1052 +9 226 3250 +9 227 2043 +9 228 3435 +9 229 1579 +9 230 16260 +9 231 2184 +9 232 1471 +9 233 9027 +9 234 324 +9 235 2494 +9 236 826 +9 237 552 +9 238 195 +9 239 2024 +9 240 4260 +9 241 2947 +9 242 915 +9 243 28613 +9 244 4481 +9 245 13073 +9 246 297 +9 247 2140 +9 248 970 +9 249 109 +9 250 35091 +9 251 16772 +9 252 5962 +9 253 681 +9 254 1072 +9 255 6911 +10 0 1205 +10 1 6887 +10 2 578 +10 3 1146 +10 4 1635 +10 5 3194 +10 6 4102 +10 7 3273 +10 8 745 +10 9 2398 +10 10 1942 +10 11 853 +10 12 5256 +10 13 1875 +10 14 1449 +10 15 4028 +10 16 201 +10 17 2629 +10 18 646 +10 19 3942 +10 20 10265 +10 21 611 +10 22 3885 +10 23 3491 +10 24 2100 +10 25 1968 +10 26 6052 +10 27 2581 +10 28 2416 +10 29 979 +10 30 345 +10 31 6350 +10 32 4569 +10 33 791 +10 34 1457 +10 35 196 +10 36 2154 +10 37 593 +10 38 275 +10 39 960 +10 40 562 +10 41 10352 +10 42 760 +10 43 6081 +10 44 2580 +10 45 1844 +10 46 2695 +10 47 3623 +10 48 471 +10 49 8814 +10 50 1119 +10 51 778 +10 52 697 +10 53 8238 +10 54 524 +10 55 117 +10 56 3558 +10 57 4105 +10 58 131 +10 59 6969 +10 60 1565 +10 61 1640 +10 62 2332 +10 63 2122 +10 64 11728 +10 65 2789 +10 66 13906 +10 67 15963 +10 68 4318 +10 69 1170 +10 70 58092 +10 71 3204 +10 72 2032 +10 73 899 +10 74 44319 +10 75 84 +10 76 806 +10 77 6333 +10 78 3148 +10 79 1767 +10 80 1277 +10 81 5026 +10 82 889 +10 83 4292 +10 84 6605 +10 85 1085 +10 86 969 +10 87 8902 +10 88 4766 +10 89 225 +10 90 1926 +10 91 1346 +10 92 1761 +10 93 855 +10 94 409 +10 95 660 +10 96 169 +10 97 5906 +10 98 12172 +10 99 288 +10 100 709 +10 101 272 +10 102 3182 +10 103 22254 +10 104 2048 +10 105 5349 +10 106 10719 +10 107 19074 +10 108 7202 +10 109 6719 +10 110 11381 +10 111 1036 +10 112 106 +10 113 3682 +10 114 2298 +10 115 414 +10 116 13828 +10 117 1832 +10 118 2013 +10 119 5880 +10 120 2017 +10 121 257 +10 122 3936 +10 123 1644 +10 124 14717 +10 125 4780 +10 126 2264 +10 127 1484 +10 128 17837 +10 129 3279 +10 130 7832 +10 131 197 +10 132 19239 +10 133 1002 +10 134 17368 +10 135 3747 +10 136 1654 +10 137 13247 +10 138 832 +10 139 7723 +10 140 1219 +10 141 1329 +10 142 2648 +10 143 50 +10 144 3034 +10 145 506 +10 146 3561 +10 147 692 +10 148 230 +10 149 583 +10 150 1750 +10 151 5441 +10 152 1485 +10 153 465 +10 154 5380 +10 155 246 +10 156 12380 +10 157 4767 +10 158 65 +10 159 6105 +10 160 662 +10 161 3664 +10 162 697 +10 163 4327 +10 164 339 +10 165 3227 +10 166 1674 +10 167 926 +10 168 446 +10 169 4220 +10 170 8363 +10 171 5803 +10 172 1754 +10 173 6619 +10 174 106 +10 175 2108 +10 176 2855 +10 177 762 +10 178 514 +10 179 2719 +10 180 63 +10 181 9800 +10 182 3240 +10 183 3485 +10 184 5397 +10 185 1930 +10 186 318 +10 187 1869 +10 188 1873 +10 189 1469 +10 190 10826 +10 191 803 +10 192 7472 +10 193 11576 +10 194 2102 +10 195 12507 +10 196 482 +10 197 565 +10 198 4187 +10 199 2226 +10 200 8541 +10 201 42443 +10 202 2244 +10 203 281 +10 204 275 +10 205 22199 +10 206 2321 +10 207 8014 +10 208 541 +10 209 66 +10 210 947 +10 211 1082 +10 212 3750 +10 213 1933 +10 214 4371 +10 215 2023 +10 216 2022 +10 217 1293 +10 218 4758 +10 219 2047 +10 220 4008 +10 221 216 +10 222 701 +10 223 1241 +10 224 2957 +10 225 7207 +10 226 5252 +10 227 2266 +10 228 5183 +10 229 5946 +10 230 254 +10 231 480 +10 232 826 +10 233 3079 +10 234 9011 +10 235 4286 +10 236 1626 +10 237 110 +10 238 4111 +10 239 6044 +10 240 38353 +10 241 1406 +10 242 5174 +10 243 2522 +10 244 11513 +10 245 6969 +10 246 2546 +10 247 2902 +10 248 2825 +10 249 349 +10 250 10502 +10 251 11855 +10 252 2615 +10 253 10566 +10 254 5577 +10 255 8933 +11 0 5893 +11 1 70 +11 2 2832 +11 3 3775 +11 4 492 +11 5 1010 +11 6 1547 +11 7 3914 +11 8 234 +11 9 4397 +11 10 9137 +11 11 7164 +11 12 12144 +11 13 1117 +11 14 5321 +11 15 9954 +11 16 17405 +11 17 5152 +11 18 3807 +11 19 3451 +11 20 6005 +11 21 138 +11 22 464 +11 23 307 +11 24 2301 +11 25 1408 +11 26 19338 +11 27 2845 +11 28 999 +11 29 2578 +11 30 966 +11 31 7597 +11 32 1383 +11 33 14921 +11 34 13048 +11 35 709 +11 36 5772 +11 37 6837 +11 38 627 +11 39 5842 +11 40 901 +11 41 880 +11 42 4750 +11 43 24982 +11 44 10410 +11 45 1761 +11 46 2990 +11 47 1365 +11 48 7204 +11 49 3519 +11 50 580 +11 51 298 +11 52 5637 +11 53 75 +11 54 6187 +11 55 2479 +11 56 541 +11 57 411 +11 58 2762 +11 59 1404 +11 60 16234 +11 61 1106 +11 62 4984 +11 63 8170 +11 64 3586 +11 65 896 +11 66 885 +11 67 108 +11 68 4273 +11 69 4184 +11 70 7791 +11 71 8285 +11 72 3506 +11 73 812 +11 74 901 +11 75 776 +11 76 4146 +11 77 1506 +11 78 1102 +11 79 2596 +11 80 5496 +11 81 933 +11 82 5005 +11 83 43 +11 84 610 +11 85 2183 +11 86 5637 +11 87 761 +11 88 29840 +11 89 1337 +11 90 3219 +11 91 4608 +11 92 1068 +11 93 3978 +11 94 7846 +11 95 972 +11 96 863 +11 97 2770 +11 98 6240 +11 99 7880 +11 100 1363 +11 101 248 +11 102 10622 +11 103 207 +11 104 444 +11 105 1868 +11 106 2943 +11 107 2853 +11 108 4396 +11 109 7239 +11 110 334 +11 111 4114 +11 112 4266 +11 113 10 +11 114 3664 +11 115 2326 +11 116 5285 +11 117 661 +11 118 2385 +11 119 81 +11 120 7596 +11 121 3366 +11 122 126 +11 123 49105 +11 124 2390 +11 125 25070 +11 126 408 +11 127 7959 +11 128 5349 +11 129 878 +11 130 3265 +11 131 35426 +11 132 1154 +11 133 5204 +11 134 12854 +11 135 2941 +11 136 6913 +11 137 1460 +11 138 359 +11 139 1094 +11 140 6316 +11 141 22738 +11 142 5068 +11 143 1024 +11 144 6284 +11 145 3062 +11 146 22254 +11 147 1637 +11 148 318 +11 149 975 +11 150 2874 +11 151 4327 +11 152 3661 +11 153 3575 +11 154 2204 +11 155 1248 +11 156 6428 +11 157 3311 +11 158 6010 +11 159 2711 +11 160 3689 +11 161 4830 +11 162 591 +11 163 3861 +11 164 5022 +11 165 377 +11 166 320 +11 167 9543 +11 168 635 +11 169 12715 +11 170 11032 +11 171 6994 +11 172 3101 +11 173 1921 +11 174 9277 +11 175 7521 +11 176 6623 +11 177 9690 +11 178 1859 +11 179 408 +11 180 584 +11 181 1078 +11 182 136 +11 183 2675 +11 184 9512 +11 185 828 +11 186 6466 +11 187 1086 +11 188 2711 +11 189 3156 +11 190 1215 +11 191 3646 +11 192 2408 +11 193 1721 +11 194 3821 +11 195 4403 +11 196 549 +11 197 17969 +11 198 9496 +11 199 10913 +11 200 5022 +11 201 6995 +11 202 5385 +11 203 3958 +11 204 2557 +11 205 1115 +11 206 2840 +11 207 5101 +11 208 1121 +11 209 1928 +11 210 2299 +11 211 1263 +11 212 2038 +11 213 812 +11 214 1215 +11 215 3434 +11 216 2145 +11 217 278 +11 218 4609 +11 219 517 +11 220 2405 +11 221 13415 +11 222 39805 +11 223 2349 +11 224 364 +11 225 4898 +11 226 634 +11 227 374 +11 228 1067 +11 229 816 +11 230 1249 +11 231 1167 +11 232 37 +11 233 1223 +11 234 93 +11 235 631 +11 236 2106 +11 237 6978 +11 238 4921 +11 239 503 +11 240 8789 +11 241 3499 +11 242 1093 +11 243 1279 +11 244 200 +11 245 74 +11 246 6473 +11 247 1636 +11 248 3819 +11 249 674 +11 250 3037 +11 251 1252 +11 252 597 +11 253 390 +11 254 1228 +11 255 1799 +12 0 762 +12 1 9640 +12 2 39651 +12 3 4803 +12 4 3438 +12 5 2642 +12 6 8762 +12 7 1077 +12 8 1390 +12 9 14727 +12 10 1164 +12 11 4200 +12 12 6581 +12 13 17909 +12 14 1833 +12 15 347 +12 16 1016 +12 17 6923 +12 18 1161 +12 19 141 +12 20 54578 +12 21 4606 +12 22 14223 +12 23 1699 +12 24 1704 +12 25 18 +12 26 5927 +12 27 1007 +12 28 80 +12 29 2276 +12 30 2817 +12 31 6700 +12 32 4948 +12 33 15656 +12 34 745 +12 35 2624 +12 36 10276 +12 37 11756 +12 38 6076 +12 39 2004 +12 40 585 +12 41 569 +12 42 8605 +12 43 2049 +12 44 5321 +12 45 132 +12 46 6584 +12 47 6015 +12 48 93 +12 49 412 +12 50 3758 +12 51 591 +12 52 713 +12 53 945 +12 54 5366 +12 55 52306 +12 56 4434 +12 57 3989 +12 58 2090 +12 59 1132 +12 60 1758 +12 61 73 +12 62 656 +12 63 6421 +12 64 7918 +12 65 1978 +12 66 2936 +12 67 5909 +12 68 809 +12 69 13505 +12 70 1423 +12 71 3448 +12 72 5575 +12 73 17272 +12 74 6186 +12 75 4269 +12 76 14381 +12 77 1119 +12 78 556 +12 79 1225 +12 80 3327 +12 81 10386 +12 82 3446 +12 83 247 +12 84 3112 +12 85 3093 +12 86 22 +12 87 6869 +12 88 1351 +12 89 902 +12 90 284 +12 91 733 +12 92 623 +12 93 2335 +12 94 4816 +12 95 916 +12 96 5797 +12 97 6118 +12 98 17979 +12 99 2638 +12 100 1445 +12 101 12576 +12 102 689 +12 103 66987 +12 104 729 +12 105 2060 +12 106 2689 +12 107 3661 +12 108 1956 +12 109 269 +12 110 6820 +12 111 860 +12 112 591 +12 113 985 +12 114 529 +12 115 5182 +12 116 2676 +12 117 1290 +12 118 433 +12 119 4040 +12 120 562 +12 121 93 +12 122 274 +12 123 119 +12 124 2014 +12 125 2303 +12 126 724 +12 127 1228 +12 128 2150 +12 129 122 +12 130 1401 +12 131 2473 +12 132 399 +12 133 36 +12 134 12031 +12 135 1403 +12 136 2729 +12 137 2845 +12 138 3036 +12 139 1646 +12 140 5005 +12 141 2041 +12 142 1416 +12 143 8548 +12 144 1792 +12 145 4588 +12 146 1043 +12 147 2480 +12 148 4111 +12 149 3390 +12 150 4854 +12 151 3262 +12 152 136 +12 153 1600 +12 154 182 +12 155 3723 +12 156 45 +12 157 5544 +12 158 2376 +12 159 102 +12 160 10623 +12 161 1679 +12 162 41 +12 163 16218 +12 164 594 +12 165 590 +12 166 3127 +12 167 970 +12 168 4776 +12 169 2583 +12 170 171 +12 171 470 +12 172 719 +12 173 3235 +12 174 677 +12 175 487 +12 176 9844 +12 177 8817 +12 178 6516 +12 179 275 +12 180 6642 +12 181 161 +12 182 175 +12 183 99 +12 184 2174 +12 185 1693 +12 186 6099 +12 187 2867 +12 188 2013 +12 189 12512 +12 190 4899 +12 191 1341 +12 192 2966 +12 193 122 +12 194 2802 +12 195 2859 +12 196 2050 +12 197 203 +12 198 5124 +12 199 800 +12 200 2545 +12 201 4209 +12 202 118 +12 203 6622 +12 204 315 +12 205 2056 +12 206 4493 +12 207 5262 +12 208 2669 +12 209 1348 +12 210 1586 +12 211 981 +12 212 2345 +12 213 926 +12 214 1931 +12 215 160 +12 216 1097 +12 217 3021 +12 218 641 +12 219 6021 +12 220 2947 +12 221 3361 +12 222 3121 +12 223 957 +12 224 3010 +12 225 2065 +12 226 8773 +12 227 136 +12 228 8702 +12 229 1111 +12 230 3386 +12 231 4055 +12 232 2060 +12 233 961 +12 234 17612 +12 235 3493 +12 236 73 +12 237 252 +12 238 16432 +12 239 644 +12 240 5299 +12 241 623 +12 242 6955 +12 243 2470 +12 244 19004 +12 245 90 +12 246 262 +12 247 7510 +12 248 29224 +12 249 6540 +12 250 12281 +12 251 3355 +12 252 1627 +12 253 3059 +12 254 1389 +12 255 5834 +13 0 6000 +13 1 9265 +13 2 388 +13 3 1650 +13 4 181 +13 5 926 +13 6 1561 +13 7 1399 +13 8 350 +13 9 325 +13 10 41 +13 11 1111 +13 12 243 +13 13 3003 +13 14 518 +13 15 2006 +13 16 6357 +13 17 805 +13 18 214 +13 19 4046 +13 20 1632 +13 21 8125 +13 22 3829 +13 23 475 +13 24 489 +13 25 112 +13 26 1956 +13 27 124 +13 28 371 +13 29 1415 +13 30 113 +13 31 113 +13 32 941 +13 33 5404 +13 34 82 +13 35 1775 +13 36 1450 +13 37 5629 +13 38 3544 +13 39 467 +13 40 17441 +13 41 1420 +13 42 3569 +13 43 7671 +13 44 745 +13 45 1423 +13 46 1072 +13 47 7441 +13 48 90 +13 49 566 +13 50 452 +13 51 1421 +13 52 1094 +13 53 103 +13 54 87 +13 55 175 +13 56 54249 +13 57 1363 +13 58 89 +13 59 105 +13 60 353 +13 61 19585 +13 62 113 +13 63 857 +13 64 2348 +13 65 12811 +13 66 8611 +13 67 1891 +13 68 241 +13 69 32 +13 70 4342 +13 71 10175 +13 72 2263 +13 73 556 +13 74 50436 +13 75 220 +13 76 1986 +13 77 17247 +13 78 620 +13 79 1546 +13 80 322 +13 81 2251 +13 82 6591 +13 83 1469 +13 84 831 +13 85 457 +13 86 905 +13 87 66450 +13 88 1592 +13 89 1133 +13 90 364 +13 91 11940 +13 92 1621 +13 93 19128 +13 94 8331 +13 95 2844 +13 96 40 +13 97 2086 +13 98 43380 +13 99 1643 +13 100 7975 +13 101 26267 +13 102 42 +13 103 3092 +13 104 9661 +13 105 2026 +13 106 180 +13 107 4079 +13 108 523 +13 109 364 +13 110 1575 +13 111 4086 +13 112 3568 +13 113 4419 +13 114 926 +13 115 13412 +13 116 2314 +13 117 490 +13 118 1734 +13 119 915 +13 120 5883 +13 121 3748 +13 122 849 +13 123 115 +13 124 4772 +13 125 619 +13 126 8339 +13 127 2595 +13 128 6675 +13 129 2773 +13 130 569 +13 131 6466 +13 132 2099 +13 133 73 +13 134 4828 +13 135 1590 +13 136 1718 +13 137 1385 +13 138 698 +13 139 4719 +13 140 5300 +13 141 635 +13 142 3400 +13 143 393 +13 144 354 +13 145 151 +13 146 627 +13 147 7549 +13 148 2023 +13 149 804 +13 150 96 +13 151 5291 +13 152 444 +13 153 3407 +13 154 2373 +13 155 3659 +13 156 1116 +13 157 3701 +13 158 500 +13 159 1099 +13 160 314 +13 161 418 +13 162 2576 +13 163 25 +13 164 3631 +13 165 13831 +13 166 18127 +13 167 701 +13 168 3831 +13 169 1538 +13 170 978 +13 171 1450 +13 172 3822 +13 173 4619 +13 174 32181 +13 175 1127 +13 176 706 +13 177 6419 +13 178 8586 +13 179 451 +13 180 6791 +13 181 862 +13 182 3193 +13 183 11925 +13 184 206 +13 185 3287 +13 186 37 +13 187 671 +13 188 625 +13 189 842 +13 190 64 +13 191 416 +13 192 4809 +13 193 7007 +13 194 2252 +13 195 2703 +13 196 901 +13 197 24418 +13 198 3274 +13 199 1533 +13 200 4036 +13 201 587 +13 202 8506 +13 203 5647 +13 204 3211 +13 205 365 +13 206 722 +13 207 5410 +13 208 3988 +13 209 1056 +13 210 1415 +13 211 11130 +13 212 2270 +13 213 1496 +13 214 4503 +13 215 4017 +13 216 4272 +13 217 3386 +13 218 23 +13 219 7932 +13 220 4020 +13 221 1295 +13 222 6526 +13 223 191 +13 224 67691 +13 225 45 +13 226 167 +13 227 1544 +13 228 3586 +13 229 68 +13 230 4665 +13 231 5460 +13 232 252 +13 233 3786 +13 234 566 +13 235 118 +13 236 735 +13 237 518 +13 238 4904 +13 239 1096 +13 240 3195 +13 241 13634 +13 242 695 +13 243 521 +13 244 28766 +13 245 152 +13 246 356 +13 247 159 +13 248 4997 +13 249 5933 +13 250 607 +13 251 6730 +13 252 15194 +13 253 8530 +13 254 708 +13 255 1078 +14 0 1098 +14 1 1475 +14 2 1452 +14 3 95 +14 4 4100 +14 5 4851 +14 6 3769 +14 7 45 +14 8 8894 +14 9 1675 +14 10 4711 +14 11 303 +14 12 1051 +14 13 81 +14 14 127 +14 15 390 +14 16 49 +14 17 1500 +14 18 10109 +14 19 10150 +14 20 7355 +14 21 109 +14 22 5693 +14 23 387 +14 24 298 +14 25 12 +14 26 1599 +14 27 186 +14 28 2031 +14 29 1156 +14 30 33773 +14 31 2243 +14 32 1624 +14 33 168 +14 34 2824 +14 35 2641 +14 36 105 +14 37 1380 +14 38 5694 +14 39 124 +14 40 2015 +14 41 865 +14 42 69 +14 43 115 +14 44 17006 +14 45 2965 +14 46 102 +14 47 266 +14 48 16512 +14 49 4241 +14 50 9722 +14 51 2406 +14 52 1897 +14 53 4538 +14 54 863 +14 55 479 +14 56 449 +14 57 5696 +14 58 3593 +14 59 941 +14 60 2206 +14 61 443 +14 62 19228 +14 63 2690 +14 64 1452 +14 65 5992 +14 66 12506 +14 67 14606 +14 68 2914 +14 69 12 +14 70 1403 +14 71 3077 +14 72 14586 +14 73 12714 +14 74 17 +14 75 146 +14 76 9207 +14 77 2821 +14 78 204 +14 79 4340 +14 80 155 +14 81 3985 +14 82 266 +14 83 3485 +14 84 3208 +14 85 1283 +14 86 5965 +14 87 3746 +14 88 3560 +14 89 871 +14 90 2547 +14 91 1312 +14 92 6173 +14 93 79 +14 94 1415 +14 95 5062 +14 96 18201 +14 97 1575 +14 98 158 +14 99 844 +14 100 50 +14 101 3332 +14 102 2479 +14 103 3669 +14 104 44446 +14 105 4197 +14 106 5357 +14 107 1892 +14 108 469 +14 109 851 +14 110 997 +14 111 2497 +14 112 1039 +14 113 7174 +14 114 226 +14 115 1753 +14 116 339 +14 117 13182 +14 118 1575 +14 119 891 +14 120 50 +14 121 27 +14 122 21 +14 123 552 +14 124 7195 +14 125 1544 +14 126 477 +14 127 483 +14 128 10242 +14 129 70 +14 130 151 +14 131 231 +14 132 12670 +14 133 1330 +14 134 151 +14 135 3511 +14 136 7947 +14 137 4334 +14 138 3376 +14 139 144 +14 140 1159 +14 141 165 +14 142 1553 +14 143 12145 +14 144 3134 +14 145 31191 +14 146 5430 +14 147 4593 +14 148 3975 +14 149 60474 +14 150 1927 +14 151 1009 +14 152 1491 +14 153 537 +14 154 993 +14 155 3565 +14 156 897 +14 157 1091 +14 158 236 +14 159 2903 +14 160 1664 +14 161 525 +14 162 1520 +14 163 3835 +14 164 314 +14 165 2093 +14 166 929 +14 167 2557 +14 168 60 +14 169 169 +14 170 69 +14 171 6052 +14 172 2651 +14 173 621 +14 174 36 +14 175 8221 +14 176 1914 +14 177 1791 +14 178 66 +14 179 2007 +14 180 2126 +14 181 12182 +14 182 3160 +14 183 15911 +14 184 619 +14 185 2279 +14 186 70 +14 187 394 +14 188 73 +14 189 18287 +14 190 45928 +14 191 18377 +14 192 2139 +14 193 1450 +14 194 39185 +14 195 79 +14 196 13435 +14 197 4338 +14 198 8232 +14 199 43 +14 200 15628 +14 201 3569 +14 202 21021 +14 203 56015 +14 204 106 +14 205 638 +14 206 277 +14 207 2427 +14 208 426 +14 209 1796 +14 210 317 +14 211 838 +14 212 1358 +14 213 1719 +14 214 16303 +14 215 5471 +14 216 584 +14 217 5927 +14 218 1408 +14 219 6093 +14 220 3373 +14 221 212 +14 222 656 +14 223 899 +14 224 4940 +14 225 5115 +14 226 15459 +14 227 243 +14 228 996 +14 229 1550 +14 230 857 +14 231 12822 +14 232 185 +14 233 48 +14 234 1644 +14 235 4151 +14 236 7534 +14 237 4941 +14 238 4340 +14 239 626 +14 240 128 +14 241 1580 +14 242 15872 +14 243 177 +14 244 754 +14 245 744 +14 246 249 +14 247 5592 +14 248 1239 +14 249 293 +14 250 398 +14 251 194 +14 252 297 +14 253 1446 +14 254 1570 +14 255 956 +15 0 1891 +15 1 375 +15 2 1841 +15 3 37322 +15 4 361 +15 5 771 +15 6 1911 +15 7 19 +15 8 655 +15 9 1457 +15 10 25 +15 11 2458 +15 12 11961 +15 13 1916 +15 14 553 +15 15 45 +15 16 2748 +15 17 6374 +15 18 5570 +15 19 1875 +15 20 733 +15 21 2477 +15 22 4811 +15 23 4501 +15 24 3817 +15 25 2171 +15 26 1342 +15 27 44421 +15 28 3190 +15 29 821 +15 30 3825 +15 31 5593 +15 32 28 +15 33 3100 +15 34 3628 +15 35 14289 +15 36 2323 +15 37 8757 +15 38 1102 +15 39 1346 +15 40 105 +15 41 14969 +15 42 1318 +15 43 307 +15 44 2196 +15 45 1158 +15 46 2894 +15 47 3559 +15 48 4625 +15 49 5377 +15 50 2725 +15 51 13355 +15 52 3391 +15 53 2704 +15 54 1289 +15 55 13397 +15 56 2819 +15 57 1725 +15 58 1786 +15 59 1919 +15 60 1775 +15 61 2166 +15 62 631 +15 63 87 +15 64 5695 +15 65 2246 +15 66 1201 +15 67 879 +15 68 7749 +15 69 5527 +15 70 1106 +15 71 2504 +15 72 1700 +15 73 114 +15 74 4866 +15 75 1218 +15 76 4929 +15 77 306 +15 78 14825 +15 79 12386 +15 80 34411 +15 81 7382 +15 82 1099 +15 83 11186 +15 84 41 +15 85 14440 +15 86 818 +15 87 6512 +15 88 247 +15 89 1355 +15 90 909 +15 91 58 +15 92 3059 +15 93 12677 +15 94 8324 +15 95 12509 +15 96 3303 +15 97 6394 +15 98 4562 +15 99 2661 +15 100 150 +15 101 1876 +15 102 52209 +15 103 3819 +15 104 85 +15 105 216 +15 106 506 +15 107 66 +15 108 3715 +15 109 1182 +15 110 2378 +15 111 1676 +15 112 27062 +15 113 30 +15 114 22191 +15 115 11544 +15 116 2778 +15 117 8062 +15 118 31 +15 119 8653 +15 120 1963 +15 121 1349 +15 122 121 +15 123 2301 +15 124 5993 +15 125 407 +15 126 1356 +15 127 4343 +15 128 22043 +15 129 226 +15 130 6774 +15 131 5657 +15 132 3336 +15 133 541 +15 134 13026 +15 135 579 +15 136 290 +15 137 761 +15 138 77 +15 139 2047 +15 140 45313 +15 141 1595 +15 142 1430 +15 143 2584 +15 144 1810 +15 145 8081 +15 146 6441 +15 147 1342 +15 148 1154 +15 149 1321 +15 150 1288 +15 151 756 +15 152 141 +15 153 1084 +15 154 15180 +15 155 2421 +15 156 12113 +15 157 1926 +15 158 362 +15 159 1585 +15 160 1242 +15 161 770 +15 162 293 +15 163 4302 +15 164 76 +15 165 2090 +15 166 2785 +15 167 924 +15 168 6920 +15 169 18302 +15 170 2057 +15 171 5129 +15 172 2738 +15 173 1980 +15 174 3840 +15 175 246 +15 176 78 +15 177 4375 +15 178 4915 +15 179 4325 +15 180 4193 +15 181 5840 +15 182 2016 +15 183 1583 +15 184 1244 +15 185 4354 +15 186 687 +15 187 1030 +15 188 17482 +15 189 28443 +15 190 1061 +15 191 8989 +15 192 68 +15 193 1067 +15 194 353 +15 195 7494 +15 196 2768 +15 197 8031 +15 198 91 +15 199 118 +15 200 6413 +15 201 144 +15 202 257 +15 203 1610 +15 204 809 +15 205 89 +15 206 20771 +15 207 82 +15 208 608 +15 209 772 +15 210 198 +15 211 617 +15 212 167 +15 213 490 +15 214 180 +15 215 1015 +15 216 60 +15 217 6056 +15 218 17506 +15 219 152 +15 220 3286 +15 221 3058 +15 222 1113 +15 223 224 +15 224 309 +15 225 1173 +15 226 13191 +15 227 718 +15 228 847 +15 229 1535 +15 230 324 +15 231 93 +15 232 1696 +15 233 2393 +15 234 195 +15 235 829 +15 236 1310 +15 237 27180 +15 238 1946 +15 239 85 +15 240 9143 +15 241 3200 +15 242 2854 +15 243 1200 +15 244 1905 +15 245 1580 +15 246 1357 +15 247 1797 +15 248 3006 +15 249 8588 +15 250 1622 +15 251 27 +15 252 16 +15 253 51 +15 254 4956 +15 255 986 +16 0 4814 +16 1 56 +16 2 790 +16 3 4614 +16 4 9838 +16 5 5847 +16 6 478 +16 7 110 +16 8 231 +16 9 212 +16 10 5503 +16 11 203 +16 12 5130 +16 13 153 +16 14 1425 +16 15 3345 +16 16 2286 +16 17 12 +16 18 1315 +16 19 43 +16 20 1051 +16 21 357 +16 22 4619 +16 23 22791 +16 24 521 +16 25 1918 +16 26 7280 +16 27 153 +16 28 1609 +16 29 3010 +16 30 78 +16 31 681 +16 32 69 +16 33 5780 +16 34 790 +16 35 530 +16 36 591 +16 37 993 +16 38 10598 +16 39 12646 +16 40 10862 +16 41 18603 +16 42 166 +16 43 4819 +16 44 274 +16 45 3065 +16 46 905 +16 47 5305 +16 48 2854 +16 49 4981 +16 50 2588 +16 51 31959 +16 52 212 +16 53 4930 +16 54 1600 +16 55 1069 +16 56 10956 +16 57 819 +16 58 9422 +16 59 3362 +16 60 43418 +16 61 5237 +16 62 6293 +16 63 400 +16 64 126 +16 65 13266 +16 66 382 +16 67 8291 +16 68 122 +16 69 1249 +16 70 284 +16 71 12008 +16 72 25149 +16 73 6417 +16 74 5415 +16 75 2286 +16 76 285 +16 77 27 +16 78 2400 +16 79 41 +16 80 20030 +16 81 5389 +16 82 2805 +16 83 5969 +16 84 2091 +16 85 4657 +16 86 423 +16 87 2579 +16 88 12136 +16 89 1468 +16 90 29 +16 91 776 +16 92 2387 +16 93 1178 +16 94 53 +16 95 1358 +16 96 4494 +16 97 77 +16 98 210 +16 99 1761 +16 100 1888 +16 101 41507 +16 102 2862 +16 103 919 +16 104 53 +16 105 17514 +16 106 4499 +16 107 1161 +16 108 813 +16 109 12328 +16 110 271 +16 111 9456 +16 112 375 +16 113 18408 +16 114 4849 +16 115 38 +16 116 3130 +16 117 3455 +16 118 45 +16 119 3904 +16 120 5319 +16 121 2029 +16 122 9241 +16 123 1032 +16 124 1731 +16 125 57 +16 126 658 +16 127 15162 +16 128 169 +16 129 4435 +16 130 5028 +16 131 2247 +16 132 146 +16 133 4820 +16 134 6354 +16 135 134 +16 136 520 +16 137 1367 +16 138 5224 +16 139 67 +16 140 1582 +16 141 8552 +16 142 70 +16 143 10507 +16 144 1465 +16 145 10652 +16 146 852 +16 147 2632 +16 148 287 +16 149 2436 +16 150 4533 +16 151 1942 +16 152 12700 +16 153 28250 +16 154 2831 +16 155 158 +16 156 3868 +16 157 8788 +16 158 3676 +16 159 770 +16 160 416 +16 161 1333 +16 162 1374 +16 163 3384 +16 164 3966 +16 165 3564 +16 166 1914 +16 167 212 +16 168 1000 +16 169 390 +16 170 2253 +16 171 1762 +16 172 171 +16 173 21034 +16 174 3795 +16 175 962 +16 176 600 +16 177 2419 +16 178 20501 +16 179 4465 +16 180 8607 +16 181 2039 +16 182 912 +16 183 5326 +16 184 166 +16 185 6003 +16 186 5038 +16 187 4398 +16 188 502 +16 189 5387 +16 190 3728 +16 191 633 +16 192 1367 +16 193 528 +16 194 1431 +16 195 10440 +16 196 6035 +16 197 846 +16 198 734 +16 199 130 +16 200 923 +16 201 1973 +16 202 877 +16 203 1204 +16 204 11532 +16 205 434 +16 206 43 +16 207 367 +16 208 17674 +16 209 1790 +16 210 2145 +16 211 722 +16 212 2004 +16 213 797 +16 214 865 +16 215 1590 +16 216 502 +16 217 5937 +16 218 56308 +16 219 10301 +16 220 1634 +16 221 493 +16 222 4793 +16 223 144 +16 224 2307 +16 225 31831 +16 226 37 +16 227 1121 +16 228 2906 +16 229 3958 +16 230 4804 +16 231 210 +16 232 4348 +16 233 4044 +16 234 2871 +16 235 6319 +16 236 1070 +16 237 3344 +16 238 2129 +16 239 1716 +16 240 10 +16 241 3165 +16 242 2542 +16 243 828 +16 244 133 +16 245 2025 +16 246 361 +16 247 1905 +16 248 8290 +16 249 76 +16 250 7860 +16 251 97 +16 252 2253 +16 253 4336 +16 254 5511 +16 255 12135 +17 0 5963 +17 1 142 +17 2 230 +17 3 855 +17 4 3442 +17 5 1637 +17 6 132 +17 7 231 +17 8 10295 +17 9 4706 +17 10 1392 +17 11 3442 +17 12 5516 +17 13 575 +17 14 9727 +17 15 652 +17 16 817 +17 17 1238 +17 18 1272 +17 19 5468 +17 20 2458 +17 21 4254 +17 22 19393 +17 23 3978 +17 24 220 +17 25 1607 +17 26 3172 +17 27 2363 +17 28 149 +17 29 2391 +17 30 1300 +17 31 184 +17 32 1057 +17 33 8244 +17 34 426 +17 35 20044 +17 36 569 +17 37 5740 +17 38 5423 +17 39 5490 +17 40 47 +17 41 56 +17 42 3655 +17 43 2839 +17 44 46 +17 45 1358 +17 46 2688 +17 47 629 +17 48 1301 +17 49 2005 +17 50 61 +17 51 733 +17 52 84 +17 53 2434 +17 54 9120 +17 55 1320 +17 56 17 +17 57 4087 +17 58 1125 +17 59 1293 +17 60 2852 +17 61 6248 +17 62 6163 +17 63 2688 +17 64 3105 +17 65 198 +17 66 9129 +17 67 27 +17 68 5032 +17 69 652 +17 70 15 +17 71 57206 +17 72 552 +17 73 1499 +17 74 582 +17 75 289 +17 76 6348 +17 77 3381 +17 78 433 +17 79 390 +17 80 87 +17 81 30 +17 82 131 +17 83 66 +17 84 64114 +17 85 104 +17 86 605 +17 87 1269 +17 88 2870 +17 89 22907 +17 90 598 +17 91 2189 +17 92 46 +17 93 1898 +17 94 11063 +17 95 3687 +17 96 5462 +17 97 787 +17 98 692 +17 99 2203 +17 100 99 +17 101 3465 +17 102 1349 +17 103 47 +17 104 3184 +17 105 20 +17 106 1647 +17 107 1265 +17 108 169 +17 109 176 +17 110 4251 +17 111 386 +17 112 778 +17 113 457 +17 114 2882 +17 115 2284 +17 116 1266 +17 117 18112 +17 118 16229 +17 119 7827 +17 120 14265 +17 121 878 +17 122 1718 +17 123 870 +17 124 7904 +17 125 1035 +17 126 10035 +17 127 1006 +17 128 84 +17 129 944 +17 130 1202 +17 131 27207 +17 132 805 +17 133 44 +17 134 536 +17 135 2171 +17 136 272 +17 137 822 +17 138 225 +17 139 724 +17 140 12167 +17 141 2733 +17 142 2240 +17 143 572 +17 144 1238 +17 145 442 +17 146 558 +17 147 148 +17 148 21705 +17 149 62062 +17 150 3452 +17 151 3222 +17 152 4679 +17 153 3606 +17 154 588 +17 155 5710 +17 156 11043 +17 157 4459 +17 158 3394 +17 159 970 +17 160 2876 +17 161 390 +17 162 11139 +17 163 196 +17 164 2927 +17 165 354 +17 166 586 +17 167 2935 +17 168 6405 +17 169 11467 +17 170 11172 +17 171 9987 +17 172 5434 +17 173 4368 +17 174 142 +17 175 1462 +17 176 1318 +17 177 5706 +17 178 6772 +17 179 38 +17 180 7209 +17 181 184 +17 182 354 +17 183 727 +17 184 722 +17 185 3798 +17 186 13064 +17 187 316 +17 188 4287 +17 189 600 +17 190 3001 +17 191 260 +17 192 692 +17 193 8 +17 194 281 +17 195 3927 +17 196 54 +17 197 4293 +17 198 61532 +17 199 9738 +17 200 308 +17 201 7142 +17 202 4017 +17 203 151 +17 204 4304 +17 205 7 +17 206 1793 +17 207 385 +17 208 3386 +17 209 663 +17 210 473 +17 211 3502 +17 212 1320 +17 213 4857 +17 214 4380 +17 215 56794 +17 216 5196 +17 217 967 +17 218 341 +17 219 5612 +17 220 2261 +17 221 3403 +17 222 23509 +17 223 1685 +17 224 422 +17 225 4946 +17 226 1711 +17 227 2088 +17 228 529 +17 229 3313 +17 230 5931 +17 231 1720 +17 232 2352 +17 233 769 +17 234 1980 +17 235 1199 +17 236 196 +17 237 263 +17 238 7089 +17 239 2339 +17 240 518 +17 241 890 +17 242 5919 +17 243 14245 +17 244 3535 +17 245 1046 +17 246 795 +17 247 4675 +17 248 1794 +17 249 895 +17 250 4834 +17 251 789 +17 252 5969 +17 253 9766 +17 254 249 +17 255 11052 +18 0 9482 +18 1 95 +18 2 515 +18 3 1502 +18 4 4942 +18 5 191 +18 6 2752 +18 7 60 +18 8 623 +18 9 36 +18 10 1166 +18 11 3545 +18 12 34 +18 13 8217 +18 14 490 +18 15 1200 +18 16 13477 +18 17 696 +18 18 8509 +18 19 12622 +18 20 179 +18 21 385 +18 22 5392 +18 23 356 +18 24 1491 +18 25 1470 +18 26 88 +18 27 746 +18 28 153 +18 29 103 +18 30 1751 +18 31 2057 +18 32 3956 +18 33 2306 +18 34 19123 +18 35 1221 +18 36 865 +18 37 22432 +18 38 3971 +18 39 1569 +18 40 8135 +18 41 588 +18 42 9455 +18 43 1750 +18 44 752 +18 45 1589 +18 46 38336 +18 47 858 +18 48 218 +18 49 267 +18 50 6471 +18 51 353 +18 52 2396 +18 53 2232 +18 54 33 +18 55 3825 +18 56 21 +18 57 9914 +18 58 492 +18 59 2761 +18 60 2449 +18 61 1281 +18 62 9560 +18 63 2793 +18 64 1991 +18 65 74 +18 66 7822 +18 67 3583 +18 68 512 +18 69 4284 +18 70 2200 +18 71 3572 +18 72 5454 +18 73 8947 +18 74 6309 +18 75 1757 +18 76 86 +18 77 571 +18 78 83 +18 79 6558 +18 80 431 +18 81 55 +18 82 61983 +18 83 697 +18 84 5067 +18 85 4292 +18 86 76 +18 87 348 +18 88 13693 +18 89 2391 +18 90 2378 +18 91 12317 +18 92 5054 +18 93 3232 +18 94 1159 +18 95 532 +18 96 60 +18 97 3040 +18 98 162 +18 99 472 +18 100 685 +18 101 528 +18 102 534 +18 103 238 +18 104 6471 +18 105 10062 +18 106 334 +18 107 39 +18 108 11748 +18 109 191 +18 110 1013 +18 111 5584 +18 112 4146 +18 113 8972 +18 114 267 +18 115 4601 +18 116 12514 +18 117 19440 +18 118 3415 +18 119 3739 +18 120 10605 +18 121 932 +18 122 2644 +18 123 1222 +18 124 115 +18 125 418 +18 126 1230 +18 127 4553 +18 128 4448 +18 129 3006 +18 130 3849 +18 131 1234 +18 132 2737 +18 133 4201 +18 134 2456 +18 135 3941 +18 136 1300 +18 137 14002 +18 138 977 +18 139 30841 +18 140 125 +18 141 9007 +18 142 1026 +18 143 5206 +18 144 4187 +18 145 39923 +18 146 624 +18 147 29 +18 148 6414 +18 149 169 +18 150 2445 +18 151 1590 +18 152 752 +18 153 1085 +18 154 2555 +18 155 914 +18 156 1007 +18 157 1911 +18 158 1736 +18 159 2326 +18 160 1387 +18 161 3211 +18 162 3947 +18 163 10854 +18 164 725 +18 165 627 +18 166 5329 +18 167 1748 +18 168 204 +18 169 2197 +18 170 4502 +18 171 29566 +18 172 4988 +18 173 253 +18 174 2299 +18 175 7821 +18 176 841 +18 177 7451 +18 178 342 +18 179 5721 +18 180 848 +18 181 10846 +18 182 2017 +18 183 15466 +18 184 1217 +18 185 59 +18 186 3741 +18 187 4286 +18 188 3969 +18 189 116 +18 190 211 +18 191 4909 +18 192 5204 +18 193 1933 +18 194 512 +18 195 1919 +18 196 218 +18 197 1894 +18 198 31188 +18 199 5528 +18 200 10 +18 201 1036 +18 202 72 +18 203 1092 +18 204 1766 +18 205 1206 +18 206 256 +18 207 8993 +18 208 6889 +18 209 31654 +18 210 215 +18 211 161 +18 212 24024 +18 213 2714 +18 214 2194 +18 215 1158 +18 216 457 +18 217 14548 +18 218 1465 +18 219 12568 +18 220 1668 +18 221 290 +18 222 27 +18 223 2291 +18 224 21 +18 225 8484 +18 226 4949 +18 227 312 +18 228 1034 +18 229 7123 +18 230 2352 +18 231 1757 +18 232 4413 +18 233 3314 +18 234 20068 +18 235 2019 +18 236 5434 +18 237 4626 +18 238 325 +18 239 1365 +18 240 6350 +18 241 983 +18 242 76 +18 243 129 +18 244 9536 +18 245 817 +18 246 41 +18 247 289 +18 248 188 +18 249 62 +18 250 2007 +18 251 1065 +18 252 20838 +18 253 25058 +18 254 1517 +18 255 110 +19 0 64 +19 1 26282 +19 2 7911 +19 3 9722 +19 4 3277 +19 5 365 +19 6 1035 +19 7 773 +19 8 141 +19 9 298 +19 10 16482 +19 11 8752 +19 12 4026 +19 13 207 +19 14 1393 +19 15 3691 +19 16 4560 +19 17 30299 +19 18 213 +19 19 58 +19 20 6344 +19 21 3852 +19 22 10715 +19 23 34908 +19 24 4481 +19 25 4876 +19 26 5928 +19 27 8101 +19 28 6595 +19 29 985 +19 30 1163 +19 31 376 +19 32 629 +19 33 21162 +19 34 8721 +19 35 25205 +19 36 1998 +19 37 27096 +19 38 5606 +19 39 1244 +19 40 6655 +19 41 1153 +19 42 501 +19 43 7120 +19 44 919 +19 45 229 +19 46 2243 +19 47 13828 +19 48 4238 +19 49 2309 +19 50 3226 +19 51 610 +19 52 5461 +19 53 15368 +19 54 6241 +19 55 12966 +19 56 640 +19 57 11050 +19 58 236 +19 59 24546 +19 60 8906 +19 61 14207 +19 62 306 +19 63 4312 +19 64 3307 +19 65 181 +19 66 1047 +19 67 4208 +19 68 50 +19 69 215 +19 70 613 +19 71 1941 +19 72 1027 +19 73 237 +19 74 7269 +19 75 3071 +19 76 2855 +19 77 3008 +19 78 832 +19 79 10344 +19 80 3981 +19 81 1015 +19 82 7656 +19 83 919 +19 84 3716 +19 85 4372 +19 86 493 +19 87 33549 +19 88 7095 +19 89 2752 +19 90 8204 +19 91 3068 +19 92 4327 +19 93 324 +19 94 2653 +19 95 1463 +19 96 1425 +19 97 2888 +19 98 1412 +19 99 13256 +19 100 3465 +19 101 166 +19 102 1141 +19 103 71 +19 104 175 +19 105 2448 +19 106 151 +19 107 173 +19 108 1810 +19 109 1464 +19 110 7176 +19 111 53 +19 112 228 +19 113 122 +19 114 1066 +19 115 910 +19 116 2479 +19 117 3369 +19 118 12915 +19 119 393 +19 120 3060 +19 121 2332 +19 122 2166 +19 123 756 +19 124 6091 +19 125 533 +19 126 43 +19 127 30 +19 128 59 +19 129 1026 +19 130 5694 +19 131 74 +19 132 2819 +19 133 2898 +19 134 9214 +19 135 4904 +19 136 208 +19 137 16300 +19 138 395 +19 139 4742 +19 140 224 +19 141 206 +19 142 2587 +19 143 16007 +19 144 2635 +19 145 16 +19 146 4755 +19 147 70 +19 148 1855 +19 149 2225 +19 150 2188 +19 151 2154 +19 152 78 +19 153 14431 +19 154 15146 +19 155 63 +19 156 1778 +19 157 2532 +19 158 6236 +19 159 1816 +19 160 7167 +19 161 194 +19 162 4098 +19 163 3415 +19 164 26 +19 165 431 +19 166 3287 +19 167 2741 +19 168 85 +19 169 5344 +19 170 103 +19 171 310 +19 172 182 +19 173 4930 +19 174 2040 +19 175 66 +19 176 1184 +19 177 3489 +19 178 805 +19 179 1995 +19 180 1695 +19 181 1036 +19 182 1022 +19 183 10003 +19 184 18130 +19 185 64 +19 186 1368 +19 187 37 +19 188 6460 +19 189 1433 +19 190 4831 +19 191 434 +19 192 343 +19 193 1166 +19 194 1929 +19 195 526 +19 196 14941 +19 197 4089 +19 198 1465 +19 199 1426 +19 200 529 +19 201 546 +19 202 3605 +19 203 2190 +19 204 1976 +19 205 265 +19 206 14181 +19 207 2147 +19 208 730 +19 209 21262 +19 210 180 +19 211 10276 +19 212 1192 +19 213 561 +19 214 1339 +19 215 12596 +19 216 7269 +19 217 2837 +19 218 3135 +19 219 4875 +19 220 50130 +19 221 1214 +19 222 516 +19 223 599 +19 224 4987 +19 225 2497 +19 226 4990 +19 227 6638 +19 228 2330 +19 229 1953 +19 230 728 +19 231 2622 +19 232 180 +19 233 534 +19 234 4428 +19 235 2942 +19 236 2566 +19 237 2964 +19 238 1084 +19 239 2344 +19 240 9385 +19 241 8746 +19 242 628 +19 243 408 +19 244 1763 +19 245 4241 +19 246 240 +19 247 7160 +19 248 1283 +19 249 5538 +19 250 2682 +19 251 4627 +19 252 699 +19 253 9548 +19 254 1287 +19 255 1152 +20 0 1873 +20 1 1347 +20 2 61 +20 3 1887 +20 4 502 +20 5 15 +20 6 476 +20 7 2787 +20 8 8441 +20 9 14137 +20 10 6334 +20 11 2675 +20 12 2104 +20 13 92 +20 14 115 +20 15 138 +20 16 5366 +20 17 9800 +20 18 1425 +20 19 352 +20 20 516 +20 21 495 +20 22 367 +20 23 3953 +20 24 1697 +20 25 246 +20 26 15062 +20 27 41 +20 28 87 +20 29 504 +20 30 231 +20 31 16 +20 32 141 +20 33 5408 +20 34 14 +20 35 2509 +20 36 4237 +20 37 595 +20 38 3005 +20 39 260 +20 40 6550 +20 41 24025 +20 42 14202 +20 43 50 +20 44 897 +20 45 4960 +20 46 7538 +20 47 7638 +20 48 926 +20 49 2715 +20 50 1781 +20 51 980 +20 52 4147 +20 53 24766 +20 54 487 +20 55 149 +20 56 4476 +20 57 107 +20 58 1118 +20 59 24793 +20 60 5464 +20 61 4146 +20 62 2877 +20 63 1788 +20 64 389 +20 65 5615 +20 66 6075 +20 67 140 +20 68 3283 +20 69 277 +20 70 14312 +20 71 10406 +20 72 2004 +20 73 2142 +20 74 183 +20 75 5647 +20 76 269 +20 77 118 +20 78 2600 +20 79 818 +20 80 4041 +20 81 4428 +20 82 227 +20 83 12281 +20 84 47 +20 85 5367 +20 86 2351 +20 87 77 +20 88 146 +20 89 5872 +20 90 1227 +20 91 7262 +20 92 7551 +20 93 176 +20 94 1213 +20 95 2542 +20 96 174 +20 97 222 +20 98 6550 +20 99 4200 +20 100 1814 +20 101 4010 +20 102 1012 +20 103 2362 +20 104 1415 +20 105 387 +20 106 603 +20 107 2317 +20 108 1565 +20 109 117 +20 110 321 +20 111 90 +20 112 4152 +20 113 297 +20 114 1880 +20 115 9367 +20 116 2023 +20 117 28477 +20 118 465 +20 119 53694 +20 120 1949 +20 121 13026 +20 122 807 +20 123 27867 +20 124 151 +20 125 46 +20 126 4689 +20 127 2891 +20 128 312 +20 129 1690 +20 130 371 +20 131 558 +20 132 318 +20 133 4174 +20 134 742 +20 135 6856 +20 136 369 +20 137 620 +20 138 1564 +20 139 4064 +20 140 812 +20 141 2159 +20 142 3577 +20 143 13009 +20 144 1740 +20 145 6174 +20 146 4216 +20 147 16827 +20 148 315 +20 149 6664 +20 150 7482 +20 151 29760 +20 152 1350 +20 153 401 +20 154 691 +20 155 3446 +20 156 370 +20 157 6039 +20 158 2463 +20 159 2711 +20 160 455 +20 161 146 +20 162 127 +20 163 6344 +20 164 358 +20 165 3377 +20 166 58 +20 167 3342 +20 168 3353 +20 169 86 +20 170 4839 +20 171 4841 +20 172 2912 +20 173 1910 +20 174 4223 +20 175 1636 +20 176 5112 +20 177 554 +20 178 220 +20 179 4892 +20 180 241 +20 181 1839 +20 182 8015 +20 183 316 +20 184 1275 +20 185 6432 +20 186 1633 +20 187 2789 +20 188 33 +20 189 2856 +20 190 1390 +20 191 2286 +20 192 736 +20 193 2047 +20 194 989 +20 195 304 +20 196 3219 +20 197 9305 +20 198 449 +20 199 2209 +20 200 2165 +20 201 90 +20 202 23649 +20 203 3982 +20 204 1255 +20 205 21938 +20 206 38459 +20 207 7795 +20 208 1745 +20 209 4513 +20 210 2084 +20 211 10270 +20 212 1320 +20 213 146 +20 214 3851 +20 215 9606 +20 216 20245 +20 217 4141 +20 218 9840 +20 219 4381 +20 220 12093 +20 221 2805 +20 222 387 +20 223 5008 +20 224 18670 +20 225 16785 +20 226 27 +20 227 5571 +20 228 175 +20 229 2276 +20 230 1925 +20 231 3051 +20 232 6517 +20 233 4856 +20 234 4094 +20 235 4401 +20 236 14026 +20 237 4561 +20 238 4119 +20 239 3462 +20 240 472 +20 241 266 +20 242 6049 +20 243 275 +20 244 871 +20 245 4993 +20 246 8169 +20 247 2945 +20 248 41503 +20 249 5039 +20 250 1148 +20 251 5084 +20 252 1349 +20 253 5262 +20 254 556 +20 255 138 +21 0 419 +21 1 689 +21 2 4165 +21 3 489 +21 4 245 +21 5 911 +21 6 76102 +21 7 2861 +21 8 630 +21 9 65 +21 10 279 +21 11 82 +21 12 1710 +21 13 5079 +21 14 2533 +21 15 131 +21 16 598 +21 17 873 +21 18 2140 +21 19 3406 +21 20 85 +21 21 6800 +21 22 3658 +21 23 970 +21 24 1174 +21 25 833 +21 26 1317 +21 27 205 +21 28 4 +21 29 4284 +21 30 740 +21 31 3646 +21 32 4694 +21 33 186 +21 34 1631 +21 35 774 +21 36 1093 +21 37 726 +21 38 1250 +21 39 2378 +21 40 667 +21 41 13 +21 42 12277 +21 43 3790 +21 44 59659 +21 45 2673 +21 46 170 +21 47 2114 +21 48 7736 +21 49 36 +21 50 148 +21 51 179 +21 52 14600 +21 53 2917 +21 54 5173 +21 55 2303 +21 56 9180 +21 57 26 +21 58 882 +21 59 73 +21 60 979 +21 61 10415 +21 62 5482 +21 63 16608 +21 64 62 +21 65 244 +21 66 3891 +21 67 422 +21 68 1946 +21 69 3914 +21 70 157 +21 71 4886 +21 72 4915 +21 73 5778 +21 74 641 +21 75 25 +21 76 2960 +21 77 5664 +21 78 4621 +21 79 239 +21 80 15030 +21 81 6224 +21 82 2534 +21 83 806 +21 84 216 +21 85 145 +21 86 773 +21 87 150 +21 88 5117 +21 89 8 +21 90 295 +21 91 12238 +21 92 132 +21 93 51 +21 94 4645 +21 95 6282 +21 96 4089 +21 97 48 +21 98 499 +21 99 631 +21 100 310 +21 101 4365 +21 102 485 +21 103 3943 +21 104 243 +21 105 1165 +21 106 1980 +21 107 1509 +21 108 3641 +21 109 860 +21 110 22 +21 111 6103 +21 112 6329 +21 113 1274 +21 114 114 +21 115 8165 +21 116 1025 +21 117 5916 +21 118 151 +21 119 6763 +21 120 249 +21 121 203 +21 122 7249 +21 123 184 +21 124 94 +21 125 20233 +21 126 6442 +21 127 1266 +21 128 1017 +21 129 2810 +21 130 47 +21 131 7932 +21 132 5386 +21 133 461 +21 134 197 +21 135 535 +21 136 1863 +21 137 2997 +21 138 117 +21 139 12278 +21 140 5365 +21 141 3206 +21 142 67068 +21 143 948 +21 144 62 +21 145 319 +21 146 903 +21 147 385 +21 148 3417 +21 149 548 +21 150 63 +21 151 568 +21 152 544 +21 153 1187 +21 154 1941 +21 155 2289 +21 156 2565 +21 157 2800 +21 158 5498 +21 159 193 +21 160 8479 +21 161 152 +21 162 2552 +21 163 890 +21 164 5887 +21 165 28914 +21 166 16651 +21 167 84 +21 168 717 +21 169 15811 +21 170 1959 +21 171 1461 +21 172 21212 +21 173 43 +21 174 1241 +21 175 54 +21 176 68 +21 177 5355 +21 178 2679 +21 179 945 +21 180 7519 +21 181 1524 +21 182 1426 +21 183 12045 +21 184 3944 +21 185 8983 +21 186 9405 +21 187 1788 +21 188 7880 +21 189 5792 +21 190 6234 +21 191 2485 +21 192 281 +21 193 43 +21 194 6553 +21 195 437 +21 196 6783 +21 197 956 +21 198 598 +21 199 95 +21 200 1329 +21 201 3214 +21 202 125 +21 203 2022 +21 204 1230 +21 205 41449 +21 206 4004 +21 207 17076 +21 208 4791 +21 209 3034 +21 210 6099 +21 211 2801 +21 212 565 +21 213 2497 +21 214 857 +21 215 1935 +21 216 9260 +21 217 1834 +21 218 258 +21 219 389 +21 220 83 +21 221 3890 +21 222 1934 +21 223 74 +21 224 3432 +21 225 1409 +21 226 1854 +21 227 4217 +21 228 11903 +21 229 204 +21 230 16779 +21 231 3824 +21 232 2477 +21 233 12675 +21 234 120 +21 235 12118 +21 236 639 +21 237 627 +21 238 183 +21 239 1811 +21 240 3545 +21 241 3152 +21 242 3782 +21 243 23022 +21 244 14374 +21 245 15139 +21 246 1785 +21 247 1204 +21 248 1837 +21 249 383 +21 250 26651 +21 251 21777 +21 252 3596 +21 253 420 +21 254 1083 +21 255 2590 +22 0 4365 +22 1 7090 +22 2 287 +22 3 1326 +22 4 2242 +22 5 2665 +22 6 1638 +22 7 3156 +22 8 908 +22 9 1297 +22 10 881 +22 11 1700 +22 12 4059 +22 13 35918 +22 14 1253 +22 15 2577 +22 16 241 +22 17 3284 +22 18 511 +22 19 3823 +22 20 14420 +22 21 893 +22 22 3029 +22 23 6834 +22 24 1472 +22 25 1223 +22 26 13282 +22 27 1115 +22 28 18464 +22 29 1095 +22 30 266 +22 31 3065 +22 32 991 +22 33 2515 +22 34 905 +22 35 814 +22 36 5215 +22 37 1980 +22 38 161 +22 39 126 +22 40 5607 +22 41 3166 +22 42 2512 +22 43 10008 +22 44 6637 +22 45 1439 +22 46 1733 +22 47 5155 +22 48 1100 +22 49 11388 +22 50 1471 +22 51 866 +22 52 1557 +22 53 13018 +22 54 657 +22 55 90 +22 56 12273 +22 57 7502 +22 58 60 +22 59 8153 +22 60 7262 +22 61 670 +22 62 947 +22 63 1655 +22 64 3765 +22 65 1659 +22 66 10719 +22 67 14520 +22 68 3705 +22 69 3643 +22 70 15684 +22 71 616 +22 72 215 +22 73 503 +22 74 30037 +22 75 230 +22 76 2268 +22 77 8329 +22 78 3629 +22 79 1490 +22 80 1705 +22 81 2878 +22 82 1936 +22 83 1453 +22 84 1765 +22 85 598 +22 86 2458 +22 87 58960 +22 88 1731 +22 89 840 +22 90 2293 +22 91 1217 +22 92 1605 +22 93 3774 +22 94 419 +22 95 1023 +22 96 22 +22 97 6538 +22 98 9969 +22 99 209 +22 100 836 +22 101 100 +22 102 3031 +22 103 3507 +22 104 1373 +22 105 324 +22 106 6632 +22 107 2258 +22 108 4750 +22 109 4239 +22 110 10462 +22 111 473 +22 112 149 +22 113 4914 +22 114 588 +22 115 919 +22 116 8993 +22 117 1638 +22 118 459 +22 119 3740 +22 120 2323 +22 121 1800 +22 122 2393 +22 123 688 +22 124 3557 +22 125 3513 +22 126 1602 +22 127 3181 +22 128 13478 +22 129 2284 +22 130 7562 +22 131 36 +22 132 10850 +22 133 1987 +22 134 10098 +22 135 6254 +22 136 7552 +22 137 12507 +22 138 918 +22 139 9342 +22 140 1643 +22 141 2383 +22 142 1978 +22 143 224 +22 144 9487 +22 145 1089 +22 146 5758 +22 147 381 +22 148 747 +22 149 148 +22 150 4135 +22 151 4139 +22 152 568 +22 153 354 +22 154 5823 +22 155 116 +22 156 14615 +22 157 2619 +22 158 28 +22 159 3591 +22 160 9552 +22 161 2720 +22 162 285 +22 163 4070 +22 164 1024 +22 165 4829 +22 166 1170 +22 167 2036 +22 168 4221 +22 169 3484 +22 170 6307 +22 171 11508 +22 172 1889 +22 173 4019 +22 174 523 +22 175 1568 +22 176 1192 +22 177 418 +22 178 656 +22 179 15639 +22 180 112 +22 181 6614 +22 182 2316 +22 183 2285 +22 184 3753 +22 185 760 +22 186 389 +22 187 3561 +22 188 1198 +22 189 5149 +22 190 10723 +22 191 1050 +22 192 7820 +22 193 36621 +22 194 4599 +22 195 6189 +22 196 351 +22 197 100 +22 198 6668 +22 199 3715 +22 200 5765 +22 201 17396 +22 202 2351 +22 203 1651 +22 204 1125 +22 205 14711 +22 206 4964 +22 207 5805 +22 208 1836 +22 209 201 +22 210 5865 +22 211 1009 +22 212 4322 +22 213 8722 +22 214 12269 +22 215 3215 +22 216 2614 +22 217 538 +22 218 2406 +22 219 2607 +22 220 3941 +22 221 490 +22 222 506 +22 223 1178 +22 224 12175 +22 225 7459 +22 226 1393 +22 227 5678 +22 228 3550 +22 229 2718 +22 230 624 +22 231 891 +22 232 825 +22 233 6533 +22 234 7443 +22 235 9068 +22 236 56 +22 237 143 +22 238 4800 +22 239 10948 +22 240 857 +22 241 19319 +22 242 5094 +22 243 2349 +22 244 9652 +22 245 710 +22 246 2562 +22 247 156 +22 248 1770 +22 249 1194 +22 250 4663 +22 251 6229 +22 252 3752 +22 253 9813 +22 254 6457 +22 255 12308 +23 0 4048 +23 1 47 +23 2 1081 +23 3 4631 +23 4 749 +23 5 5196 +23 6 158 +23 7 2123 +23 8 288 +23 9 2223 +23 10 6991 +23 11 4942 +23 12 111 +23 13 5244 +23 14 9017 +23 15 4860 +23 16 6773 +23 17 4771 +23 18 3623 +23 19 3739 +23 20 4480 +23 21 84 +23 22 771 +23 23 80 +23 24 3270 +23 25 3007 +23 26 31075 +23 27 1257 +23 28 1258 +23 29 1282 +23 30 1064 +23 31 6461 +23 32 749 +23 33 4999 +23 34 15645 +23 35 5144 +23 36 4397 +23 37 10702 +23 38 2130 +23 39 3565 +23 40 472 +23 41 1201 +23 42 420 +23 43 54516 +23 44 8060 +23 45 1004 +23 46 2936 +23 47 539 +23 48 1248 +23 49 2059 +23 50 1301 +23 51 571 +23 52 4188 +23 53 112 +23 54 6364 +23 55 270 +23 56 989 +23 57 2162 +23 58 1809 +23 59 1124 +23 60 13752 +23 61 9093 +23 62 5985 +23 63 6485 +23 64 3577 +23 65 512 +23 66 756 +23 67 194 +23 68 1217 +23 69 3037 +23 70 7476 +23 71 10211 +23 72 3478 +23 73 929 +23 74 731 +23 75 2084 +23 76 7434 +23 77 1415 +23 78 986 +23 79 2814 +23 80 9223 +23 81 426 +23 82 6170 +23 83 34 +23 84 703 +23 85 2772 +23 86 6786 +23 87 1403 +23 88 37059 +23 89 571 +23 90 1059 +23 91 4462 +23 92 1343 +23 93 3971 +23 94 6 +23 95 1115 +23 96 1590 +23 97 347 +23 98 4991 +23 99 8964 +23 100 7218 +23 101 168 +23 102 10694 +23 103 138 +23 104 1919 +23 105 1038 +23 106 2581 +23 107 1476 +23 108 1826 +23 109 5047 +23 110 91 +23 111 3362 +23 112 7643 +23 113 33 +23 114 2863 +23 115 4769 +23 116 3510 +23 117 564 +23 118 4258 +23 119 90 +23 120 7272 +23 121 3310 +23 122 439 +23 123 24718 +23 124 263 +23 125 4218 +23 126 1797 +23 127 2768 +23 128 3270 +23 129 8930 +23 130 1078 +23 131 11081 +23 132 1260 +23 133 5323 +23 134 10596 +23 135 33386 +23 136 9582 +23 137 505 +23 138 1685 +23 139 738 +23 140 398 +23 141 26207 +23 142 4208 +23 143 1562 +23 144 4110 +23 145 1919 +23 146 11502 +23 147 1540 +23 148 1470 +23 149 730 +23 150 1158 +23 151 4986 +23 152 5279 +23 153 2139 +23 154 3177 +23 155 2579 +23 156 6837 +23 157 9463 +23 158 5212 +23 159 12207 +23 160 341 +23 161 6489 +23 162 3507 +23 163 2861 +23 164 4263 +23 165 885 +23 166 326 +23 167 12983 +23 168 4381 +23 169 10605 +23 170 12493 +23 171 8068 +23 172 6278 +23 173 1786 +23 174 7824 +23 175 6807 +23 176 16814 +23 177 12190 +23 178 1218 +23 179 493 +23 180 6340 +23 181 268 +23 182 207 +23 183 5942 +23 184 9091 +23 185 66 +23 186 9610 +23 187 2025 +23 188 8043 +23 189 3030 +23 190 2104 +23 191 1251 +23 192 8637 +23 193 3904 +23 194 4519 +23 195 197 +23 196 1536 +23 197 11314 +23 198 1319 +23 199 10034 +23 200 19477 +23 201 5044 +23 202 6941 +23 203 2266 +23 204 2156 +23 205 2251 +23 206 2346 +23 207 2873 +23 208 1544 +23 209 2669 +23 210 3209 +23 211 84 +23 212 193 +23 213 1898 +23 214 910 +23 215 1047 +23 216 2005 +23 217 320 +23 218 4698 +23 219 594 +23 220 2822 +23 221 5280 +23 222 22898 +23 223 545 +23 224 1109 +23 225 4447 +23 226 1907 +23 227 234 +23 228 3216 +23 229 392 +23 230 1420 +23 231 2108 +23 232 48 +23 233 3904 +23 234 84 +23 235 72 +23 236 3152 +23 237 26423 +23 238 6676 +23 239 524 +23 240 1018 +23 241 3595 +23 242 1120 +23 243 3747 +23 244 376 +23 245 92 +23 246 10710 +23 247 1116 +23 248 3031 +23 249 1050 +23 250 4945 +23 251 1717 +23 252 525 +23 253 1209 +23 254 2029 +23 255 466 +24 0 811 +24 1 3847 +24 2 35938 +24 3 3311 +24 4 1629 +24 5 810 +24 6 17770 +24 7 6571 +24 8 2518 +24 9 8051 +24 10 324 +24 11 4323 +24 12 3157 +24 13 471 +24 14 1448 +24 15 51 +24 16 2113 +24 17 5358 +24 18 746 +24 19 112 +24 20 63390 +24 21 1932 +24 22 17761 +24 23 615 +24 24 5562 +24 25 103 +24 26 5382 +24 27 502 +24 28 240 +24 29 14625 +24 30 1962 +24 31 10463 +24 32 9831 +24 33 12619 +24 34 3235 +24 35 1142 +24 36 664 +24 37 5284 +24 38 5448 +24 39 1516 +24 40 239 +24 41 953 +24 42 1934 +24 43 817 +24 44 6349 +24 45 239 +24 46 2897 +24 47 3560 +24 48 1601 +24 49 655 +24 50 11297 +24 51 677 +24 52 845 +24 53 3341 +24 54 5968 +24 55 20659 +24 56 3047 +24 57 418 +24 58 4050 +24 59 1034 +24 60 2067 +24 61 85 +24 62 2715 +24 63 6356 +24 64 610 +24 65 1757 +24 66 7294 +24 67 5224 +24 68 515 +24 69 246 +24 70 2479 +24 71 7300 +24 72 10810 +24 73 3468 +24 74 5304 +24 75 946 +24 76 14120 +24 77 2584 +24 78 3726 +24 79 1933 +24 80 4641 +24 81 5687 +24 82 2518 +24 83 641 +24 84 3350 +24 85 2637 +24 86 59 +24 87 12639 +24 88 3035 +24 89 1693 +24 90 221 +24 91 1044 +24 92 946 +24 93 1974 +24 94 4691 +24 95 1050 +24 96 461 +24 97 5373 +24 98 3343 +24 99 3322 +24 100 7953 +24 101 20871 +24 102 2390 +24 103 66384 +24 104 1423 +24 105 1563 +24 106 1322 +24 107 1375 +24 108 630 +24 109 303 +24 110 4362 +24 111 649 +24 112 2934 +24 113 2357 +24 114 1600 +24 115 15927 +24 116 723 +24 117 1512 +24 118 261 +24 119 5905 +24 120 4598 +24 121 94 +24 122 304 +24 123 291 +24 124 2501 +24 125 3869 +24 126 1257 +24 127 2094 +24 128 431 +24 129 2633 +24 130 327 +24 131 4978 +24 132 375 +24 133 7 +24 134 1706 +24 135 893 +24 136 8665 +24 137 6076 +24 138 2178 +24 139 303 +24 140 7446 +24 141 1754 +24 142 1678 +24 143 5863 +24 144 2307 +24 145 591 +24 146 1910 +24 147 4647 +24 148 5606 +24 149 4408 +24 150 6683 +24 151 2313 +24 152 68 +24 153 7829 +24 154 111 +24 155 5587 +24 156 298 +24 157 3426 +24 158 2626 +24 159 52 +24 160 9017 +24 161 122 +24 162 107 +24 163 11408 +24 164 927 +24 165 450 +24 166 3611 +24 167 1728 +24 168 2102 +24 169 593 +24 170 259 +24 171 139 +24 172 3417 +24 173 4143 +24 174 2044 +24 175 472 +24 176 4352 +24 177 6618 +24 178 15253 +24 179 806 +24 180 4518 +24 181 44 +24 182 118 +24 183 72 +24 184 1203 +24 185 1021 +24 186 10182 +24 187 4697 +24 188 2594 +24 189 9440 +24 190 2602 +24 191 502 +24 192 1917 +24 193 140 +24 194 1807 +24 195 5074 +24 196 993 +24 197 188 +24 198 4898 +24 199 563 +24 200 376 +24 201 2108 +24 202 101 +24 203 7834 +24 204 235 +24 205 2896 +24 206 2179 +24 207 273 +24 208 4824 +24 209 1405 +24 210 2551 +24 211 1221 +24 212 4036 +24 213 2426 +24 214 2964 +24 215 120 +24 216 1653 +24 217 4638 +24 218 841 +24 219 2064 +24 220 1975 +24 221 33920 +24 222 2935 +24 223 8 +24 224 19608 +24 225 2909 +24 226 1458 +24 227 328 +24 228 23989 +24 229 7495 +24 230 1865 +24 231 2383 +24 232 1065 +24 233 319 +24 234 2323 +24 235 3004 +24 236 1213 +24 237 898 +24 238 14584 +24 239 225 +24 240 4903 +24 241 800 +24 242 10282 +24 243 2078 +24 244 11164 +24 245 43 +24 246 410 +24 247 11212 +24 248 48368 +24 249 8466 +24 250 6540 +24 251 3468 +24 252 781 +24 253 2693 +24 254 3376 +24 255 11032 +25 0 5763 +25 1 7442 +25 2 2529 +25 3 4264 +25 4 256 +25 5 2043 +25 6 414 +25 7 1327 +25 8 1031 +25 9 178 +25 10 40 +25 11 491 +25 12 297 +25 13 3553 +25 14 253 +25 15 335 +25 16 4481 +25 17 614 +25 18 295 +25 19 311 +25 20 2612 +25 21 7368 +25 22 4924 +25 23 362 +25 24 669 +25 25 71 +25 26 3425 +25 27 130 +25 28 1125 +25 29 167 +25 30 214 +25 31 146 +25 32 184 +25 33 3379 +25 34 67 +25 35 6408 +25 36 1084 +25 37 4390 +25 38 2256 +25 39 1951 +25 40 12431 +25 41 645 +25 42 3467 +25 43 6299 +25 44 1572 +25 45 1960 +25 46 2764 +25 47 23981 +25 48 64 +25 49 2542 +25 50 233 +25 51 390 +25 52 1834 +25 53 33 +25 54 51 +25 55 1175 +25 56 46361 +25 57 3070 +25 58 191 +25 59 41 +25 60 263 +25 61 39872 +25 62 309 +25 63 2755 +25 64 4674 +25 65 6124 +25 66 4536 +25 67 1673 +25 68 302 +25 69 110 +25 70 26024 +25 71 4497 +25 72 1845 +25 73 2086 +25 74 462 +25 75 887 +25 76 2757 +25 77 14914 +25 78 3659 +25 79 1040 +25 80 1207 +25 81 2942 +25 82 1176 +25 83 417 +25 84 2584 +25 85 288 +25 86 1940 +25 87 70507 +25 88 922 +25 89 1316 +25 90 103 +25 91 19993 +25 92 124 +25 93 13647 +25 94 9341 +25 95 608 +25 96 116 +25 97 3260 +25 98 39417 +25 99 219 +25 100 3743 +25 101 9636 +25 102 72 +25 103 3917 +25 104 8563 +25 105 1247 +25 106 345 +25 107 5110 +25 108 746 +25 109 197 +25 110 585 +25 111 3798 +25 112 1608 +25 113 2910 +25 114 916 +25 115 18792 +25 116 1878 +25 117 3136 +25 118 1392 +25 119 1612 +25 120 1335 +25 121 2991 +25 122 1139 +25 123 66 +25 124 1972 +25 125 174 +25 126 6796 +25 127 2057 +25 128 5202 +25 129 369 +25 130 835 +25 131 4959 +25 132 3722 +25 133 34 +25 134 1380 +25 135 11194 +25 136 316 +25 137 2160 +25 138 590 +25 139 2621 +25 140 6921 +25 141 1345 +25 142 1551 +25 143 398 +25 144 41 +25 145 107 +25 146 1444 +25 147 4310 +25 148 1848 +25 149 853 +25 150 53 +25 151 2665 +25 152 2496 +25 153 10004 +25 154 319 +25 155 8965 +25 156 443 +25 157 6735 +25 158 735 +25 159 2196 +25 160 3 +25 161 7582 +25 162 175 +25 163 114 +25 164 3645 +25 165 5687 +25 166 9396 +25 167 1688 +25 168 4834 +25 169 1533 +25 170 88 +25 171 2233 +25 172 517 +25 173 126 +25 174 20918 +25 175 561 +25 176 320 +25 177 16722 +25 178 11218 +25 179 348 +25 180 512 +25 181 5475 +25 182 3628 +25 183 11124 +25 184 534 +25 185 5007 +25 186 24 +25 187 695 +25 188 591 +25 189 1099 +25 190 35 +25 191 464 +25 192 5841 +25 193 15351 +25 194 1064 +25 195 3430 +25 196 491 +25 197 72477 +25 198 4958 +25 199 2177 +25 200 2119 +25 201 1411 +25 202 5415 +25 203 10165 +25 204 3027 +25 205 664 +25 206 3829 +25 207 1480 +25 208 1427 +25 209 1826 +25 210 1152 +25 211 4956 +25 212 1600 +25 213 5779 +25 214 6023 +25 215 5194 +25 216 800 +25 217 6231 +25 218 58 +25 219 5003 +25 220 3790 +25 221 11009 +25 222 7068 +25 223 771 +25 224 75274 +25 225 49 +25 226 1870 +25 227 3889 +25 228 2896 +25 229 636 +25 230 4739 +25 231 3675 +25 232 61 +25 233 6128 +25 234 2331 +25 235 151 +25 236 1304 +25 237 4701 +25 238 2531 +25 239 1447 +25 240 9457 +25 241 4237 +25 242 1437 +25 243 700 +25 244 9728 +25 245 155 +25 246 2348 +25 247 107 +25 248 3688 +25 249 6133 +25 250 405 +25 251 10043 +25 252 9339 +25 253 503 +25 254 1071 +25 255 384 +26 0 801 +26 1 612 +26 2 914 +26 3 1629 +26 4 6294 +26 5 4760 +26 6 7900 +26 7 121 +26 8 7929 +26 9 24510 +26 10 4069 +26 11 196 +26 12 2304 +26 13 86 +26 14 152 +26 15 360 +26 16 250 +26 17 1930 +26 18 7834 +26 19 16981 +26 20 9204 +26 21 54 +26 22 2017 +26 23 125 +26 24 218 +26 25 22 +26 26 1409 +26 27 290 +26 28 1582 +26 29 2729 +26 30 46504 +26 31 2148 +26 32 2072 +26 33 187 +26 34 608 +26 35 4701 +26 36 24 +26 37 1145 +26 38 4626 +26 39 221 +26 40 3046 +26 41 823 +26 42 720 +26 43 800 +26 44 6381 +26 45 1867 +26 46 5399 +26 47 344 +26 48 11957 +26 49 11589 +26 50 47897 +26 51 396 +26 52 2081 +26 53 8650 +26 54 644 +26 55 241 +26 56 9822 +26 57 6758 +26 58 4518 +26 59 3340 +26 60 2335 +26 61 458 +26 62 122 +26 63 1553 +26 64 494 +26 65 6215 +26 66 3544 +26 67 7040 +26 68 1968 +26 69 72 +26 70 898 +26 71 1634 +26 72 8668 +26 73 9807 +26 74 166 +26 75 119 +26 76 10745 +26 77 2340 +26 78 1203 +26 79 5920 +26 80 83 +26 81 4814 +26 82 724 +26 83 1745 +26 84 1592 +26 85 1782 +26 86 2662 +26 87 2397 +26 88 1655 +26 89 182 +26 90 713 +26 91 1557 +26 92 9661 +26 93 171 +26 94 1317 +26 95 32806 +26 96 14679 +26 97 1143 +26 98 117 +26 99 1606 +26 100 86 +26 101 3792 +26 102 11709 +26 103 2344 +26 104 1090 +26 105 5244 +26 106 5935 +26 107 6238 +26 108 117 +26 109 552 +26 110 2432 +26 111 1936 +26 112 4314 +26 113 5283 +26 114 86 +26 115 1757 +26 116 474 +26 117 6782 +26 118 1169 +26 119 4210 +26 120 31 +26 121 138 +26 122 71 +26 123 875 +26 124 5607 +26 125 14004 +26 126 160 +26 127 662 +26 128 1653 +26 129 73 +26 130 107 +26 131 702 +26 132 6839 +26 133 6718 +26 134 181 +26 135 280 +26 136 1854 +26 137 1900 +26 138 2970 +26 139 55 +26 140 4097 +26 141 540 +26 142 5250 +26 143 14855 +26 144 9274 +26 145 32970 +26 146 3988 +26 147 3622 +26 148 5714 +26 149 27173 +26 150 2050 +26 151 566 +26 152 3606 +26 153 1626 +26 154 983 +26 155 2754 +26 156 820 +26 157 2994 +26 158 263 +26 159 3455 +26 160 3545 +26 161 875 +26 162 1155 +26 163 2287 +26 164 178 +26 165 1426 +26 166 1723 +26 167 3839 +26 168 587 +26 169 238 +26 170 391 +26 171 16218 +26 172 2199 +26 173 60 +26 174 26 +26 175 9081 +26 176 3811 +26 177 826 +26 178 81 +26 179 2717 +26 180 5070 +26 181 13751 +26 182 5397 +26 183 16903 +26 184 752 +26 185 6163 +26 186 45 +26 187 418 +26 188 188 +26 189 7093 +26 190 27053 +26 191 15328 +26 192 752 +26 193 1135 +26 194 30460 +26 195 295 +26 196 12316 +26 197 28239 +26 198 6073 +26 199 119 +26 200 2269 +26 201 1516 +26 202 16174 +26 203 3652 +26 204 116 +26 205 2046 +26 206 275 +26 207 6273 +26 208 66 +26 209 2852 +26 210 191 +26 211 1506 +26 212 1116 +26 213 1200 +26 214 14251 +26 215 17170 +26 216 1315 +26 217 3617 +26 218 2879 +26 219 1490 +26 220 1969 +26 221 273 +26 222 335 +26 223 6596 +26 224 11211 +26 225 1978 +26 226 66959 +26 227 125 +26 228 2012 +26 229 1250 +26 230 1053 +26 231 13201 +26 232 1836 +26 233 160 +26 234 676 +26 235 2705 +26 236 3605 +26 237 4437 +26 238 5676 +26 239 641 +26 240 313 +26 241 1989 +26 242 679 +26 243 448 +26 244 1486 +26 245 1078 +26 246 327 +26 247 4192 +26 248 460 +26 249 407 +26 250 435 +26 251 566 +26 252 402 +26 253 1243 +26 254 2387 +26 255 887 +27 0 2018 +27 1 510 +27 2 28578 +27 3 13231 +27 4 208 +27 5 1933 +27 6 819 +27 7 36 +27 8 1591 +27 9 351 +27 10 39 +27 11 2719 +27 12 12142 +27 13 594 +27 14 344 +27 15 60 +27 16 2530 +27 17 1223 +27 18 13192 +27 19 2178 +27 20 1612 +27 21 3477 +27 22 4759 +27 23 7293 +27 24 2112 +27 25 2270 +27 26 2955 +27 27 2870 +27 28 6121 +27 29 2603 +27 30 7439 +27 31 5540 +27 32 59 +27 33 3674 +27 34 6138 +27 35 16049 +27 36 583 +27 37 4003 +27 38 1106 +27 39 403 +27 40 829 +27 41 8816 +27 42 771 +27 43 453 +27 44 2082 +27 45 1903 +27 46 3522 +27 47 1290 +27 48 3932 +27 49 2017 +27 50 2409 +27 51 12757 +27 52 3991 +27 53 1278 +27 54 1441 +27 55 16896 +27 56 34191 +27 57 1973 +27 58 963 +27 59 1660 +27 60 1940 +27 61 5577 +27 62 650 +27 63 342 +27 64 6467 +27 65 2687 +27 66 2339 +27 67 464 +27 68 1318 +27 69 7432 +27 70 1161 +27 71 925 +27 72 385 +27 73 192 +27 74 2442 +27 75 1998 +27 76 3214 +27 77 277 +27 78 8637 +27 79 8398 +27 80 28166 +27 81 3404 +27 82 769 +27 83 3877 +27 84 29 +27 85 39191 +27 86 2355 +27 87 4905 +27 88 97 +27 89 4324 +27 90 896 +27 91 45 +27 92 182 +27 93 13194 +27 94 3759 +27 95 18154 +27 96 2351 +27 97 4074 +27 98 2031 +27 99 3609 +27 100 358 +27 101 2529 +27 102 4478 +27 103 4228 +27 104 212 +27 105 168 +27 106 1026 +27 107 85 +27 108 3569 +27 109 1473 +27 110 2221 +27 111 2725 +27 112 9959 +27 113 12 +27 114 17109 +27 115 2720 +27 116 2750 +27 117 8000 +27 118 41 +27 119 7455 +27 120 2031 +27 121 1671 +27 122 84 +27 123 887 +27 124 3798 +27 125 1150 +27 126 3557 +27 127 3836 +27 128 29026 +27 129 463 +27 130 6928 +27 131 2295 +27 132 15461 +27 133 611 +27 134 8880 +27 135 1259 +27 136 2029 +27 137 2273 +27 138 185 +27 139 1286 +27 140 10527 +27 141 3033 +27 142 1699 +27 143 1033 +27 144 1957 +27 145 1712 +27 146 6211 +27 147 458 +27 148 103 +27 149 704 +27 150 2227 +27 151 491 +27 152 106 +27 153 2924 +27 154 7034 +27 155 1115 +27 156 10677 +27 157 1821 +27 158 939 +27 159 532 +27 160 289 +27 161 2862 +27 162 252 +27 163 2992 +27 164 42 +27 165 1728 +27 166 1786 +27 167 2252 +27 168 6463 +27 169 12324 +27 170 1860 +27 171 5175 +27 172 2050 +27 173 2366 +27 174 2371 +27 175 294 +27 176 212 +27 177 3882 +27 178 4438 +27 179 8861 +27 180 4255 +27 181 2026 +27 182 2929 +27 183 2045 +27 184 9177 +27 185 34442 +27 186 462 +27 187 3932 +27 188 9723 +27 189 51534 +27 190 19122 +27 191 10393 +27 192 23 +27 193 4 +27 194 711 +27 195 4351 +27 196 1877 +27 197 8175 +27 198 199 +27 199 117 +27 200 3964 +27 201 127 +27 202 204 +27 203 3362 +27 204 788 +27 205 114 +27 206 16279 +27 207 38 +27 208 5236 +27 209 2770 +27 210 121 +27 211 505 +27 212 444 +27 213 696 +27 214 107 +27 215 1088 +27 216 123 +27 217 3032 +27 218 112783 +27 219 31 +27 220 4300 +27 221 283 +27 222 1140 +27 223 1009 +27 224 265 +27 225 1822 +27 226 3122 +27 227 209 +27 228 2130 +27 229 2177 +27 230 268 +27 231 192 +27 232 53 +27 233 3208 +27 234 80 +27 235 54 +27 236 620 +27 237 1698 +27 238 1969 +27 239 1398 +27 240 5069 +27 241 3318 +27 242 1773 +27 243 2257 +27 244 1919 +27 245 2207 +27 246 628 +27 247 2074 +27 248 3058 +27 249 6203 +27 250 1619 +27 251 518 +27 252 55 +27 253 196 +27 254 20116 +27 255 1573 +28 0 2793 +28 2 1185 +28 3 1055 +28 4 7623 +28 5 876 +28 6 830 +28 7 77 +28 8 161 +28 9 209 +28 10 10290 +28 11 219 +28 12 3980 +28 13 1943 +28 14 2742 +28 15 2587 +28 16 1788 +28 17 136 +28 18 10410 +28 19 106 +28 20 1643 +28 21 320 +28 22 3908 +28 23 22826 +28 24 908 +28 25 23 +28 26 6164 +28 27 25 +28 28 2826 +28 29 2598 +28 30 327 +28 31 357 +28 32 99 +28 33 3086 +28 34 913 +28 35 638 +28 36 1690 +28 37 1208 +28 38 5544 +28 39 10856 +28 40 3018 +28 41 42878 +28 42 146 +28 43 1358 +28 44 156 +28 45 2839 +28 46 889 +28 47 2578 +28 48 6029 +28 49 9723 +28 50 17874 +28 51 891 +28 52 129 +28 53 8325 +28 54 1811 +28 55 854 +28 56 9101 +28 57 2247 +28 58 8300 +28 59 6945 +28 60 26518 +28 61 5986 +28 62 4532 +28 63 1854 +28 64 122 +28 65 6396 +28 66 2726 +28 67 3554 +28 68 519 +28 69 36 +28 70 5837 +28 71 6780 +28 72 14934 +28 73 2454 +28 74 10119 +28 75 4274 +28 76 239 +28 77 119 +28 78 3534 +28 79 456 +28 80 8934 +28 81 4002 +28 82 555 +28 83 6630 +28 84 1613 +28 85 2476 +28 86 294 +28 87 3648 +28 88 12775 +28 89 4547 +28 90 73 +28 91 1293 +28 92 4323 +28 93 2442 +28 94 118 +28 95 6242 +28 96 3748 +28 97 138 +28 98 228 +28 99 461 +28 100 171 +28 101 41788 +28 102 861 +28 103 199 +28 104 45 +28 105 59472 +28 106 3540 +28 107 1538 +28 108 717 +28 109 3531 +28 110 666 +28 111 2237 +28 112 952 +28 113 19167 +28 114 6205 +28 115 10 +28 116 2992 +28 117 4256 +28 118 32 +28 119 3675 +28 120 1218 +28 121 1481 +28 122 3401 +28 123 290 +28 124 2482 +28 125 44 +28 126 1038 +28 127 556 +28 128 311 +28 129 1341 +28 130 68045 +28 131 2020 +28 132 145 +28 133 1940 +28 134 1317 +28 135 1864 +28 136 214 +28 137 2175 +28 138 3317 +28 139 123 +28 140 3163 +28 141 9986 +28 142 590 +28 143 3422 +28 144 3556 +28 145 10538 +28 146 920 +28 147 3209 +28 148 915 +28 149 3167 +28 150 1368 +28 151 1178 +28 152 1276 +28 153 22105 +28 154 233 +28 155 66 +28 156 3943 +28 157 8838 +28 158 16152 +28 159 607 +28 160 833 +28 161 1578 +28 162 1838 +28 163 2596 +28 164 4709 +28 165 3252 +28 166 1426 +28 167 205 +28 168 828 +28 169 899 +28 170 1337 +28 171 1700 +28 172 100 +28 173 13049 +28 174 4725 +28 175 1617 +28 176 395 +28 177 2421 +28 178 16574 +28 179 6491 +28 180 3234 +28 181 2094 +28 182 1324 +28 183 3762 +28 184 236 +28 185 2910 +28 186 4507 +28 187 3988 +28 188 597 +28 189 2479 +28 190 3731 +28 191 97 +28 192 2448 +28 193 2123 +28 194 4708 +28 195 669 +28 196 615 +28 197 250 +28 198 817 +28 199 19 +28 200 1446 +28 201 4840 +28 202 42 +28 203 1734 +28 204 10425 +28 205 268 +28 206 5 +28 207 147 +28 208 14879 +28 209 1129 +28 210 6022 +28 211 1481 +28 212 3567 +28 213 1894 +28 214 2911 +28 215 2555 +28 216 4772 +28 217 6644 +28 218 26879 +28 219 6798 +28 220 7049 +28 221 264 +28 222 14033 +28 223 152 +28 224 1968 +28 225 2655 +28 226 85 +28 227 5465 +28 228 5377 +28 229 14744 +28 230 5197 +28 231 191 +28 232 7394 +28 233 27961 +28 234 5984 +28 235 11108 +28 236 19597 +28 237 1693 +28 238 1811 +28 239 896 +28 240 71 +28 241 4311 +28 242 555 +28 243 2569 +28 244 272 +28 245 1845 +28 246 1783 +28 247 2967 +28 248 4376 +28 249 194 +28 250 4442 +28 251 204 +28 252 1240 +28 253 2998 +28 254 7932 +28 255 11113 +29 0 3141 +29 1 625 +29 2 514 +29 3 28 +29 4 11371 +29 5 1396 +29 6 125 +29 7 260 +29 8 164 +29 9 4437 +29 10 2358 +29 11 10813 +29 12 939 +29 13 456 +29 14 10442 +29 15 2001 +29 16 323 +29 17 1999 +29 18 2796 +29 19 6913 +29 20 1205 +29 21 3079 +29 22 28309 +29 23 483 +29 24 15 +29 25 1229 +29 26 3458 +29 27 4151 +29 28 407 +29 29 2887 +29 30 2177 +29 31 699 +29 32 901 +29 33 2031 +29 34 1861 +29 35 25552 +29 36 3767 +29 37 95609 +29 38 4511 +29 39 5462 +29 40 319 +29 41 61 +29 42 2274 +29 43 2935 +29 44 169 +29 45 15530 +29 46 4531 +29 47 1348 +29 48 483 +29 49 4762 +29 50 176 +29 51 420 +29 52 280 +29 53 6247 +29 54 14115 +29 55 284 +29 56 404 +29 57 4589 +29 58 568 +29 59 1547 +29 60 3359 +29 61 1752 +29 62 5163 +29 63 452 +29 64 3042 +29 65 745 +29 66 4380 +29 67 15 +29 68 311 +29 69 951 +29 70 12 +29 71 46935 +29 72 969 +29 73 9607 +29 74 1522 +29 75 249 +29 76 2402 +29 77 265 +29 78 2272 +29 79 836 +29 80 87 +29 81 60 +29 82 80 +29 83 140 +29 84 47283 +29 85 133 +29 86 1010 +29 87 1243 +29 88 3456 +29 89 18481 +29 90 153 +29 91 5082 +29 92 259 +29 93 919 +29 94 6124 +29 95 1486 +29 96 1361 +29 97 531 +29 98 724 +29 99 2486 +29 100 441 +29 101 2382 +29 102 3209 +29 103 3092 +29 104 2868 +29 105 120 +29 106 2236 +29 107 239 +29 108 469 +29 109 325 +29 110 3919 +29 111 1604 +29 112 3056 +29 113 129 +29 114 2453 +29 115 2044 +29 116 1423 +29 117 11321 +29 118 4260 +29 119 5903 +29 120 10352 +29 121 1032 +29 122 2916 +29 123 447 +29 124 2456 +29 125 2485 +29 126 9156 +29 127 4186 +29 128 591 +29 129 777 +29 130 1385 +29 131 10330 +29 132 847 +29 133 92 +29 134 5283 +29 135 492 +29 136 508 +29 137 918 +29 138 232 +29 139 241 +29 140 10766 +29 141 3581 +29 142 1816 +29 143 203 +29 144 830 +29 145 591 +29 146 470 +29 147 181 +29 148 11092 +29 149 61976 +29 150 10542 +29 151 2382 +29 152 3577 +29 153 2333 +29 154 775 +29 155 5852 +29 156 10913 +29 157 5044 +29 158 3039 +29 159 1263 +29 160 21472 +29 161 483 +29 162 10002 +29 163 189 +29 164 3801 +29 165 661 +29 166 131 +29 167 3947 +29 168 12492 +29 169 2289 +29 170 16401 +29 171 8638 +29 172 2034 +29 173 3838 +29 174 195 +29 175 2675 +29 176 758 +29 177 8675 +29 178 3670 +29 179 74 +29 180 3340 +29 181 342 +29 182 2274 +29 183 2127 +29 184 3368 +29 185 4378 +29 186 2456 +29 187 288 +29 188 3059 +29 189 207 +29 190 1713 +29 191 287 +29 192 1108 +29 193 45 +29 194 1516 +29 195 901 +29 197 1783 +29 198 62101 +29 199 7699 +29 200 512 +29 201 4057 +29 202 4629 +29 203 900 +29 204 7544 +29 205 35 +29 206 1729 +29 207 633 +29 208 5736 +29 209 337 +29 210 13 +29 211 1632 +29 212 963 +29 213 4773 +29 214 3079 +29 215 59897 +29 216 3618 +29 217 212 +29 218 2291 +29 219 3822 +29 220 2725 +29 221 2627 +29 222 11620 +29 223 1243 +29 224 479 +29 225 7056 +29 226 2404 +29 227 774 +29 228 1316 +29 229 1458 +29 230 2991 +29 231 698 +29 232 7202 +29 233 1014 +29 234 5789 +29 235 1344 +29 236 2054 +29 237 357 +29 238 5858 +29 239 1016 +29 240 1096 +29 241 368 +29 242 4504 +29 243 1438 +29 244 1188 +29 245 3483 +29 246 4802 +29 247 2102 +29 248 2630 +29 249 1560 +29 250 2639 +29 251 534 +29 252 5192 +29 253 1261 +29 254 246 +29 255 2697 +30 0 1964 +30 1 77 +30 2 286 +30 3 4998 +30 4 2262 +30 5 179 +30 6 4264 +30 7 46 +30 8 219 +30 9 65 +30 10 1501 +30 11 2441 +30 12 17 +30 13 29901 +30 14 430 +30 15 1720 +30 16 3505 +30 17 305 +30 18 10438 +30 19 11956 +30 20 282 +30 21 362 +30 22 32 +30 23 541 +30 24 33297 +30 25 1194 +30 26 23 +30 27 631 +30 28 930 +30 29 103 +30 30 582 +30 31 6234 +30 32 6358 +30 33 2806 +30 34 7485 +30 35 1764 +30 36 556 +30 37 29552 +30 38 49862 +30 39 3727 +30 40 4101 +30 41 477 +30 42 39589 +30 43 1319 +30 44 1928 +30 45 2605 +30 46 24264 +30 47 13622 +30 48 758 +30 49 206 +30 50 3990 +30 51 549 +30 52 3192 +30 53 1639 +30 54 85 +30 55 4419 +30 56 28 +30 57 11011 +30 58 3 +30 59 4419 +30 60 11983 +30 61 3559 +30 62 6426 +30 63 3789 +30 64 2565 +30 65 206 +30 66 7281 +30 67 3673 +30 68 153 +30 69 4326 +30 70 4136 +30 71 2386 +30 72 4065 +30 73 6953 +30 74 2996 +30 75 1958 +30 76 12 +30 77 150 +30 78 101 +30 79 7515 +30 80 1075 +30 81 142 +30 82 59441 +30 83 1220 +30 84 1704 +30 85 7135 +30 86 274 +30 87 6590 +30 88 2408 +30 89 1523 +30 90 3765 +30 91 9827 +30 92 4233 +30 93 2088 +30 94 2090 +30 95 891 +30 96 137 +30 97 2783 +30 98 758 +30 99 4325 +30 100 606 +30 101 367 +30 102 803 +30 103 432 +30 104 26050 +30 105 7135 +30 106 403 +30 107 347 +30 108 13090 +30 109 239 +30 110 1044 +30 111 1704 +30 112 3704 +30 113 1982 +30 114 162 +30 115 2022 +30 116 17664 +30 117 17930 +30 118 1941 +30 119 2457 +30 120 2514 +30 121 2264 +30 122 4635 +30 123 1669 +30 124 633 +30 125 171 +30 126 786 +30 127 1852 +30 128 4496 +30 129 9723 +30 130 2898 +30 131 120 +30 132 1731 +30 133 2539 +30 134 1752 +30 135 2035 +30 136 578 +30 137 8342 +30 138 1405 +30 139 21678 +30 140 73 +30 141 12281 +30 142 370 +30 143 9291 +30 144 2062 +30 145 420 +30 146 334 +30 147 211 +30 148 6728 +30 149 138 +30 150 442 +30 151 4106 +30 152 491 +30 153 351 +30 154 221 +30 155 2122 +30 156 1627 +30 157 373 +30 158 1858 +30 159 2327 +30 160 2261 +30 161 1213 +30 162 3822 +30 163 4078 +30 164 597 +30 165 582 +30 166 10058 +30 167 611 +30 168 57 +30 169 1215 +30 170 4715 +30 171 6428 +30 172 9233 +30 173 371 +30 174 1591 +30 175 5087 +30 176 1135 +30 177 2882 +30 178 62 +30 179 2310 +30 180 6327 +30 181 5175 +30 182 22512 +30 183 13861 +30 184 2347 +30 185 43 +30 186 2134 +30 187 2113 +30 188 2296 +30 189 103 +30 190 984 +30 191 1635 +30 192 5042 +30 193 2465 +30 194 1811 +30 195 5440 +30 196 296 +30 197 2045 +30 198 25925 +30 199 6438 +30 200 89 +30 201 3086 +30 202 178 +30 203 3322 +30 204 1688 +30 205 979 +30 206 966 +30 207 7339 +30 208 8598 +30 209 54826 +30 210 148 +30 211 86 +30 212 16753 +30 213 2707 +30 214 2237 +30 215 1968 +30 216 805 +30 217 21086 +30 218 181 +30 219 6747 +30 220 623 +30 221 520 +30 222 19 +30 223 2395 +30 224 27 +30 225 5984 +30 226 3255 +30 227 492 +30 228 898 +30 229 5175 +30 230 2751 +30 231 4509 +30 232 2512 +30 233 2136 +30 234 18133 +30 235 1870 +30 236 5132 +30 237 3074 +30 238 337 +30 239 1443 +30 240 6608 +30 241 1170 +30 242 414 +30 243 50 +30 244 3620 +30 245 1661 +30 246 128 +30 247 239 +30 248 216 +30 249 27 +30 250 2238 +30 251 1839 +30 252 351 +30 253 4996 +30 254 1709 +30 255 202 +31 0 141 +31 1 15238 +31 2 8798 +31 3 3711 +31 4 915 +31 5 110 +31 6 364 +31 7 1220 +31 8 84 +31 9 623 +31 10 5549 +31 11 5934 +31 12 3366 +31 13 20 +31 14 1497 +31 15 5801 +31 16 1779 +31 17 1908 +31 18 83 +31 19 889 +31 20 3671 +31 21 30 +31 22 9982 +31 23 40926 +31 24 36995 +31 25 7521 +31 26 2893 +31 27 5382 +31 28 4296 +31 29 95 +31 30 722 +31 31 162 +31 32 663 +31 33 24418 +31 34 4408 +31 35 32543 +31 36 2342 +31 37 26712 +31 38 3420 +31 39 339 +31 40 363 +31 41 1347 +31 42 472 +31 43 6358 +31 44 962 +31 45 38 +31 46 579 +31 47 10538 +31 48 241 +31 49 7510 +31 50 2210 +31 51 1547 +31 52 3345 +31 53 9965 +31 54 4389 +31 55 31229 +31 56 777 +31 57 20795 +31 58 323 +31 59 9979 +31 60 8724 +31 61 8873 +31 62 71 +31 63 1990 +31 64 744 +31 65 117 +31 66 246 +31 67 4622 +31 68 80 +31 69 1239 +31 70 3216 +31 71 3363 +31 72 2771 +31 73 222 +31 74 10228 +31 75 1111 +31 76 375 +31 77 1675 +31 78 939 +31 79 16606 +31 80 9768 +31 81 1209 +31 82 3486 +31 83 3255 +31 84 824 +31 85 2765 +31 86 82 +31 87 4059 +31 88 5839 +31 89 6457 +31 90 36356 +31 91 1625 +31 92 1045 +31 93 301 +31 94 431 +31 95 983 +31 96 717 +31 97 6745 +31 98 5426 +31 99 22998 +31 100 3186 +31 101 87 +31 102 623 +31 103 109 +31 104 97 +31 105 4604 +31 106 188 +31 107 307 +31 108 2272 +31 109 683 +31 110 2708 +31 111 74 +31 112 526 +31 113 68 +31 114 743 +31 115 113 +31 116 1828 +31 117 817 +31 118 6827 +31 119 51 +31 120 1721 +31 121 2233 +31 122 1206 +31 123 526 +31 124 410 +31 125 103 +31 126 26 +31 128 120 +31 129 294 +31 130 3364 +31 131 174 +31 132 3130 +31 133 1411 +31 134 7488 +31 135 3023 +31 136 88 +31 137 6036 +31 138 2714 +31 139 5322 +31 140 160 +31 141 708 +31 142 3259 +31 143 12217 +31 144 1442 +31 145 23 +31 146 1797 +31 147 122 +31 148 5796 +31 149 2696 +31 150 1424 +31 151 2615 +31 152 153 +31 153 28012 +31 154 36173 +31 155 542 +31 156 1374 +31 157 6514 +31 158 10080 +31 159 320 +31 160 4530 +31 161 175 +31 162 8469 +31 163 1531 +31 164 160 +31 165 1240 +31 166 4072 +31 167 1924 +31 168 139 +31 169 5755 +31 170 52 +31 171 76 +31 172 1924 +31 173 6641 +31 174 1052 +31 175 66 +31 176 3444 +31 177 3357 +31 178 917 +31 179 376 +31 180 2259 +31 181 318 +31 182 697 +31 183 6303 +31 184 9840 +31 185 34 +31 186 1511 +31 187 84 +31 188 45843 +31 189 226 +31 190 3338 +31 191 5492 +31 192 215 +31 193 913 +31 194 1593 +31 195 216 +31 196 6403 +31 197 895 +31 198 145 +31 199 2302 +31 200 229 +31 201 1457 +31 202 3677 +31 203 866 +31 204 3901 +31 205 1416 +31 206 1896 +31 207 4802 +31 208 5489 +31 209 2639 +31 210 120 +31 211 2044 +31 212 1079 +31 213 264 +31 214 4056 +31 215 12608 +31 216 4200 +31 217 3202 +31 218 2451 +31 219 19644 +31 220 12840 +31 221 1807 +31 222 301 +31 223 291 +31 224 2339 +31 225 2788 +31 226 4045 +31 227 13152 +31 228 962 +31 229 3038 +31 230 295 +31 231 2896 +31 232 112 +31 233 2638 +31 234 4185 +31 235 487 +31 236 5975 +31 237 3181 +31 238 5041 +31 239 11462 +31 240 2051 +31 241 4294 +31 242 3772 +31 243 329 +31 244 4129 +31 245 4290 +31 246 2269 +31 247 49891 +31 248 918 +31 249 4199 +31 250 1075 +31 251 50 +31 252 480 +31 253 4179 +31 254 17195 +31 255 4962 +32 0 43 +32 1 851 +32 2 4078 +32 3 5745 +32 4 277 +32 5 5438 +32 6 133 +32 7 2323 +32 8 1114 +32 9 346 +32 10 1525 +32 11 683 +32 12 2958 +32 13 1612 +32 14 5106 +32 15 3303 +32 16 10202 +32 17 3620 +32 18 2166 +32 19 3298 +32 20 90 +32 21 647 +32 22 3628 +32 23 43 +32 24 375 +32 25 8940 +32 26 35145 +32 27 65259 +32 28 31021 +32 29 587 +32 30 222 +32 31 705 +32 32 28 +32 33 9463 +32 34 2253 +32 35 1737 +32 37 3406 +32 38 3905 +32 39 37 +32 40 62 +32 41 708 +32 42 3147 +32 43 33160 +32 44 118 +32 45 57 +32 46 8043 +32 47 6729 +32 48 2888 +32 49 1556 +32 50 1337 +32 51 777 +32 52 3325 +32 53 1650 +32 54 2952 +32 55 1039 +32 56 8148 +32 57 5505 +32 58 9822 +32 59 4228 +32 60 4788 +32 61 767 +32 62 759 +32 63 1912 +32 64 239 +32 65 217 +32 66 89005 +32 67 24 +32 68 389 +32 69 5073 +32 70 1976 +32 71 3952 +32 72 240 +32 73 300 +32 74 1081 +32 75 4255 +32 76 1276 +32 77 348 +32 78 40907 +32 79 15 +32 80 7406 +32 81 31 +32 82 1428 +32 83 7814 +32 84 4580 +32 85 16115 +32 86 3899 +32 87 12 +32 88 2196 +32 89 1415 +32 90 1486 +32 91 195 +32 92 23386 +32 93 2999 +32 94 132 +32 95 1209 +32 96 1055 +32 97 116 +32 98 2645 +32 99 3474 +32 100 12 +32 101 1546 +32 102 1182 +32 103 2204 +32 104 1689 +32 105 1265 +32 106 473 +32 107 160 +32 109 25735 +32 110 1703 +32 111 1458 +32 112 2561 +32 113 3023 +32 114 69 +32 115 73 +32 116 4158 +32 117 39322 +32 118 57 +32 119 1315 +32 120 20626 +32 121 2594 +32 122 135 +32 123 21499 +32 124 2903 +32 125 904 +32 126 23 +32 127 1802 +32 128 194 +32 129 7274 +32 130 401 +32 131 358 +32 132 19203 +32 133 161 +32 134 1151 +32 135 18 +32 136 1299 +32 137 3763 +32 138 403 +32 139 1579 +32 140 2208 +32 141 148 +32 142 3650 +32 143 4421 +32 144 42126 +32 145 422 +32 146 6435 +32 147 3367 +32 148 1118 +32 149 5753 +32 150 2545 +32 151 19844 +32 152 512 +32 153 245 +32 154 472 +32 155 47 +32 156 5357 +32 157 2792 +32 158 2865 +32 159 1372 +32 160 4870 +32 161 75 +32 162 2654 +32 163 424 +32 164 561 +32 165 171 +32 166 2470 +32 167 87 +32 168 3063 +32 169 99 +32 170 914 +32 171 126 +32 172 553 +32 173 7463 +32 174 8549 +32 175 1378 +32 176 265 +32 177 32 +32 178 2724 +32 179 4295 +32 180 20688 +32 181 1488 +32 182 285 +32 183 2131 +32 184 4956 +32 185 1112 +32 186 1338 +32 187 509 +32 188 99 +32 189 11 +32 190 114 +32 191 2748 +32 192 516 +32 193 135 +32 194 1442 +32 195 2915 +32 196 204 +32 197 4656 +32 198 672 +32 199 2668 +32 200 726 +32 201 614 +32 202 12952 +32 203 160 +32 205 13321 +32 206 2108 +32 207 23 +32 208 817 +32 209 18323 +32 210 2019 +32 211 1941 +32 212 145 +32 213 1249 +32 214 202 +32 215 92 +32 216 19191 +32 217 23 +32 218 62408 +32 219 81 +32 220 3066 +32 221 1880 +32 222 77 +32 223 1272 +32 224 4233 +32 225 115 +32 226 223 +32 227 124 +32 228 112 +32 229 984 +32 230 1576 +32 231 3499 +32 232 526 +32 233 13 +32 234 156 +32 235 10398 +32 236 3748 +32 237 12095 +32 238 3566 +32 239 28 +32 240 2828 +32 241 33 +32 242 74 +32 243 50 +32 244 456 +32 245 1554 +32 246 2603 +32 247 2507 +32 248 5412 +32 249 1759 +32 250 1027 +32 251 341 +32 252 2152 +32 253 153 +32 254 2012 +32 255 132 +33 0 5017 +33 1 84 +33 2 94 +33 3 45 +33 4 664 +33 5 5461 +33 6 2204 +33 7 32 +33 8 19736 +33 9 1410 +33 10 5100 +33 11 2592 +33 12 2627 +33 13 1483 +33 15 8249 +33 16 2251 +33 17 3121 +33 18 3913 +33 19 12367 +33 20 25 +33 21 995 +33 22 356 +33 23 4478 +33 24 655 +33 25 188 +33 26 527 +33 27 24563 +33 28 1253 +33 29 2504 +33 30 537 +33 31 185 +33 32 2709 +33 33 3730 +33 34 66 +33 35 1198 +33 36 4972 +33 37 3406 +33 38 34 +33 39 1891 +33 40 544 +33 41 4390 +33 42 75 +33 43 1085 +33 44 14292 +33 45 4 +33 46 506 +33 47 20347 +33 48 161 +33 49 1981 +33 50 1297 +33 51 1737 +33 52 2925 +33 53 2685 +33 54 14177 +33 55 247 +33 56 4862 +33 57 97 +33 58 1465 +33 59 4416 +33 60 688 +33 61 12437 +33 62 851 +33 63 2912 +33 64 10810 +33 65 18 +33 66 15 +33 67 2583 +33 68 29316 +33 69 60 +33 70 836 +33 71 621 +33 72 754 +33 73 1665 +33 74 3766 +33 75 6390 +33 76 180 +33 77 10673 +33 78 328 +33 79 118 +33 80 15 +33 81 12658 +33 82 12543 +33 83 1318 +33 84 8727 +33 85 114 +33 86 975 +33 87 656 +33 88 728 +33 89 3641 +33 90 5276 +33 91 99 +33 92 3131 +33 93 1067 +33 94 3851 +33 95 5007 +33 96 3991 +33 97 3767 +33 98 2748 +33 99 3209 +33 100 24 +33 101 395 +33 102 24162 +33 103 4863 +33 104 3678 +33 105 1562 +33 106 126 +33 107 2513 +33 108 47008 +33 109 135 +33 110 232 +33 111 7215 +33 112 156 +33 113 3396 +33 114 312 +33 115 11634 +33 116 465 +33 117 4174 +33 118 379 +33 119 202 +33 120 99 +33 121 1931 +33 122 77 +33 123 90 +33 124 67 +33 125 15647 +33 126 3857 +33 127 25503 +33 128 4227 +33 129 2321 +33 130 6812 +33 131 610 +33 132 2937 +33 133 8465 +33 134 4390 +33 135 3242 +33 136 1317 +33 137 52864 +33 138 1067 +33 139 8922 +33 140 3099 +33 141 51 +33 142 765 +33 143 1769 +33 144 1829 +33 145 361 +33 146 3097 +33 147 2776 +33 148 19 +33 149 653 +33 150 180 +33 151 1768 +33 152 12314 +33 153 277 +33 154 4491 +33 155 5210 +33 156 4025 +33 157 4120 +33 158 2321 +33 159 48 +33 160 644 +33 161 7969 +33 162 5330 +33 164 1201 +33 165 7692 +33 166 2835 +33 167 8889 +33 168 1496 +33 169 72 +33 170 2539 +33 171 473 +33 172 3267 +33 173 886 +33 174 155 +33 175 259 +33 176 7942 +33 177 4064 +33 178 1067 +33 179 2662 +33 180 787 +33 181 14249 +33 182 4991 +33 183 996 +33 184 3679 +33 185 38072 +33 186 7970 +33 187 1915 +33 188 2052 +33 189 10502 +33 190 3846 +33 191 2615 +33 192 7898 +33 193 2128 +33 194 505 +33 195 2160 +33 196 16 +33 197 16428 +33 198 9895 +33 199 42 +33 200 8186 +33 201 2779 +33 202 18698 +33 203 9607 +33 204 12 +33 205 856 +33 206 5362 +33 207 2933 +33 208 754 +33 209 7241 +33 210 2128 +33 211 3552 +33 212 6 +33 213 1571 +33 214 3620 +33 215 34 +33 216 12 +33 217 3285 +33 218 722 +33 219 546 +33 220 3799 +33 221 35 +33 222 722 +33 223 784 +33 224 1746 +33 225 9485 +33 226 146 +33 227 6914 +33 228 1023 +33 229 5952 +33 230 711 +33 231 876 +33 232 2599 +33 233 841 +33 234 4241 +33 235 65743 +33 236 1326 +33 237 5070 +33 238 1322 +33 239 9268 +33 240 11322 +33 241 2230 +33 242 433 +33 243 17 +33 244 1032 +33 245 82 +33 246 55 +33 247 8749 +33 248 220 +33 249 331 +33 250 33105 +33 251 1739 +33 252 5114 +33 253 1873 +33 254 2595 +33 255 6914 +34 0 359 +34 1 1929 +34 2 48 +34 3 76 +34 4 5348 +34 5 3575 +34 6 1626 +34 7 249 +34 8 954 +34 9 656 +34 10 3115 +34 11 3770 +34 12 3692 +34 13 3837 +34 14 897 +34 15 5622 +34 16 8805 +34 17 1317 +34 18 5019 +34 19 1745 +34 20 963 +34 21 1297 +34 22 4449 +34 23 2476 +34 24 1453 +34 25 175 +34 26 2610 +34 27 328 +34 28 1693 +34 29 178 +34 30 43 +34 31 1139 +34 32 5100 +34 33 3933 +34 34 2180 +34 35 3 +34 36 7540 +34 37 6616 +34 38 1242 +34 39 8 +34 40 3176 +34 41 77 +34 42 3929 +34 43 1034 +34 44 5637 +34 45 1364 +34 46 4956 +34 47 3615 +34 48 38135 +34 49 3474 +34 50 54 +34 51 1420 +34 52 692 +34 53 487 +34 54 3211 +34 55 1656 +34 56 1807 +34 57 8154 +34 58 4536 +34 59 945 +34 61 583 +34 62 1305 +34 63 4254 +34 64 2281 +34 65 405 +34 66 18 +34 67 1360 +34 68 578 +34 69 9798 +34 70 725 +34 71 85 +34 72 3971 +34 73 3497 +34 74 700 +34 75 40 +34 76 2119 +34 77 269 +34 78 1747 +34 79 42 +34 80 5267 +34 81 1391 +34 82 2612 +34 83 4366 +34 84 1790 +34 85 1523 +34 86 230 +34 87 1640 +34 88 2170 +34 89 49 +34 90 4529 +34 91 7381 +34 92 1167 +34 93 4437 +34 94 4320 +34 95 1708 +34 96 1223 +34 97 4349 +34 98 1013 +34 99 4249 +34 100 23 +34 101 1433 +34 102 368 +34 103 28398 +34 104 351 +34 105 2853 +34 106 20 +34 107 587 +34 108 83220 +34 109 20347 +34 110 2901 +34 111 15 +34 112 1515 +34 113 1017 +34 114 3960 +34 115 257 +34 116 3576 +34 117 97 +34 118 103 +34 119 6 +34 120 1541 +34 121 17357 +34 122 1584 +34 123 1541 +34 124 14 +34 125 317 +34 126 857 +34 127 527 +34 128 12602 +34 129 3996 +34 130 2596 +34 131 7833 +34 132 1425 +34 133 3327 +34 134 503 +34 135 7 +34 136 2010 +34 137 7832 +34 138 1448 +34 140 2189 +34 141 4266 +34 142 2026 +34 143 6918 +34 144 190 +34 145 2 +34 146 24209 +34 148 12 +34 149 874 +34 150 2643 +34 151 625 +34 152 3228 +34 153 1080 +34 154 115 +34 155 297 +34 156 4 +34 157 64 +34 158 6221 +34 159 891 +34 160 831 +34 161 4637 +34 162 2012 +34 163 52736 +34 164 9890 +34 165 5360 +34 166 58051 +34 167 158 +34 168 3207 +34 169 2179 +34 170 189 +34 171 45 +34 172 668 +34 173 799 +34 174 8 +34 175 3758 +34 176 17748 +34 177 4380 +34 178 157 +34 179 1043 +34 180 1515 +34 181 22013 +34 182 5759 +34 183 10629 +34 184 740 +34 185 10686 +34 186 2022 +34 187 4464 +34 188 1789 +34 189 46 +34 190 2474 +34 191 26040 +34 192 3448 +34 193 13 +34 194 1265 +34 195 5045 +34 196 2143 +34 197 8185 +34 198 203 +34 199 299 +34 200 103 +34 201 900 +34 202 81543 +34 203 2713 +34 204 19651 +34 205 3661 +34 206 8218 +34 207 1455 +34 208 1917 +34 209 1092 +34 210 1158 +34 211 168 +34 212 4160 +34 213 1400 +34 214 308 +34 215 1075 +34 216 4556 +34 217 3604 +34 218 175 +34 219 3265 +34 220 535 +34 221 15 +34 222 84949 +34 223 2329 +34 224 2172 +34 225 4832 +34 226 3248 +34 227 3286 +34 228 1634 +34 229 1001 +34 230 258 +34 231 1164 +34 232 5220 +34 233 4583 +34 234 1966 +34 235 1341 +34 236 90 +34 237 3 +34 238 4868 +34 239 259 +34 240 5042 +34 241 5901 +34 242 64 +34 243 821 +34 244 62 +34 245 631 +34 246 6826 +34 247 1741 +34 248 364 +34 249 10359 +34 250 625 +34 251 843 +34 252 2905 +34 253 3207 +34 254 384 +34 255 4195 +35 0 9422 +35 1 1720 +35 2 3172 +35 3 1074 +35 4 71 +35 5 3409 +35 6 104 +35 7 3363 +35 8 5076 +35 9 19404 +35 10 829 +35 11 33246 +35 12 690 +35 13 2539 +35 14 5607 +35 15 1770 +35 16 1138 +35 17 1642 +35 18 1406 +35 19 442 +35 20 179 +35 21 3063 +35 22 1018 +35 23 109 +35 24 6152 +35 25 19 +35 26 9 +35 27 513 +35 28 22 +35 29 3858 +35 30 2081 +35 31 1307 +35 32 21 +35 33 5139 +35 34 67050 +35 35 7629 +35 36 2143 +35 37 198 +35 38 8232 +35 39 1736 +35 40 6130 +35 41 2952 +35 42 2127 +35 43 2110 +35 44 12525 +35 45 3 +35 46 50067 +35 47 1217 +35 48 962 +35 49 4459 +35 50 7 +35 51 2029 +35 52 3901 +35 53 1284 +35 54 2447 +35 55 1078 +35 56 142 +35 57 1793 +35 58 50256 +35 59 1792 +35 60 52 +35 61 467 +35 62 12041 +35 63 4478 +35 64 1991 +35 65 8771 +35 66 8193 +35 67 1581 +35 68 1140 +35 69 12463 +35 71 1733 +35 72 3402 +35 73 2562 +35 74 1072 +35 75 2450 +35 76 649 +35 77 11358 +35 78 9115 +35 79 5223 +35 80 320 +35 81 601 +35 82 28 +35 83 514 +35 84 2504 +35 85 3201 +35 86 2785 +35 87 11092 +35 88 6 +35 89 30390 +35 90 8606 +35 91 564 +35 92 877 +35 93 812 +35 94 2984 +35 95 8153 +35 96 13335 +35 97 24147 +35 98 332 +35 99 1773 +35 100 15841 +35 101 11500 +35 102 4828 +35 103 18945 +35 104 6262 +35 105 371 +35 106 3414 +35 107 1344 +35 108 356 +35 109 6 +35 110 165 +35 111 5076 +35 112 1567 +35 113 9 +35 114 8068 +35 115 640 +35 116 5574 +35 117 30804 +35 118 127 +35 119 2061 +35 120 8514 +35 121 13799 +35 122 594 +35 123 10905 +35 124 368 +35 125 20 +35 126 133 +35 127 353 +35 128 7326 +35 129 1359 +35 130 606 +35 131 6662 +35 132 1818 +35 133 2001 +35 134 3266 +35 135 714 +35 136 7615 +35 137 4691 +35 138 3088 +35 139 512 +35 140 4145 +35 141 1972 +35 142 7320 +35 143 292 +35 144 95 +35 145 731 +35 146 2964 +35 147 253 +35 148 4822 +35 149 7884 +35 150 3 +35 151 403 +35 152 2408 +35 153 1652 +35 154 2470 +35 155 1868 +35 156 3288 +35 157 1120 +35 158 53 +35 159 99 +35 160 372 +35 161 59 +35 162 1589 +35 163 617 +35 164 576 +35 165 12321 +35 166 76 +35 167 14471 +35 168 197 +35 169 248 +35 170 2555 +35 171 669 +35 172 129 +35 173 3046 +35 174 8718 +35 175 40 +35 176 9079 +35 177 9 +35 178 323 +35 179 49 +35 180 5185 +35 181 4638 +35 182 677 +35 183 805 +35 184 328 +35 185 9674 +35 186 3584 +35 187 950 +35 188 3 +35 189 18293 +35 190 4670 +35 191 6056 +35 192 2504 +35 193 245 +35 194 2043 +35 195 2449 +35 196 2997 +35 197 11116 +35 198 2742 +35 199 1415 +35 200 79 +35 201 771 +35 202 7783 +35 203 14538 +35 204 525 +35 205 6 +35 206 621 +35 207 279 +35 208 1533 +35 209 11997 +35 210 3059 +35 211 123 +35 212 2194 +35 213 3927 +35 214 1931 +35 215 3384 +35 216 6 +35 217 17972 +35 218 1861 +35 219 24 +35 220 35 +35 221 1414 +35 222 3338 +35 223 420 +35 224 3340 +35 225 25231 +35 226 73 +35 227 6 +35 228 2178 +35 229 396 +35 230 594 +35 231 2607 +35 232 4497 +35 233 1292 +35 234 360 +35 235 7371 +35 236 174 +35 237 13 +35 238 11 +35 239 229 +35 240 2547 +35 241 1433 +35 242 7215 +35 243 46 +35 244 1752 +35 245 2276 +35 246 19 +35 247 809 +35 248 1767 +35 249 62 +35 250 213 +35 251 1106 +35 252 2002 +35 253 20981 +35 254 21290 +35 255 17293 +36 0 3269 +36 1 1545 +36 2 4613 +36 3 1749 +36 4 164 +36 5 5027 +36 6 5 +36 7 11487 +36 8 1645 +36 9 1285 +36 10 20625 +36 11 165 +36 12 21967 +36 13 3819 +36 14 1025 +36 15 153 +36 16 1119 +36 17 1615 +36 18 4139 +36 19 2474 +36 20 1349 +36 21 5170 +36 22 3149 +36 23 257 +36 24 3270 +36 25 41383 +36 26 10530 +36 27 1230 +36 28 24306 +36 29 18560 +36 30 230 +36 31 2589 +36 32 18312 +36 33 7 +36 34 2893 +36 35 97 +36 36 8364 +36 37 12139 +36 38 13 +36 39 6231 +36 40 572 +36 41 27 +36 42 38684 +36 43 355 +36 44 7165 +36 45 1907 +36 46 9 +36 47 3793 +36 48 3476 +36 49 1848 +36 50 5490 +36 51 6692 +36 52 203 +36 53 270 +36 54 482 +36 55 2039 +36 56 3525 +36 57 2270 +36 58 62 +36 59 1148 +36 60 7610 +36 61 3672 +36 62 1641 +36 63 664 +36 64 4136 +36 65 5107 +36 66 31386 +36 67 2728 +36 68 16 +36 69 7546 +36 70 1192 +36 71 6 +36 72 38 +36 73 63271 +36 74 15316 +36 75 38291 +36 76 3720 +36 77 3585 +36 78 8272 +36 79 20973 +36 80 3242 +36 81 3501 +36 82 566 +36 83 1832 +36 84 1090 +36 85 4089 +36 86 128 +36 87 8289 +36 88 3531 +36 89 407 +36 90 3 +36 92 6125 +36 93 6422 +36 94 945 +36 95 66 +36 96 136 +36 97 788 +36 98 1042 +36 99 1013 +36 100 55 +36 101 3020 +36 102 1568 +36 103 9529 +36 104 289 +36 105 2482 +36 106 6304 +36 107 7140 +36 108 17 +36 109 7449 +36 110 7370 +36 111 174 +36 112 3377 +36 113 1859 +36 114 29 +36 115 2148 +36 116 972 +36 117 1419 +36 118 12253 +36 119 1058 +36 120 1579 +36 121 130 +36 122 4730 +36 123 101 +36 124 4322 +36 125 5519 +36 126 7902 +36 127 3174 +36 128 376 +36 129 2027 +36 130 906 +36 131 528 +36 132 33 +36 133 893 +36 134 12419 +36 135 5374 +36 136 65091 +36 137 1368 +36 138 2970 +36 139 1523 +36 140 650 +36 141 36165 +36 142 3596 +36 143 4005 +36 144 2292 +36 145 4245 +36 146 116 +36 147 3897 +36 148 4505 +36 149 720 +36 150 58 +36 151 2191 +36 152 1878 +36 153 1167 +36 154 2914 +36 155 383 +36 156 81 +36 157 422 +36 158 32018 +36 159 10450 +36 160 1270 +36 161 4193 +36 162 39 +36 163 1786 +36 164 186 +36 165 9529 +36 166 15816 +36 167 7872 +36 168 2364 +36 169 3802 +36 170 101 +36 171 2777 +36 172 1701 +36 173 406 +36 174 146 +36 175 30 +36 176 744 +36 177 2216 +36 178 1450 +36 179 3 +36 180 23 +36 181 1232 +36 182 11 +36 183 14 +36 184 9 +36 185 3145 +36 186 4001 +36 187 549 +36 188 3265 +36 189 81 +36 190 278 +36 191 9121 +36 192 1313 +36 193 127 +36 194 2217 +36 195 2998 +36 196 1783 +36 198 505 +36 199 1580 +36 201 9046 +36 202 303 +36 203 3997 +36 204 251 +36 205 9026 +36 206 4912 +36 207 3799 +36 208 398 +36 209 12 +36 210 330 +36 211 876 +36 212 1311 +36 213 51 +36 214 2891 +36 215 87 +36 216 578 +36 217 1521 +36 218 10550 +36 219 1273 +36 220 2043 +36 221 909 +36 222 440 +36 223 6466 +36 224 4682 +36 225 1114 +36 226 10720 +36 227 4655 +36 228 6281 +36 229 4818 +36 230 3373 +36 231 4831 +36 232 2302 +36 233 1523 +36 234 3120 +36 235 1521 +36 237 830 +36 238 2975 +36 239 1139 +36 240 2573 +36 241 2301 +36 242 529 +36 244 3925 +36 245 1675 +36 246 2560 +36 247 181 +36 248 1752 +36 249 89 +36 250 7611 +36 251 4254 +36 252 1494 +36 253 3371 +36 254 2436 +36 255 3323 +37 0 16 +37 1 136 +37 2 4111 +37 3 75131 +37 4 675 +37 5 402 +37 6 1839 +37 7 112 +37 8 12234 +37 9 23 +37 10 27 +37 11 8175 +37 12 115 +37 13 2293 +37 14 2143 +37 15 1870 +37 16 2643 +37 17 2860 +37 18 36 +37 19 4098 +37 20 455 +37 21 2261 +37 22 5418 +37 23 1215 +37 24 2325 +37 25 6762 +37 26 56 +37 27 3518 +37 28 1361 +37 29 126 +37 30 886 +37 31 904 +37 32 12184 +37 33 105 +37 34 62525 +37 35 1405 +37 36 1830 +37 37 1569 +37 38 800 +37 39 1092 +37 40 72 +37 42 447 +37 43 3399 +37 44 61 +37 45 109 +37 46 69 +37 47 3 +37 48 1325 +37 49 848 +37 50 4073 +37 51 837 +37 52 249 +37 53 840 +37 54 1032 +37 55 41648 +37 56 3129 +37 57 429 +37 58 823 +37 59 405 +37 60 1709 +37 61 6839 +37 62 1453 +37 63 2834 +37 64 24539 +37 65 2027 +37 66 1911 +37 67 1382 +37 68 918 +37 69 44643 +37 70 124 +37 71 3111 +37 72 2155 +37 73 2196 +37 74 1699 +37 75 265 +37 76 2361 +37 77 167 +37 78 3729 +37 79 27 +37 80 930 +37 81 8177 +37 82 88 +37 83 305 +37 84 1471 +37 85 1825 +37 86 1765 +37 87 51434 +37 88 839 +37 89 5856 +37 90 1366 +37 91 817 +37 92 2415 +37 93 984 +37 94 303 +37 95 5452 +37 96 1804 +37 97 4399 +37 98 243 +37 99 3024 +37 100 3585 +37 101 66853 +37 102 17875 +37 103 26529 +37 104 3787 +37 105 621 +37 106 575 +37 107 3666 +37 108 1521 +37 109 81437 +37 110 3215 +37 111 2774 +37 112 15 +37 113 4867 +37 114 3425 +37 115 176 +37 116 672 +37 117 7941 +37 118 791 +37 119 1547 +37 120 724 +37 121 122 +37 122 493 +37 123 726 +37 124 9358 +37 125 988 +37 126 2610 +37 127 1475 +37 128 129 +37 129 98 +37 130 1173 +37 131 90 +37 132 9199 +37 133 1026 +37 134 18504 +37 135 2227 +37 136 17 +37 137 2110 +37 138 604 +37 139 32 +37 140 6 +37 141 461 +37 142 5 +37 143 603 +37 144 1842 +37 145 2377 +37 146 168 +37 147 1190 +37 148 187 +37 149 1368 +37 150 424 +37 151 7759 +37 152 4837 +37 153 58 +37 154 3 +37 155 19 +37 156 5864 +37 157 50 +37 158 4046 +37 159 416 +37 160 6003 +37 161 2581 +37 162 3276 +37 163 726 +37 164 3384 +37 165 61354 +37 166 754 +37 167 3 +37 168 40 +37 169 6278 +37 170 422 +37 171 115 +37 172 1286 +37 173 200 +37 174 351 +37 175 6474 +37 176 1892 +37 177 267 +37 178 439 +37 179 873 +37 180 2192 +37 181 6953 +37 182 1750 +37 183 444 +37 184 637 +37 185 981 +37 186 1585 +37 187 518 +37 188 15 +37 189 100 +37 190 2034 +37 191 21 +37 192 6586 +37 193 2701 +37 194 1989 +37 195 628 +37 196 9941 +37 197 17 +37 198 1736 +37 199 5495 +37 200 1505 +37 201 3025 +37 202 1506 +37 203 14 +37 204 6537 +37 205 5189 +37 206 847 +37 207 3427 +37 208 8903 +37 209 405 +37 210 1511 +37 211 2699 +37 212 877 +37 213 467 +37 214 6320 +37 215 1204 +37 216 6 +37 217 467 +37 218 12721 +37 219 695 +37 220 3215 +37 221 138 +37 222 60 +37 223 3 +37 224 163 +37 225 94 +37 226 1154 +37 227 524 +37 228 174 +37 229 3198 +37 230 113 +37 231 167 +37 232 1115 +37 233 61228 +37 234 1335 +37 235 64 +37 236 22 +37 237 1751 +37 238 6346 +37 239 3441 +37 240 12538 +37 241 156 +37 242 3271 +37 243 1338 +37 244 5931 +37 245 2962 +37 246 275 +37 247 1408 +37 248 9896 +37 249 9 +37 250 3288 +37 251 37 +37 252 706 +37 253 149 +37 254 148 +37 255 7149 +38 0 2383 +38 1 18 +38 2 42 +38 3 1083 +38 4 297 +38 5 1757 +38 6 224 +38 7 9010 +38 8 4670 +38 9 2143 +38 10 571 +38 11 1205 +38 12 2538 +38 13 5601 +38 14 22084 +38 15 40655 +38 16 469 +38 17 4794 +38 18 6911 +38 19 1 +38 20 11406 +38 21 1439 +38 22 2487 +38 23 1156 +38 24 2699 +38 25 3011 +38 26 14 +38 27 2531 +38 28 3735 +38 29 32 +38 30 2271 +38 31 3443 +38 32 316 +38 33 15 +38 34 251 +38 35 6809 +38 36 1240 +38 37 2465 +38 38 17 +38 39 2342 +38 40 285 +38 41 7429 +38 42 1180 +38 43 7037 +38 44 110 +38 45 1916 +38 46 1865 +38 47 18 +38 48 5609 +38 49 708 +38 50 3750 +38 51 8 +38 52 9833 +38 53 55 +38 54 996 +38 55 1240 +38 56 35 +38 57 319 +38 58 536 +38 59 2982 +38 60 403 +38 61 6064 +38 62 584 +38 63 5469 +38 64 931 +38 65 1674 +38 66 14 +38 67 1697 +38 68 278 +38 69 9658 +38 70 206 +38 71 2701 +38 72 2490 +38 73 3073 +38 74 353 +38 75 25924 +38 76 39 +38 77 1257 +38 78 2866 +38 79 3254 +38 80 1784 +38 81 404 +38 82 1179 +38 83 416 +38 84 765 +38 85 53 +38 86 1112 +38 87 8966 +38 88 6946 +38 89 90 +38 90 715 +38 91 3398 +38 92 1016 +38 93 1132 +38 94 10778 +38 95 433 +38 96 1817 +38 97 531 +38 98 1872 +38 99 330 +38 100 36 +38 101 767 +38 102 5234 +38 103 8104 +38 104 2257 +38 105 2229 +38 106 582 +38 107 124 +38 108 412 +38 109 132 +38 110 191 +38 111 1638 +38 112 2335 +38 113 133 +38 114 46410 +38 115 3761 +38 116 19 +38 117 9198 +38 118 7741 +38 119 801 +38 120 2348 +38 121 4145 +38 122 4745 +38 123 2853 +38 124 2694 +38 125 286 +38 126 135 +38 127 12104 +38 128 1771 +38 129 25 +38 130 9 +38 131 635 +38 132 14095 +38 133 536 +38 134 21373 +38 135 4698 +38 136 3755 +38 137 336 +38 138 520 +38 139 1565 +38 140 834 +38 141 6524 +38 142 1560 +38 143 9232 +38 144 3539 +38 145 462 +38 146 3958 +38 147 809 +38 148 1181 +38 149 2244 +38 150 1755 +38 151 1605 +38 153 125 +38 154 15293 +38 155 6 +38 156 6847 +38 157 59245 +38 158 2570 +38 159 6015 +38 160 269 +38 161 319 +38 162 46808 +38 163 3233 +38 164 233 +38 165 356 +38 166 1403 +38 167 601 +38 168 4211 +38 169 3119 +38 170 839 +38 171 53 +38 172 5 +38 173 58184 +38 174 449 +38 175 700 +38 176 9861 +38 177 3086 +38 178 218 +38 179 204 +38 180 5622 +38 181 50 +38 182 3478 +38 183 6 +38 184 4493 +38 185 3681 +38 186 521 +38 187 458 +38 188 5403 +38 189 2509 +38 190 1036 +38 191 6869 +38 192 2048 +38 193 4072 +38 194 13 +38 195 5146 +38 196 2940 +38 197 2653 +38 198 4815 +38 199 87 +38 200 1524 +38 201 3141 +38 202 6159 +38 203 78 +38 204 9773 +38 205 6073 +38 206 1996 +38 207 1281 +38 208 45 +38 209 131585 +38 210 1905 +38 211 80 +38 212 7673 +38 213 260 +38 214 10 +38 215 4013 +38 216 416 +38 217 1003 +38 218 1430 +38 219 179 +38 220 1758 +38 221 51 +38 222 955 +38 223 9980 +38 224 87 +38 225 3 +38 226 7 +38 227 369 +38 228 106 +38 229 7 +38 230 44 +38 231 94 +38 232 1333 +38 233 13135 +38 234 2801 +38 235 838 +38 236 4188 +38 237 2249 +38 238 102 +38 239 1030 +38 240 78 +38 241 708 +38 242 29277 +38 243 3529 +38 244 56146 +38 245 1596 +38 246 17 +38 247 413 +38 248 3949 +38 249 1871 +38 250 246 +38 251 6757 +38 252 4821 +38 253 103 +38 254 8719 +38 255 16 +39 0 9 +39 1 3328 +39 2 1511 +39 3 70 +39 4 4 +39 5 4944 +39 6 439 +39 7 336 +39 8 3914 +39 9 2777 +39 10 4540 +39 11 597 +39 12 2444 +39 13 4873 +39 14 55007 +39 15 929 +39 16 4654 +39 17 649 +39 18 12018 +39 19 541 +39 20 1497 +39 21 4913 +39 22 8025 +39 23 5805 +39 24 4087 +39 25 585 +39 26 82 +39 27 1527 +39 28 40 +39 29 8611 +39 30 28798 +39 31 3490 +39 32 2817 +39 33 393 +39 34 9562 +39 35 2553 +39 36 3205 +39 37 1862 +39 38 1775 +39 39 7714 +39 40 4771 +39 41 135 +39 42 5581 +39 43 134 +39 44 3511 +39 45 1950 +39 46 3417 +39 47 819 +39 48 1246 +39 49 1 +39 50 3916 +39 51 3 +39 52 12326 +39 53 427 +39 54 21 +39 55 10195 +39 56 1619 +39 57 998 +39 58 10169 +39 59 77 +39 60 771 +39 61 58600 +39 62 15465 +39 63 4256 +39 64 98 +39 65 49 +39 66 7323 +39 67 660 +39 68 655 +39 69 2558 +39 70 12281 +39 71 30 +39 72 3126 +39 73 6365 +39 74 8383 +39 75 2686 +39 76 1263 +39 77 7012 +39 78 3677 +39 79 116 +39 80 882 +39 81 1297 +39 82 14 +39 83 5664 +39 84 1481 +39 85 3634 +39 86 1336 +39 87 5413 +39 88 921 +39 89 59502 +39 90 6269 +39 91 1802 +39 92 3098 +39 93 1170 +39 94 15 +39 95 6270 +39 96 4115 +39 97 2875 +39 98 37218 +39 99 2949 +39 100 1825 +39 101 2444 +39 102 12 +39 103 3545 +39 104 586 +39 105 1126 +39 106 1161 +39 107 1287 +39 108 1318 +39 109 906 +39 110 4429 +39 112 9206 +39 113 4203 +39 114 199 +39 115 344 +39 116 5407 +39 117 6531 +39 118 5091 +39 119 10 +39 120 6439 +39 121 27 +39 122 482 +39 123 3561 +39 124 44 +39 125 124 +39 126 44 +39 127 2529 +39 128 1751 +39 129 47115 +39 130 1173 +39 131 335 +39 132 4693 +39 133 1340 +39 134 2012 +39 135 39 +39 136 1105 +39 137 1669 +39 138 4535 +39 139 2831 +39 140 367 +39 141 9229 +39 142 2481 +39 143 30 +39 144 634 +39 145 3105 +39 146 885 +39 147 3948 +39 148 1873 +39 149 3615 +39 150 558 +39 151 332 +39 152 454 +39 153 155 +39 154 23233 +39 155 3582 +39 156 257 +39 157 785 +39 158 4226 +39 159 1698 +39 160 242 +39 161 2016 +39 162 6033 +39 163 5431 +39 164 1850 +39 165 560 +39 166 2805 +39 167 515 +39 168 659 +39 169 2691 +39 170 1808 +39 171 860 +39 172 721 +39 173 7542 +39 174 1754 +39 175 1423 +39 176 3727 +39 177 4168 +39 178 1788 +39 179 489 +39 180 442 +39 181 32392 +39 182 612 +39 183 2249 +39 184 874 +39 185 63 +39 186 1800 +39 187 577 +39 188 301 +39 189 888 +39 190 4817 +39 191 1485 +39 192 887 +39 193 1348 +39 194 338 +39 195 1182 +39 196 409 +39 197 4153 +39 198 1601 +39 199 49 +39 200 5981 +39 201 2022 +39 202 1060 +39 203 288 +39 204 6480 +39 205 271 +39 206 760 +39 207 49 +39 208 2225 +39 209 5083 +39 210 1734 +39 211 2472 +39 212 45 +39 213 1355 +39 214 19 +39 215 3944 +39 216 70 +39 217 281 +39 218 1396 +39 219 8923 +39 220 57573 +39 221 2418 +39 222 2113 +39 223 4734 +39 224 4137 +39 225 931 +39 226 1565 +39 227 3406 +39 228 3646 +39 229 2218 +39 230 27353 +39 231 3464 +39 232 9 +39 233 741 +39 234 1399 +39 235 21919 +39 236 566 +39 237 973 +39 238 1208 +39 239 11632 +39 240 8883 +39 241 2985 +39 242 1338 +39 243 4512 +39 244 2136 +39 245 1063 +39 246 3039 +39 247 3752 +39 248 1708 +39 249 894 +39 250 3090 +39 251 2719 +39 252 50304 +39 253 5279 +39 254 2751 +39 255 2382 +40 0 19 +40 1 297 +40 2 347 +40 3 1011 +40 4 303 +40 6 125 +40 7 24 +40 8 252 +40 9 87 +40 10 269 +40 11 319 +40 12 1509 +40 13 75 +40 15 18 +40 16 477 +40 17 1 +40 18 427 +40 19 138 +40 20 68 +40 21 157 +40 22 11 +40 23 259 +40 24 983 +40 25 22 +40 26 85 +40 27 2 +40 28 999 +40 29 393 +40 30 198 +40 31 242 +40 32 101 +40 33 35 +40 34 229 +40 35 5 +40 36 606 +40 38 4 +40 40 1 +40 41 191 +40 42 71 +40 43 11 +40 44 84 +40 45 26 +40 46 192 +40 47 295 +40 48 71 +40 49 65 +40 50 25 +40 52 710 +40 53 17 +40 58 14 +40 59 434 +40 60 191 +40 61 133 +40 63 21 +40 64 281 +40 65 309 +40 66 413 +40 67 93 +40 68 120 +40 69 3 +40 70 1 +40 72 41 +40 73 99 +40 74 28 +40 75 197 +40 77 177 +40 78 642 +40 79 96 +40 80 57 +40 81 304 +40 82 267 +40 83 209 +40 85 27 +40 87 49 +40 88 7 +40 91 491 +40 92 68 +40 93 66 +40 94 60 +40 96 90 +40 97 8 +40 98 108 +40 99 367 +40 100 304 +40 101 14 +40 102 83 +40 103 25 +40 104 44 +40 105 1 +40 106 176 +40 107 199 +40 108 51 +40 109 35 +40 110 1285 +40 111 233 +40 112 55 +40 113 181 +40 114 1 +40 116 449 +40 117 78 +40 118 145 +40 119 76 +40 120 148 +40 122 93 +40 124 39 +40 125 3019 +40 126 95 +40 127 235 +40 128 1513 +40 129 120 +40 131 25 +40 132 912 +40 134 267 +40 135 69 +40 136 171 +40 137 229 +40 138 22 +40 139 76 +40 141 15 +40 142 1 +40 143 1 +40 144 96 +40 145 108 +40 146 86 +40 147 33 +40 148 19 +40 149 31 +40 150 30 +40 151 625 +40 152 129 +40 153 46 +40 154 2031 +40 155 1119 +40 156 4 +40 157 300 +40 158 60 +40 159 48 +40 160 129 +40 161 99 +40 162 110 +40 163 209 +40 164 8 +40 165 114 +40 167 175 +40 168 218 +40 169 54 +40 170 684 +40 171 1 +40 172 40 +40 173 178 +40 174 4 +40 175 75 +40 176 276 +40 177 108 +40 178 46 +40 179 363 +40 181 5 +40 182 397 +40 183 292 +40 184 1 +40 185 24 +40 186 1 +40 187 248 +40 188 423 +40 189 48 +40 190 91 +40 192 371 +40 193 8 +40 194 411 +40 195 386 +40 196 28 +40 197 5 +40 198 91 +40 199 4 +40 200 257 +40 201 53 +40 202 172 +40 203 128 +40 204 1 +40 205 328 +40 206 47 +40 207 18 +40 208 4 +40 209 128 +40 210 2 +40 211 66 +40 212 31 +40 213 243 +40 214 3 +40 215 20 +40 216 573 +40 219 6 +40 220 3 +40 221 109 +40 222 52 +40 223 108 +40 224 226 +40 225 76 +40 226 19 +40 227 117 +40 228 50 +40 229 199 +40 230 596 +40 231 217 +40 232 65 +40 233 21 +40 234 833 +40 235 1085 +40 236 1 +40 237 142 +40 238 247 +40 241 269 +40 242 10 +40 243 77 +40 244 66 +40 245 63 +40 246 49 +40 247 39 +40 249 2 +40 250 21 +40 251 89 +40 252 418 +40 253 137 +40 254 100 diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/health.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/health.json new file mode 100644 index 0000000..da53a84 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/health.json @@ -0,0 +1,10 @@ +{ + "status": "ok", + "max_context": 32768, + "model": "qwen3.6-35b-a3b-ud-q3_k_m", + "images": false, + "api_key": false, + "image_generation": false, + "loaded": true, + "service": "strata" +} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/provenance.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/provenance.json new file mode 100644 index 0000000..ba42027 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/provenance.json @@ -0,0 +1,9 @@ +{ + "arm": "upstream-qwen36-q3km", + "engine_binary": "/opt/polystrata-v0.1.45-poly.1/build/strata-poly", + "engine_sha256": "c893c1690e43b9be3a80c99316909f7a68f4e1db53ff232165e631ffc9ac648b", + "fork_commit": "143ada26fe968d27686cab50ad76c9c171eb748d", + "nvidia_smi": "NVIDIA GeForce RTX 3090, 580.126.20, 24576 MiB", + "cpu_quota": "3112500/100000", + "started_utc": "2026-10-18T06:34:20Z" +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server-command.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server-command.json new file mode 100644 index 0000000..c6a4308 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server-command.json @@ -0,0 +1,12 @@ +[ + "/opt/polystrata-v0.1.45-poly.1/.venv/bin/python", + "/opt/polystrata-v0.1.45-poly.1/serve/server.py", + "--engine", + "strata", + "--config", + "/opt/us2-results/step9/2026-10-17-rtx3090/upstream-qwen36-q3km/server.json", + "--host", + "127.0.0.1", + "--port", + "18080" +] diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server-exit.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server-exit.json new file mode 100644 index 0000000..4c21f58 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server-exit.json @@ -0,0 +1 @@ +{"returncode": 0} \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server.json new file mode 100644 index 0000000..93e0c04 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/server.json @@ -0,0 +1,24 @@ +{ + "exe": "/opt/polystrata-v0.1.45-poly.1/build/strata-poly", + "cwd": "/opt/polystrata-v0.1.45-poly.1", + "tokenizer": "/opt/us2-models/qwen36-mtp/pack-q3km/tokenizer", + "model_name": "qwen3.6-35b-a3b-ud-q3_k_m", + "log": "/opt/us2-results/step9/2026-10-17-rtx3090/upstream-qwen36-q3km/engine.log", + "args": [ + "--model", + "/opt/us2-models/qwen36-mtp/Qwen3.6-35B-A3B-UD-Q3_K_M.gguf", + "--max-context", + "32768", + "--expert-profile", + "/opt/us2-results/step9/2026-10-17-rtx3090/upstream-qwen36-q3km/expert-profile.txt", + "--tail-skip", + "6" + ], + "sampling": { + "temperature": 0.6, + "top_p": 0.95, + "top_k": 20, + "min_p": 0.0 + }, + "fit_max_tokens": true +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/summary.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/summary.json new file mode 100644 index 0000000..fb8c7e1 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/summary.json @@ -0,0 +1,189 @@ +{ + "checks": { + "requests": 42, + "all_successful": true, + "skipped": { + "32K": "the context is 32768 tokens" + }, + "failures": [] + }, + "sustained": { + "decode_tps": { + "median": 207.6, + "min": 198.5, + "max": 225.7, + "n": 9 + }, + "prompt_tps": { + "median": 3381.8, + "min": 2980.7, + "max": 3525.6, + "n": 9 + }, + "ttft_s": { + "median": 1.305, + "min": 0.556, + "max": 1.48, + "n": 9 + }, + "total_s": { + "median": 3.771, + "min": 2.824, + "max": 4.024, + "n": 9 + }, + "draft_acceptance_pct": 80.37609948437974 + }, + "chat": { + "median": 220.8, + "min": 198.5, + "max": 271.1, + "n": 9 + }, + "chat_ttft_s": { + "median": 0.178, + "min": 0.175, + "max": 0.184, + "n": 9 + }, + "prefill": { + "4K": { + "median": 3651.6, + "min": 3598.4, + "max": 3655.0, + "n": 3 + }, + "16K": { + "median": 3569.7, + "min": 3567.6, + "max": 3589.4, + "n": 3 + } + }, + "prefill_ttft_s": { + "4K": { + "median": 1.113, + "min": 1.112, + "max": 1.127, + "n": 3 + }, + "16K": { + "median": 4.528, + "min": 4.497, + "max": 4.531, + "n": 3 + } + }, + "agent": { + "turn_decode_tps": { + "median": 194.0, + "min": 174.1, + "max": 223.7, + "n": 15 + }, + "turn_ttft_s": { + "median": 1.127, + "min": 0.565, + "max": 1.278, + "n": 15 + } + }, + "per_document": { + "docs/DETAILS.md": { + "prompt_tokens": { + "median": 5048, + "min": 5048, + "max": 5048, + "n": 3 + }, + "decode_tps": { + "median": 201.3, + "min": 198.5, + "max": 204.1, + "n": 3 + }, + "prompt_tps": { + "median": 3458.7, + "min": 3452.6, + "max": 3525.6, + "n": 3 + }, + "ttft_s": { + "median": 1.475, + "min": 1.447, + "max": 1.48, + "n": 3 + }, + "total_s": { + "median": 4.022, + "min": 3.982, + "max": 4.024, + "n": 3 + } + }, + "docs/HOW_IT_WORKS.md": { + "prompt_tokens": { + "median": 1696, + "min": 1696, + "max": 1696, + "n": 3 + }, + "decode_tps": { + "median": 221.8, + "min": 219.6, + "max": 225.7, + "n": 3 + }, + "prompt_tps": { + "median": 3068.0, + "min": 2980.7, + "max": 3106.8, + "n": 3 + }, + "ttft_s": { + "median": 0.559, + "min": 0.556, + "max": 0.577, + "n": 3 + }, + "total_s": { + "median": 2.885, + "min": 2.824, + "max": 2.891, + "n": 3 + } + }, + "docs/INSTALL.md": { + "prompt_tokens": { + "median": 4370, + "min": 4370, + "max": 4370, + "n": 3 + }, + "decode_tps": { + "median": 207.6, + "min": 205.6, + "max": 211.4, + "n": 3 + }, + "prompt_tps": { + "median": 3381.8, + "min": 3371.4, + "max": 3408.7, + "n": 3 + }, + "ttft_s": { + "median": 1.305, + "min": 1.295, + "max": 1.314, + "n": 3 + }, + "total_s": { + "median": 3.771, + "min": 3.716, + "max": 3.803, + "n": 3 + } + } + } +} diff --git a/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/sustained.json b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/sustained.json new file mode 100644 index 0000000..7f963c7 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/upstream-qwen36-q3km/sustained.json @@ -0,0 +1,506 @@ +[ + { + "run": 0, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 0.5771037638187408, + "total": 2.885388808324933, + "text": "# Technical Analysis of PolyStrata Architecture\n\nPolyStrata is a specialized inference engine designed to run large-scale Mixture-of-Experts (MoE) models, specifically **Qwen3.8-Flash-Next**, on consumer-grade hardware with limited VRAM (12\u201324 GB). It achieves this by offloading the computational burden from the GPU to the CPU and RAM, utilizing a hierarchical storage strategy and parallel processing techniques.\n\nBelow is a detailed breakdown of its design, tradeoffs, and practical usage.\n\n---\n\n## 1. Core Design Philosophy: The \"Kitchen and Pantry\" Model\n\nThe fundamental innovation of PolyStrata is treating the entire PC as a unified compute resource rather than relying solely on the GPU. It uses a metaphor of a kitchen:\n* **GPU (VRAM):** The \"counter\" where frequently used items (experts) are kept for immediate access.\n* **RAM:** The \"pantry\" where all experts are stored.\n* **SSD:** The \"deep storage\" holding auxiliary data structures.\n\n### 1.1. Expert Distribution Strategy\nThe model consists of **24,576 small specialists (\"experts\")**. For any given token generation, only **10 experts** are active. PolyStrata manages this distribution across three tiers:\n\n| Component | Role | Capacity/Content |\n| :--- | :--- | :--- |\n| **GPU (VRAM)** | High-speed compute & caching | Holds attention layers, DeltaNet mixers, routers, shared experts, output head, MTP draft layer, KV cache (partial), and an **adaptive expert cache**. |\n| **RAM** | Bulk storage & CPU compute | Holds **all 24,576 experts** (pinned memory). CPU computes experts not present on the GPU. |\n| **SSD** | Auxiliary lookup | Holds a **28.8 GB n-gram table** for prompt lookup optimization. |\n\n### 1.2. Parallel Execution Model\nPolyStrata eliminates the traditional bottleneck where the CPU waits for the GPU or vice versa.\n* **Simultaneous Computation:** While the GPU processes the cached experts and attention mechanisms, the CPU simultaneously computes the non-cached experts in RAM.\n* **PCIe Streaming:** As the current layer\u2019s attention runs, the experts for the next layer stream over PCIe to the GPU, ensuring the GPU is never idle waiting for", + "usage": { + "prompt_tokens": 1696, + "completion_tokens": 512, + "total_tokens": 2208, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 569.0, + "prompt_per_token_ms": 0.335, + "prompt_per_second": 2980.7, + "predicted_n": 512, + "predicted_ms": 2308.3, + "predicted_per_token_ms": 4.508, + "predicted_per_second": 221.8, + "draft_n": 380, + "draft_n_accepted": 310 + }, + "err": null, + "pieces": 493 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 0.577, + "total_s": 2.885, + "prompt_tokens": 1696, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 2980.7, + "prompt_tps_source": "engine", + "decode_tps": 221.8, + "decode_tps_source": "engine", + "prompt_ms": 569.0, + "decode_ms": 2308.3, + "drafts_offered": 380, + "drafts_accepted": 310 + } + }, + { + "run": 0, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 1.313829069957137, + "total": 3.803109209984541, + "text": "# Technical Analysis: PolyStrata Project Design and Implementation\n\n## 1. Executive Summary\n\n**PolyStrata** is a specialized inference engine and deployment framework designed to run large language models (LLMs), specifically targeting the **Qwen3.8-Flash-Next** architecture (and smaller variants like Qwen3.6, Ornith, Gemma). It is built on top of the **MPT (Mixture of Tokens/Experts)** or similar MoE (Mixture of Experts) architectures, leveraging hardware acceleration via NVIDIA CUDA and AMD HIP/ROCm.\n\nThe project distinguishes itself through:\n1. **Hybrid CPU/GPU Offloading:** It intelligently splits model layers and experts between GPU VRAM and system RAM/CPU, allowing models larger than available VRAM to run on consumer hardware.\n2. **Cross-Platform Automation:** A unified setup script (`START-HERE.bat` / `setup.sh`) handles dependency resolution, engine compilation, and model downloading, abstracting away the complexity of C++ compilation and environment management.\n3. **Multi-GPU Support:** Native support for splitting models across multiple GPUs (NVIDIA and AMD) to increase context window and throughput.\n\n---\n\n## 2. System Architecture & Design\n\n### 2.1 Core Components\nThe system is composed of three main layers:\n1. **The PolyStrata Engine:** A C++/CUDA/C++ backend that handles tensor operations, KV-cache management, and expert routing. It is compiled from source if a pre-built binary does not match the user's GPU architecture (compute capability).\n2. **The Model Pack:** Quantized model weights (e.g., `Q2_0`, `IQ2_XS`, `IQ3_XXS`). These are stored in a specific format optimized for the engine's memory layout.\n3. **The MTP Layer (Mixture of Tokens/Experts):** A draft layer that manages the distribution of \"experts\" (sub-networks within the MoE model) across available memory (VRAM and RAM).\n\n### 2.2 Memory Management Strategy\nPolyStrata employs a sophisticated memory hierarchy:\n* **VRAM (Primary):** Holds active layers and frequently accessed experts.\n* **System RAM (Secondary):** Acts as a swap space for experts not currently in VRAM. The engine uses page-locked memory for faster transfer between RAM and VRAM.\n* **CPU (T", + "usage": { + "prompt_tokens": 4370, + "completion_tokens": 512, + "total_tokens": 4882, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 1296.2, + "prompt_per_token_ms": 0.297, + "prompt_per_second": 3371.4, + "predicted_n": 512, + "predicted_ms": 2490.8, + "predicted_per_token_ms": 4.865, + "predicted_per_second": 205.6, + "draft_n": 351, + "draft_n_accepted": 283 + }, + "err": null, + "pieces": 494 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.314, + "total_s": 3.803, + "prompt_tokens": 4370, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 3371.4, + "prompt_tps_source": "engine", + "decode_tps": 205.6, + "decode_tps_source": "engine", + "prompt_ms": 1296.2, + "decode_ms": 2490.8, + "drafts_offered": 351, + "drafts_accepted": 283 + } + }, + { + "run": 0, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 0-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 1.480242082849145, + "total": 4.022440079599619, + "text": "# Technical Analysis: PolyStrata Engine Design and Implementation\n\n## 1. Executive Summary\n\nPolyStrata is a high-performance inference engine designed for running large language models (LLMs) with **Mixture of Experts (MoE)** architectures on consumer-grade hardware. Its core innovation lies in optimizing the memory bandwidth bottleneck inherent in MoE models by utilizing aggressive quantization (down to 2-bit), dynamic expert caching, and specialized kernel optimizations for both prompt processing (prefill) and token generation (decode).\n\nThe engine is built to run on NVIDIA GPUs (via CUDA) and AMD GPUs (via ROCm/HIP), with specific optimizations for recent architectures (RTX 30/40/50 series and AMD RX 7000/8000 series). It supports context windows up to 262K tokens through hybrid memory management techniques.\n\n---\n\n## 2. Core Architectural Design\n\n### 2.1 Mixture of Experts (MoE) Management\nUnlike dense models where all parameters are active for every token, MoE models activate only a subset of \"experts\" per token. PolyStrata addresses the primary challenge of MoE inference: **VRAM capacity vs. Expert Count**.\n\n* **Dynamic Expert Caching:** The engine maintains a pool of experts in VRAM. Experts not currently in VRAM are stored in system RAM (pinned memory) or on disk (mmap).\n* **Adaptive Swapping:** The engine dynamically moves experts between VRAM and RAM based on usage frequency. This is controlled by `--adapt-swaps` and `--pcie-frac` (PCIe bandwidth fraction).\n* **Low-RAM Mode:** If system RAM is insufficient to hold all experts, the engine maps the expert file (`experts.bin`) directly from disk using memory-mapped I/O (`--mmap-experts`). The OS file cache acts as the intermediate buffer, reducing the need for large pinned RAM allocations.\n\n### 2.2 Quantization Strategy\nPolyStrata supports multiple quantization formats to balance speed, memory usage, and accuracy:\n\n* **Q2_0:** 2-bit quantization. Offers the highest speed and lowest VRAM usage but with potential accuracy trade-offs.\n* **IQ2_XS / IQ3_XXS / IQ3_S:** Int8-based quantization schemes (IQ = Int8 Quantization). These provide a better accuracy/speed trade-off than", + "usage": { + "prompt_tokens": 5048, + "completion_tokens": 512, + "total_tokens": 5560, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 1462.1, + "prompt_per_token_ms": 0.29, + "prompt_per_second": 3452.6, + "predicted_n": 512, + "predicted_ms": 2543.9, + "predicted_per_token_ms": 4.969, + "predicted_per_second": 201.3, + "draft_n": 364, + "draft_n_accepted": 284 + }, + "err": null, + "pieces": 498 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.48, + "total_s": 4.022, + "prompt_tokens": 5048, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 3452.6, + "prompt_tps_source": "engine", + "decode_tps": 201.3, + "decode_tps_source": "engine", + "prompt_ms": 1462.1, + "decode_ms": 2543.9, + "drafts_offered": 364, + "drafts_accepted": 284 + } + }, + { + "run": 1, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 0.5591428838670254, + "total": 2.8906556461006403, + "text": "# Technical Analysis of PolyStrata Architecture\n\nPolyStrata is a specialized inference engine designed to run large-scale Mixture-of-Experts (MoE) models, specifically **Qwen3.8-Flash-Next**, on consumer-grade hardware with limited VRAM (12\u201324 GB). The core innovation lies in its ability to offload the computational burden of a model that normally requires hundreds of gigabytes of GPU memory by orchestrating a hybrid execution pipeline across the GPU, CPU (RAM), and SSD.\n\nBelow is a detailed technical explanation of its design, the trade-offs involved, and practical usage guidelines.\n\n---\n\n## 1. System Design and Architecture\n\nPolyStrata treats the model\u2019s 24,576 \"experts\" not as a monolithic block to be loaded entirely into VRAM, but as a dynamic pool of resources distributed across the system\u2019s memory hierarchy. The architecture is built on three key pillars: **Dynamic Expert Caching**, **Parallel CPU-GPU Execution**, and **Speculative Decoding**.\n\n### A. The Memory Hierarchy Strategy\n\nThe system divides the model\u2019s components based on access frequency and computational intensity:\n\n1. **GPU (VRAM): The High-Speed Core**\n * **Contents:** Attention mechanisms, DeltaNet mixers, gated-residual weights, routers, shared experts, the output head, the MTP (Multi-Token Prediction) draft layer, and the KV cache (specifically the most-read portion of the 64K context window).\n * **Expert Cache:** The remaining VRAM is filled with an **expert cache**. This cache is dynamic; it learns which experts are most frequently requested during a conversation and keeps them resident in VRAM.\n * **Impact:** Every extra GB of VRAM holds ~700 more experts. An expert on the GPU is computed instantly; an expert offloaded to the CPU requires PCIe transfer and CPU computation.\n\n2. **RAM (System Memory): The Expert Pool**\n * **Contents:** All 24,576 experts are stored here in a pinned memory format for faster PCIe transfer.\n * **Execution:** When the GPU requests an expert not in its cache, the CPU computes it **in-place**. Crucially, this computation happens **in parallel** with the GPU processing the cached experts. The CPU uses optimized kernels (AVX-512/AVX2 for standard quantization, ggml", + "usage": { + "prompt_tokens": 1696, + "completion_tokens": 512, + "total_tokens": 2208, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 552.8, + "prompt_per_token_ms": 0.326, + "prompt_per_second": 3068.0, + "predicted_n": 512, + "predicted_ms": 2331.3, + "predicted_per_token_ms": 4.553, + "predicted_per_second": 219.6, + "draft_n": 376, + "draft_n_accepted": 304 + }, + "err": null, + "pieces": 498 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 0.559, + "total_s": 2.891, + "prompt_tokens": 1696, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 3068.0, + "prompt_tps_source": "engine", + "decode_tps": 219.6, + "decode_tps_source": "engine", + "prompt_ms": 552.8, + "decode_ms": 2331.3, + "drafts_offered": 376, + "drafts_accepted": 304 + } + }, + { + "run": 1, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 1.2954782079905272, + "total": 3.7156853284686804, + "text": "# Technical Analysis: PolyStrata Project (Run Identifier 1-1)\n\n## 1. Executive Summary\nPolyStrata is a high-performance, cross-platform inference engine designed to run large language models (LLMs), specifically targeting the **Qwen3.8-Flash-Next** architecture. It is built on top of the `llama.cpp` ecosystem (indicated by references to `ggml-cpu`, GGUF formats, and quantization schemes like Q2_0, IQ2_XS) but adds a proprietary \"MTP\" (Multi-Token Prediction) draft layer and a custom C++ kernel optimized for specific CPU instruction sets (AVX2/AVX-512).\n\nThe system is designed for local deployment on consumer hardware (RTX 20/30/40/50 series and AMD RX 7000/9000 series), emphasizing ease of installation via automated scripts while offering granular control over GPU memory, CPU offloading, and multi-GPU configurations.\n\n## 2. System Architecture & Design\n\n### 2.1 Core Components\n1. **The Engine (Backend):**\n * **NVIDIA:** Uses CUDA-based kernels. The installer provides pre-compiled binaries for common architectures (RTX 20/30/40/50). If the GPU architecture is unsupported, it triggers a local compilation using CUDA Toolkit and build tools.\n * **AMD:** Uses HIP/ROCm. On Linux, it leverages system ROCm or installs AMD wheels into a virtual environment. It compiles the engine locally for the specific GPU generation (gfx1100, gfx1200, etc.).\n * **CPU Fallback:** The engine includes `ggml-cpu` kernels. For older CPUs (pre-AVX2), it compiles a fallback version using AVX or SSE4.2 instructions, though performance is significantly degraded.\n\n2. **Model Format & Quantization:**\n * Models are stored in **GGUF** format.\n * Supported quantizations include **Q2_0**, **IQ2_XS**, **IQ3_XXS**, and **IQ3_S**.\n * **Q2_0** is highlighted for AVX-512 CPUs, requiring a one-time ~40GB copy of experts for fast CPU kernel execution.\n * **Unsloth 4", + "usage": { + "prompt_tokens": 4370, + "completion_tokens": 512, + "total_tokens": 4882, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 1282.0, + "prompt_per_token_ms": 0.293, + "prompt_per_second": 3408.7, + "predicted_n": 512, + "predicted_ms": 2421.6, + "predicted_per_token_ms": 4.73, + "predicted_per_second": 211.4, + "draft_n": 377, + "draft_n_accepted": 303 + }, + "err": null, + "pieces": 498 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.295, + "total_s": 3.716, + "prompt_tokens": 4370, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 3408.7, + "prompt_tps_source": "engine", + "decode_tps": 211.4, + "decode_tps_source": "engine", + "prompt_ms": 1282.0, + "decode_ms": 2421.6, + "drafts_offered": 377, + "drafts_accepted": 303 + } + }, + { + "run": 1, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 1-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 1.4467779509723186, + "total": 4.02377649769187, + "text": "# Technical Analysis: PolyStrata Engine Design and Implementation\n\n## 1. Executive Summary\n\nPolyStrata is a high-performance inference engine designed to run large language models (LLMs) with **Mixture of Experts (MoE)** architectures on consumer-grade hardware. Its core innovation lies in optimizing the execution of sparse models by dynamically managing the placement of \"expert\" neural network layers between CPU RAM and GPU VRAM.\n\nThe engine prioritizes **context length scalability** and **throughput** over raw peak theoretical performance. It achieves this through a combination of aggressive quantization (down to 2-bit), speculative decoding (MTP), and a sophisticated memory management system that streams Key-Value (KV) caches and maps experts from disk when VRAM is insufficient.\n\n---\n\n## 2. Core Architectural Design\n\n### 2.1 Mixture of Experts (MoE) Management\nUnlike dense models where all parameters are active for every token, MoE models activate only a subset of \"experts\" per layer. PolyStrata treats these experts as distinct, swappable units.\n* **Expert Caching:** The engine maintains a cache of active experts in GPU VRAM. When VRAM is full, less-used experts are evicted to system RAM or mapped directly from disk (`--mmap-experts`).\n* **PCIe Bandwidth Optimization:** The engine calculates the cost of transferring experts over the PCIe bus (`--pcie-frac`) and optimizes the swap strategy to minimize latency during inference.\n\n### 2.2 Quantization Strategy\nPolyStrata supports multiple quantization formats to balance speed, memory usage, and accuracy:\n* **Q2_0 / IQ2_XS:** Extremely low-bit quantization (2-bit). This allows massive models to fit into limited VRAM (e.g., 12GB) but introduces rounding errors.\n* **IQ3_XXS / IQ3_S:** 3-bit quantization, offering a better accuracy/speed trade-off.\n* **Hybrid K8V4:** A novel approach where **Keys** are stored at 8-bit precision and **Values** at 4-bit precision. This reduces KV cache memory by 23% compared to standard 8-bit KV, allowing longer contexts without spilling to RAM, while maintaining better precision than full 4-bit KV.\n\n### 2.3 Speculative Decoding (MTP)\nPolyStrata implements **Multi-Token Prediction (", + "usage": { + "prompt_tokens": 5048, + "completion_tokens": 512, + "total_tokens": 5560, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 1431.8, + "prompt_per_token_ms": 0.284, + "prompt_per_second": 3525.6, + "predicted_n": 512, + "predicted_ms": 2578.7, + "predicted_per_token_ms": 5.037, + "predicted_per_second": 198.5, + "draft_n": 366, + "draft_n_accepted": 281 + }, + "err": null, + "pieces": 496 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.447, + "total_s": 4.024, + "prompt_tokens": 5048, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 3525.6, + "prompt_tps_source": "engine", + "decode_tps": 198.5, + "decode_tps_source": "engine", + "prompt_ms": 1431.8, + "decode_ms": 2578.7, + "drafts_offered": 366, + "drafts_accepted": 281 + } + }, + { + "run": 2, + "source": "docs/HOW_IT_WORKS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-0. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# How does PolyStrata work?\n\nModels like Qwen3.8-Flash-Next normally run on servers with hundreds of gigabytes of graphics memory. Your graphics\ncard has 12-24 GB. PolyStrata makes it fit by **sharing the work across your whole PC** - the same idea as a kitchen, where\nthe things you use all the time stay on the counter and the rest waits in the pantry. Back to the\n[README](../README.md#how-does-it-work).\n\n## Who does what\n\n

\"The

\n\n- **The model is a team of 24,576 small specialists (\"experts\"),** and each word it writes needs only 10 of them.\n So it doesn't have to have all of them on the graphics card at once.\n- **Your graphics card** does the part of the work needed for every word, and keeps the few thousand experts that\n are asked most often. It keeps learning which ones those are while you use it.\n- **Your RAM** holds every expert. When a word needs one the card doesn't have, **your processor** works on it -\n at the same time as the graphics card, so neither waits for the other.\n- **Your SSD** holds a big lookup table; the model only reads a few small rows of it per word.\n\nThe same in technical terms:\n\n- **GPU (VRAM):** attention and DeltaNet mixers, the gated-residual weights, routers, shared experts, output head, the\n MTP draft layer, the KV cache (from 64K: only its most-read part, the rest streams from RAM), and an **expert\n cache** that fills the rest of VRAM with the most-used experts (it adapts to the conversation while you chat).\n More VRAM matters more than a faster GPU: every extra GB holds ~700 more experts, and every expert on the GPU is one\n the CPU does not have to compute.\n- **RAM:** all 24,576 experts, pinned. The CPU computes the experts that are not on the GPU **in place**, at the same\n time as the GPU works on the cached ones (AVX-512 / AVX2 kernels, ggml's for the i-quants). On a PC with little RAM\n and a big card, the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram) keeps in RAM only what the GPU does\n not hold.\n- **SSD:** the 28.8 GB n-gram table, read a few rows per token through the OS cache.\n\nThis works the same on NVIDIA (CUDA) and AMD (HIP) cards: the same engine, compiled for each.\n\n## Guess, then check\n\n

\"A

\n\n- **Guess, then check.** A small, fast helper built into the model guesses the next few words, and the big model\n checks all the guesses in one go. It keeps the ones it agrees with and writes the next word itself - so one step\n often produces several words. The helper only guesses - the big model decides every word - so you get the same\n quality answer, 1.6-1.8x sooner.\n- In technical terms: the model's own MTP layer drafts up to 3 tokens; one pass over all 48 layers checks them, 2.4-3.2\n tokens per pass on average. When the reply repeats the context (code edits, quoted text), **prompt lookup** drafts\n up to 5 tokens from the earlier copy, but only where its measured acceptance and cost say it pays: code edits 6-11%\n faster, other text unchanged. The drafts are checked like the MTP's, so the output is the same.\n\n## Reading long texts\n\n**Long texts are read in big pieces** (up to 8,192 tokens - pieces of words - at a time), which is why a long\ndocument or code base is read at over 1,000 tokens per second. The experts of the next layer stream to the GPU over\nPCIe while the current layer's attention runs. After the first message, PolyStrata keeps the conversation and reads only\nwhat is new, so follow-ups start in seconds.\n\n## More\n\nThe [details](DETAILS.md#how-it-works) explain every part and its numbers, and the\n[paper](paper/Strata-Paper.pdf) tells the whole story, with the measurements behind it.\n\n## Credits\n\n- PolyStrata is built on [Strata](https://github.com/Niko1221/Strata) by Niko1221 and its contributors. The Qwen\n engine, the installer, the server and the web app are that project's work. PolyStrata adds the engine for GLM 5.3\n Flash ([GLM.md](GLM.md)), whose file is from\n [neuralll](https://huggingface.co/neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF).\n- Model: [Qwen3.8-Flash-Next](https://huggingface.co/Qwen/Qwen3.8-Flash-Next) by the Qwen team; compressed versions by\n [ISTA-DASLab](https://huggingface.co/ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF);\n [Swift 1.5](https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF) by UkisAI; the experimental\n [UD-Q4_K_XL](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) by Unsloth (its support follows\n [eddoursul/Strata](https://github.com/eddoursul/Strata)). Their licenses apply to the model files.\n- Built with parts of [llama.cpp / ggml](https://github.com/ggml-org/llama.cpp) (MIT). Ideas from\n [Splash](https://github.com/incoai/splash), [ninfer](https://github.com/Neroued/ninfer) and\n [HyperQwen](https://github.com/syv-ai/HyperQwen). More in the [details](DETAILS.md#credits-and-licenses).\n- The AMD (HIP) backend: [AMD_HIP.md](AMD_HIP.md) names the contributors and the machines it was validated on.\n\n## License\n\nPolyStrata is open source under the [MIT License](../LICENSE). A few parts carry their own licenses: `third_party/ggml`\n(MIT, llama.cpp / ggml), the web app's font (SIL Open Font License 1.1) and the experimental speed projection's\nvector in `data/experimental-speed-projection` (Qwen Community License 1.0, from the model's activations). The\nmodels are not part of this repository; each model's own license applies to its files.\n" + } + ], + "response": { + "first": 0.5561875235289335, + "total": 2.8235677871853113, + "text": "Based on the provided documentation, here is a detailed technical explanation of the **PolyStrata** architecture, its design philosophy, tradeoffs, and practical usage.\n\n### 1. Core Design Philosophy: Hierarchical Memory & Parallelism\n\nPolyStrata is a runtime engine designed to run large-scale Mixture-of-Experts (MoE) models (specifically **Qwen3.8-Flash-Next**) on consumer-grade hardware with limited VRAM (12\u201324 GB). The core innovation is treating the entire PC as a unified compute resource rather than relying solely on the GPU.\n\nThe architecture is built on three key pillars:\n1. **Expert Caching:** Only the most frequently used \"experts\" (neural network sub-modules) reside in VRAM.\n2. **CPU-GPU Parallelism:** The CPU computes experts not present in VRAM simultaneously with the GPU processing cached experts.\n3. **Speculative Decoding:** A \"guess-and-check\" mechanism accelerates token generation without sacrificing quality.\n\n---\n\n### 2. Technical Architecture Breakdown\n\n#### A. The Model Structure: 24,576 Experts\nThe underlying model, Qwen3.8-Flash-Next, is a massive MoE model with **24,576 experts**. However, for any single token generation, only **10 experts** are activated. This sparsity allows the system to avoid loading all experts into VRAM at once.\n\n#### B. Memory Hierarchy & Data Flow\n\n| Component | Role | Technical Details |\n| :--- | :--- | :--- |\n| **GPU (VRAM)** | **High-Speed Compute & Cache** | Holds:
- Attention & DeltaNet mixers
- Gated-residual weights, routers, shared experts
- Output head & MTP draft layer
- KV Cache (partial: only the most-read part of 64K context; rest streams from RAM)
- **Expert Cache**: Dynamically fills remaining VRAM with the most-used experts. Adapts during conversation. |\n| **RAM** | **Full Expert Repository** | Holds **all 24,576 experts** (pinned memory).
- CPU computes experts *not* in VRAM **in-place**.
- Uses AVX-512/AVX2 kernels (ggml for i-quants).
- **Low-RAM Mode**: If RAM", + "usage": { + "prompt_tokens": 1696, + "completion_tokens": 512, + "total_tokens": 2208, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 1696, + "prompt_ms": 545.9, + "prompt_per_token_ms": 0.322, + "prompt_per_second": 3106.8, + "predicted_n": 512, + "predicted_ms": 2268.5, + "predicted_per_token_ms": 4.431, + "predicted_per_second": 225.7, + "draft_n": 372, + "draft_n_accepted": 313 + }, + "err": null, + "pieces": 495 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 0.556, + "total_s": 2.824, + "prompt_tokens": 1696, + "reused_tokens": 0, + "read_tokens": 1696, + "generated_tokens": 512, + "prompt_tps": 3106.8, + "prompt_tps_source": "engine", + "decode_tps": 225.7, + "decode_tps_source": "engine", + "prompt_ms": 545.9, + "decode_ms": 2268.5, + "drafts_offered": 372, + "drafts_accepted": 313 + } + }, + { + "run": 2, + "source": "docs/INSTALL.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-1. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# Installing PolyStrata\n\nEverything about installing, starting, updating and configuring PolyStrata, on Windows and Linux, with an NVIDIA or an\nAMD graphics card. The short version is in the [README](../README.md#install); an AI coding assistant can do all of\nthis for you with [AI_SETUP.md](AI_SETUP.md).\n\n> **On this page:** [What you need](#what-you-need) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7\n> [AMD cards](#amd-cards) \u00b7 [Several cards](#two-or-three-cards) \u00b7 [Docker](#docker-linux) \u00b7\n> [Older CPUs](#older-cpus-experimental) \u00b7 [Updating](#updating) \u00b7 [Where things are stored](#where-things-are-stored) \u00b7\n> [Setup's questions](#setups-questions) \u00b7 [Tuning](#tuning-for-your-pc) \u00b7 [All options](#options-without-questions)\n\n## What you need\n\nThis is for Qwen3.8-Flash-Next. GLM 5.3 Flash needs Linux, one NVIDIA card and far more RAM:\n[GLM.md](GLM.md#what-you-need). The three smaller models (Qwen3.6-35B-A3B, Ornith 1.5, Gemma 4 26B-A4B) need Linux\nor Windows, one NVIDIA card and less of everything: [BACKENDS.md](BACKENDS.md#install).\n\n| | |\n| --- | --- |\n| **GPU** | **NVIDIA** RTX 20, 30, 40 or 50 series, **12 GB VRAM or more** (8 GB runs, slowly). Measured on an RTX 5070 and an RTX 3090; RTX 20 (Turing, since 0.1.27) was tested by a contributor on an RTX 2070. **AMD** Radeon RX 7900 XT / XTX, RX 9070 / 9070 XT and Radeon AI PRO R9700 (validated), RX 7800 XT / 7700 XT and RX 9060 XT (validated by their owners), RX 6800 / 6900 series (community-reported), with 12 GB of VRAM or more. See [AMD cards](#amd-cards). |\n| **RAM** | Enough for the size you pick ([which model](MODELS.md#pick-by-ram)); **64 GB** runs every size. A big GPU makes up for less RAM - the [low-RAM mode](MODELS.md#a-big-graphics-card-and-little-ram). |\n| **CPU** | x86-64 with AVX2 (any Intel/AMD desktop CPU from the last ~8 years). AVX-512 (Ryzen 7000/9000) is a bit faster. Older CPUs without AVX2 are experimental and slow: [Older CPUs](#older-cpus-experimental). |\n| **Disk** | ~70-80 GB free for the model, ~6 GB for the MTP layer (+1 GB with images). **Q2_0 on an AVX-512 CPU** also writes a one-time ~40 GB copy of its experts for the fast CPU kernel. On Linux with an AMD card, ROCm takes ~10 GB more when setup installs it. An NVMe SSD is strongly recommended: it makes the first start much faster. |\n| **OS** | Windows 10/11, or Linux (Ubuntu 22.04/24.04 and Debian 12/13 get everything installed automatically). |\n| **Driver** | **NVIDIA:** a current driver, version 580 or newer ([nvidia.com/drivers](https://www.nvidia.com/drivers) or the NVIDIA App). **AMD:** on Linux the kernel's amdgpu driver (no ROCm install needed); on Windows a current AMD Software: Adrenalin Edition driver ([amd.com/support](https://www.amd.com/en/support)). |\n\nThe driver is the only thing you install yourself. Everything else - Python, the engine, the model - is set up for\nyou the first time: Python 3.12 if you have none (for your user account, no admin), a private Python environment in\n`.venv/`, the PolyStrata engine, the model and the MTP draft layer. On NVIDIA it uses the ready-made engine for RTX\n20/30/40/50 and NVIDIA's CUDA libraries from pip (~0.4 GB); if no ready-made engine fits your PC, it offers to install\nthe build tools (Visual Studio Build Tools + CUDA Toolkit on Windows, `build-essential` + CUDA on Ubuntu) and compiles\nthe engine for your GPU (asks first; 20-40 minutes once). More: [details](DETAILS.md#before-you-start).\n\n## Windows\n\n1. [Download this project](https://github.com/VecSzn/PolyStrata/archive/refs/heads/main.zip) and unzip it (or\n `git clone` it).\n2. Double-click **`START-HERE.bat`**.\n3. Answer a few questions - or just press Enter each time for the recommended choice ([the questions](#setups-questions)).\n\nThen it downloads everything (the model is ~70 GB, so the first time takes a while - you can stop and it picks up\nwhere it left off) and **starts the model**. Your browser opens the PolyStrata app at `http://127.0.0.1:8080`.\n\n> **While the model starts, your PC can be slow or stop responding for 1-3 minutes** (longest the first time): PolyStrata\n> loads 35-55 GB into your RAM and locks part of it for the graphics card. That's normal - wait, and don't close the\n> window. The window tells you what it is doing.\n\n**Next time**, just double-click `START-HERE.bat` again: it starts right away (30-90 s to load the model), nothing is\ndownloaded twice. Close its window to stop the model. `SETUP.bat` (the same as `START-HERE.bat --setup`) installs\nanother model or changes the settings. Starting PolyStrata from Task Scheduler at logon needs two task settings, or the\nstart is 24x slower: [Running it at startup](DETAILS.md#running-it-at-startup-task-scheduler).\n\n## Linux\n\n```bash\n./setup.sh\n```\n\nThe same questions, the same automatic install (it uses `sudo apt` for Python and, only if it has to compile, for\nthe build tools), and the same start: `http://127.0.0.1:8080`. Later runs of `./setup.sh` (or `./run-.sh`)\nstart the model directly; `./setup.sh --setup` installs another model or changes the settings. Other distributions,\nWSL and compiling: [details](DETAILS.md#linux).\n\nOn Nix/NixOS, you can use the flake:\n\n```bash\nnix develop -c ./setup.sh\n```\n\n## AMD cards\n\nThe steps are the same as with NVIDIA: `START-HERE.bat` on Windows, `./setup.sh` on Linux. Setup finds the Radeon\ncard and chooses the AMD (HIP) engine by itself on a PC with no NVIDIA card PolyStrata can use; `--backend hip` chooses\nit on a PC that has both. Supported cards: RX 7900 XT / XTX (gfx1100), RX 7800 XT / 7700 XT (gfx1101), RX 9060 XT\n(gfx1200), RX 9070 / 9070 XT and Radeon AI PRO R9700 (gfx1201), and the RX 6800 / 6900 series (gfx1030). Integrated\nRadeon GPUs are listed as not supported.\n\nOn Linux setup uses a system ROCm 7 when there is one, or installs ROCm into `.venv` from AMD's wheels (~10 GB, no\nsudo), and compiles the engine on your PC for the card (10-20 minutes, once; it needs a C++ compiler and git:\n`sudo apt install build-essential git`). Several AMD cards share the model with `--gpus`, as on NVIDIA.\n\nWhat differs from NVIDIA for now: pictures are read by the image encoder on the CPU (`--vision cpu`, about 3 s per\npicture at the default 300 image tokens on 8 cores), `--calibrate` is NVIDIA-only, and Unsloth's 4-bit model needs an NVIDIA card. Measurements per card, the\nbuild by hand and the tuning tables: [AMD_HIP.md](AMD_HIP.md).\n\n## Two or three cards\n\n**Two or three NVIDIA cards?** Just run `START-HERE.bat`: it lists your cards, says which ones PolyStrata can use, and\nasks whether to share the model across them (recommended when two can). An install made on one card asks once at\nits next start. Or choose yourself: `START-HERE.bat --gpus 0,2` (both, remembered), `--gpus all`, or `--gpu 0` (one\ncard, this start only). Each card keeps the experts of its own layers, and prompts flow through the cards in a\npipeline: on an RTX 5080 + RTX 3090 prompts were read 18-20% faster than on the 5080 alone, decoding on par.\nEvery card must be an RTX 20 series or newer with 8 GB or more. See [MULTI_GPU.md](MULTI_GPU.md).\n\n**Several AMD cards:** setup takes one card (the one with the most VRAM, or `--gpu N`) unless you name more:\n`--gpus 1,0` splits the model's layers across them, the first one the main card (numbers as setup lists them). A\nsplit pays only when no single card holds the model's experts ([AMD_HIP.md](AMD_HIP.md#rdna4-gfx1201)).\n\n## Docker (Linux)\n\nThe same idea, in a container (NVIDIA cards).\n\n1. Host: Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html)\n and a driver **580 or newer** (CUDA 13.0).\n2. Build (this compiles the engine into the image, so the container never compiles):\n `docker build -t strata .`\n `docker build -t strata --build-arg CUDA_ARCHITECTURES=89 .` builds for one card only (faster).\n The default covers RTX 30 (86), RTX 40 (89), RTX 50 (120) and A-series (80); a card outside that\n set needs a rebuild with its own arch. Add `--build-arg BUILD_VISION=0` to skip the image encoder.\n3. Run (the first start downloads the ~70 GB model, then starts; later starts go straight to serving):\n `docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -v strata-data:/data strata`\n\n The setup choices are env vars: `-e MODEL=IQ2_XS -e FAMILY=qwen -e CONTEXT=32768 -e VISION=no`\n (or `MODEL=Q2_0|IQ3_XXS|IQ3_S`, `FAMILY=swift|coder`; the defaults above are the recommended ones).\n `-e VISION=cpu` keeps the image encoder on the CPU. `-e KV=int8|q4_0|k8v4` picks the KV cache\n precision; `k8v4` is INT8 K with 4-bit V and keeps its KV in VRAM from 64K up.\n Only the model files, the prepared pack, the MTP layer and the install config live in the\n `strata-data` volume; the engine is part of the image. Switching between models already on the\n volume needs no setup pass: `-e MODEL=Q2_0 -e FAMILY=coder` picks that model's config. Add\n `-e REINSTALL=1` only to change settings for a model already set up (context, vision, KV, host,\n api_key, LOW_RAM), since those are recorded in its config.\n `MODEL` (with `FAMILY`) selects `/data/config/strata-.json` (the model name in lowercase), so\n `-e MODEL=IQ3_S.1X4-BATCH9` starts `/data/config/strata-iq3_s.1x4-batch9.json`: that is the way to keep\n several configs of one model on one volume. `-e CONFIG=/data/config/my.json` overrides it with any\n config file. A link `/opt/strata/strata-.json` that already points into `/data/config/` (made by\n a pod command before the entrypoint runs) is kept. The entrypoint prints one `Config:` line naming the\n file the server starts with.\n PolyStrata loads 32-62 GB into RAM. `--gpus all` on a host with two usable cards takes both: the\n layer split is setup's recommended default ([MULTI_GPU.md](MULTI_GPU.md)), and a volume\n set up for one card switches to the pair on its first start there. Pin one card with `-e GPU=0`,\n or name them with `-e GPUS=0,2` and where the later card's layers start with `-e LAYER_SPLIT=18`.\n A memory limit needs `-e LOW_RAM=on`, which maps the model's experts from the pack instead of\n keeping them in RAM: setup.py measures the host's RAM, not the container's limit, so it cannot\n see a cap. LOW_RAM runs on one card unless `GPUS` names several (then the experts the cards do not hold are\n read through the OS file cache, which can fill the RAM during long prompts).\n The server listens on `0.0.0.0:8080` by default; set `-e API_KEY=` before exposing the port\n to a network. The image has a `HEALTHCHECK` on `/health`, so `docker ps` shows the container\n healthy once the model is loaded, and `GET /v1/status` says what it is running.\n Model files you already have (setup's `--gguf-dir`): mount their folder and name it, e.g.\n `-v /models/UD-Q4_K_XL:/gguf -e GGUF_DIR=/gguf -e FAMILY=unsloth -e MODEL=UD-Q4_K_XL`.\n Mount it writable for the first start: setup checks the Unsloth file's SHA-256 once and keeps the\n result as `.done` next to each shard; later starts skip setup, so `:ro` is fine then.\n `-e RESIDENT_BUDGET_GIB=N` and `-e KV_STREAMING=on|off|auto` pass setup's `--resident-budget-gib`\n and `--kv-streaming` (with `REINSTALL=1` for a model already set up).\n Stopping: the engine releases its page-locked RAM (tens of GB) on SIGTERM, which takes longer than\n Docker's default 10 s; give it time, or `docker stop` kills it (exit 137):\n `docker run --stop-timeout 60 ...`, `docker stop -t 60 `, or `stop_grace_period: 60s` in Compose.\n\n## Older CPUs (experimental)\n\nPolyStrata's ready-made engine needs AVX2 (Intel Haswell 2013, AMD Zen 2017 or newer). Since 0.1.39 an older CPU - AVX\nonly (Sandy Bridge / Ivy Bridge, Xeon E5 v1/v2, AMD Bulldozer) or SSE4.2 only (Nehalem / Westmere, Xeon X5600) - runs\nas an **experimental** build that setup compiles on that PC. Run setup as usual: it says the CPU has no AVX2, warns\nthat this is experimental and slow, and compiles the engine (10-20 minutes, once; Windows needs the Visual Studio Build\nTools and the CUDA Toolkit, which setup offers to install). It does not stop. The ready-made engine still refuses such\na CPU, and says so.\n\nWhat differs in that build (`STRATA_ISA_FLOOR=avx` or `none`, chosen from the CPU):\n\n- ggml-cpu is compiled for AVX or SSE4.2 instead of AVX2, and the CPU's share of the experts runs on its kernels.\n PolyStrata's own AVX2 / AVX-512 kernels stay in the program but are used only on a CPU that has them.\n- Only the i-quant models' packs run (every model setup installs on such a CPU); the AVX-512 Q2_0 pack does not.\n- Speed: the GPU part is unchanged and the CPU part is slower, so a GPU with more VRAM (more experts cached there)\n helps most. With the older paths forced on a Ryzen 5 7600 + RTX 5070 and the expert cache held at 1500 slots, greedy\n decode went from 26 to 11-17 tok/s with the AVX build and to 3.5-3.8 tok/s with the SSE4.2 build (Coder and IQ3_XXS,\n 10 prompts each, one run). An old Xeon with DDR3 will be slower than these.\n- Untested on a real old CPU by us. It was checked here by forcing the older paths on a Ryzen 5 7600\n (`STRATA_FORCE_ISA=avx` or `sse`): the answers were sane and passed the engine's checks, but not the same token for\n token as the normal build (ggml-cpu rounds the CPU experts differently, as the AVX2 kernel does from the AVX-512\n one). Contributors ran earlier versions of the same approach on a Xeon E5-2680 (2.87 tok/s with a GTX 1080 Ti)\n and on Xeon E5-2687W / X5690 machines.\n- AMD cards: Linux only (setup compiles the AMD engine there anyway); NVIDIA on Windows and Linux.\n- Two-socket Xeons: memory on the other socket is slow; keep the RAM on one CPU if you can.\n\nBy hand: `cmake ... -DSTRATA_ISA_FLOOR=avx` (or `none`) builds it; `STRATA_ISA_FLOOR=avx` set for setup builds it on\nany PC (to try it). Problems and results on real hardware are welcome as GitHub issues.\n\n## Updating\n\n**`UPDATE.bat`** (Linux: `./update.sh`) updat" + } + ], + "response": { + "first": 1.3054853491485119, + "total": 3.7707394436001778, + "text": "# Technical Analysis: PolyStrata Project (Run Identifier 2-1)\n\n## 1. Executive Summary\nPolyStrata is a high-performance, local Large Language Model (LLM) inference engine designed to run quantized models (specifically Qwen3.8-Flash-Next and others) on consumer-grade hardware. It abstracts the complexity of setting up Python environments, CUDA/ROCm drivers, and model weights into a single automated installation process. The system is optimized for low-latency inference using a \"MTP\" (Multi-Token Prediction) draft layer and supports heterogeneous hardware configurations, including multi-GPU setups and older CPUs.\n\n## 2. System Architecture & Design\n\n### 2.1 Core Components\nThe architecture is built around three primary layers:\n1. **The Engine (Backend):** A compiled C++/CUDA (or HIP for AMD) binary responsible for tensor operations. It supports multiple instruction sets (AVX2, AVX-512, AVX, SSE4.2) to accommodate varying CPU capabilities.\n2. **The Model Weights:** Stored in GGUF format, utilizing advanced quantization schemes (e.g., Q2_0, IQ2_XS, IQ3_XXS). These are split into \"experts\" for Mixture-of-Experts (MoE) models.\n3. **The MTP Layer:** A draft mechanism that predicts multiple tokens ahead to accelerate decoding. This layer adds ~6 GB to the storage footprint but significantly improves throughput.\n\n### 2.2 Hardware Abstraction Layer\nPolyStrata employs a dynamic hardware detection system:\n* **NVIDIA:** Uses CUDA libraries. It attempts to load pre-compiled binaries for RTX 20/30/40/50 series. If no binary matches the GPU architecture, it triggers a one-time compilation using Visual Studio Build Tools (Windows) or `build-essential` (Linux).\n* **AMD:** Uses HIP/ROCm. On Linux, it leverages the system kernel driver (`amdgpu`) and installs ROCm wheels into a virtual environment. On Windows, it relies on the Adrenalin driver.\n* **CPU Fallback:** For models with CPU-bound experts, the engine dynamically selects the appropriate instruction set (AVX-512 > AVX2 > AVX > SSE4.2) based on the host CPU.\n\n### 2.3 Memory Management Strategy\n*", + "usage": { + "prompt_tokens": 4370, + "completion_tokens": 512, + "total_tokens": 4882, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 4370, + "prompt_ms": 1292.2, + "prompt_per_token_ms": 0.296, + "prompt_per_second": 3381.8, + "predicted_n": 512, + "predicted_ms": 2466.5, + "predicted_per_token_ms": 4.817, + "predicted_per_second": 207.6, + "draft_n": 359, + "draft_n_accepted": 288 + }, + "err": null, + "pieces": 497 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.305, + "total_s": 3.771, + "prompt_tokens": 4370, + "reused_tokens": 0, + "read_tokens": 4370, + "generated_tokens": 512, + "prompt_tps": 3381.8, + "prompt_tps_source": "engine", + "decode_tps": 207.6, + "decode_tps_source": "engine", + "prompt_ms": 1292.2, + "decode_ms": 2466.5, + "drafts_offered": 359, + "drafts_accepted": 288 + } + }, + { + "run": 2, + "source": "docs/DETAILS.md", + "messages": [ + { + "role": "user", + "content": "Run identifier 2-2. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n# PolyStrata - the details\n\nThe technical side of PolyStrata: every measured number, the API, images, all settings and how the engine works.\nNew here? Start with the [README](../README.md); installing step by step is in [INSTALL.md](INSTALL.md), the models in\n[MODELS.md](MODELS.md), common problems in [TROUBLESHOOTING.md](TROUBLESHOOTING.md).\n\n> **On this page:** [Speed](#speed-measured) \u00b7 [Other GPUs](#other-gpus-estimated) \u00b7 [Which model?](#which-model) \u00b7\n> [Requirements](#before-you-start) \u00b7 [Windows](#windows) \u00b7 [Linux](#linux) \u00b7 [API](#using-it) \u00b7\n> [MCP tools](#tools-from-mcp-servers) \u00b7 [MCP server](#manage-strata-from-your-ai-assistant-mcp-server) \u00b7\n> [Images](#images-vision) \u00b7\n> [Troubleshooting](#troubleshooting) \u00b7 [How it works](#how-it-works)\n\n---\n\n## Speed (measured)\n\nRTX 5070 **12 GB**, Ryzen 5 7600 (6 cores), 64 GB DDR5-5200, Windows, engine 0.1.26 with the settings setup writes\n(`--prefill auto`, 8-bit KV above 4K, KV streaming from 64K). One code-agent prompt per length, 256 generated tokens,\nMTP speculative decoding on. \"262K\" is the model's full context window (a 259,943-token prompt). The IQ2_XS row was\nmeasured with Swift 1.5's IQ2_XS, which runs at the original's speed.\n\n**Engine 0.1.36 (#136), the same PC:** Q2_0's prompt experts run on fused int8 tensor-core kernels (RTX 30 and newer):\n4K 1,294 -> 1,570, 32K 2,170 -> 2,653, 128K 2,123 -> 2,468 tokens/s (+16-22%), as close to an FP16 reference as the\nprevious kernels (closer at 32K: teacher-forced KL 0.009 vs 0.012). The decode path's block selection and greedy\nargmax run on thread-block clusters (RTX 50, sm_90+; other cards keep the previous kernels; the same tokens): Q2_0 output at 4K 89 -> 93.5, at 128K\n64.5 -> 76.4 tokens/s. `STRATA_PF_FUSED=0` keeps the previous prompt kernels (byte-identical answers to 0.1.35);\n`STRATA_PF_FUSED=1` also runs the native IQ packs' fused kernels (opt-in: IQ2_XS prompts +12% at 4K, +3% at 32K, the\nIQ3 packs about even; on HIP they run on gfx11 and on gfx1200 / gfx1201, see AMD_HIP.md); `STRATA_QSA_CLUSTER=0` / `STRATA_ARGMAX_MULTI=0` turn the decode kernels off. The tables\nbelow are 0.1.26's.\n\n### Prompt processing (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 536 | 1,299 | 2,171 | 2,126 | 2,107 | 1,304\u2020 |\n| **IQ2_XS** | 534 | 1,256 | 2,092 | 1,754 | 1,752 | 1,181*\u2020 |\n| **IQ3_XXS** | 482 | 1,007 | 1,745 | 1,609 | 1,602 | - |\n| **IQ3_S** | 427 | 913 | 1,624 | 1,640 | 1,443 | - |\n| **Coder** | 656 | 1,583 | 2,177 | 2,236 | 2,208 | 1,034** |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 760 | 1,275 | 1,641 | 1,594 | 1,494 | - |\n\nEngine 0.1.26; `bench/results/2026-09-29-speed-0126`. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm\n10.2 nightly with a tuned gfx1100 hipBLASLt-100500 table (upstream as [#755](https://github.com/Niko1221/Strata/pull/755)),\nthe median of 3 clean cells per tier\n(Ryzen 9 7900X, 96 GB; 1K-128K one-shot runs, 256 generated tokens,\ngreedy). At 32K-128K that is 8-28% faster than 0.1.22. \u2020 not measured\nagain: 0.1.22. \\* measured with images on (the image encoder's VRAM reserve leaves fewer experts cached). \\*\\* not\nmeasured again: 0.1.14.\n\n### Output (tokens/s)\n\n| Model | 1K | 4K | 32K | 64K | 128K | 262K |\n| --- | ---: | ---: | ---: | ---: | ---: | ---: |\n| **Q2_0** | 87.3 | 93.0 | 81.8 | 76.2 | 73.7 | 60.3\u2020 |\n| **IQ2_XS** | 79.6 | 78.6 | 76.3 | 63.7 | 62.7 | 52.8\u2020 |\n| **IQ3_XXS** | 61.9 | 61.6 | 58.5 | 57.2 | 49.0 | - |\n| **IQ3_S** | 52.4 | 53.3 | 48.3 | 46.3 | 45.5 | - |\n| **Coder** | 58.9 | 55.1 | 54.9 | 53.2 | 43.0 | 42.8\u2020 |\n| **IQ3_S** (AMD RX 7900 XTX, gfx1100) | 65.1 | 60.4 | 64.4 | 61.8 | 59.2 | - |\n\nEngine 0.1.26, the same runs. The AMD RX 7900 XTX row: engine 0.1.38 on a ROCm 10.2 nightly (tuned\ngfx1100 hipBLASLt-100500 table, upstream as [#755](https://github.com/Niko1221/Strata/pull/755)), median of 3 clean cells per tier (same box; decode is flat in\ncontext - the GDN linear attention is O(1) per token; 1K/4K prefill ran slightly under the 0.1.31\npackaged-ROCm numbers, 32K-128K ahead). \u2020 not measured again: 0.1.14.\n\nOutput speed depends on the text as well: speculative decoding runs faster when more of the drafted tokens are\naccepted, so a different answer to the same prompt moves it by several percent. Run back to back on the 4K prompt,\n0.1.14 writes 88.5 tokens/s and 0.1.12 85.7. The numbers before 0.1.13 (prompts about half as fast):\n[`bench/results/2026-09-24-final`](../bench/results/2026-09-24-final/matrix.md); these:\n[`bench/results/2026-09-28-speed-0114`](../bench/results/2026-09-28-speed-0114/README.md).\n\nIQ3_XXS and IQ3_S at 262K are not measured: with their 43 / 50 GB of experts, a 260K-token context brings a 64 GB PC\nto its memory limit by setup's estimate (the experts + the context's KV cache + 24 GB), so setup recommends up to 128K\nwith them on 64 GB. A longer context you choose (`--context 262144`, or a pick in its list) is kept, with a note: users\nran IQ3_S at 256K on 64 GB with RAM to spare (#406). In the low-RAM mode the KV cache stays in VRAM and the context\ndoes not count against RAM. IQ3_S (engine 0.1.4 or newer) is published for the original model and for Swift 1.5\n(the same shard layout as Swift's other sizes).\n\n**KV streaming (engine 0.1.5):** at 64K and more, setup keeps the context's KV cache in RAM and only the part the\nattention reads in VRAM (`--kv-resident 32768`), so more experts fit on the GPU. Q2_0 at 262K: 50.9 -> 62.6 tokens/s\n(1,589 -> 3,872 experts in VRAM); at 128K about +6%. The attention reads exactly the same values (only where the KV lives changes); it\ncosts ~13.7 KB of RAM per context token (1.7 GB at 128K). Existing installs: run `START-HERE.bat --setup` once to turn\nit on. Setup turns it on when the RAM has room for it; `--kv-streaming on|off` overrides that (on past the RAM test with a\nnote; never under WSL, which cannot stream).\n\nUnder WSL2 the driver caps what `cudaHostAlloc` may pin at about 1 GiB, so the KV host copy is pinned with `cudaHostRegister` of ordinary memory there (detected through `/dev/dxg`); `STRATA_KV_HOST_REGISTER=1` forces that order on any system and `=0` forces `cudaHostAlloc` first (the other method is the fallback in both cases). On Linux without WSL nothing changes by default; with the switch the engine prints `KV streaming: the host copy is pinned with cudaHostRegister` (#1498 by yjamil8; WSL not tested here, the forced path was run on a Tesla P100: `--kv int8 --kv-resident 32768`, answers and decode speed unchanged).\n\n**4-bit KV cache (engine 0.1.8, optional):** `START-HERE.bat --setup` asks above 8K context (or pass `--kv q4_0`). It\nhalves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR #21), about 4% faster at 128K, but it\nis measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default.\nDetails: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md).\n\n**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps\nthe keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in\nVRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5%\nslower. It streams its KV cache like the other formats (`--kv-resident N`): on an RTX 2060 SUPER 8 GB at 128K with\n20,480 resident cells, +780 expert slots over resident K8V4, and it scores better than 4-bit KV on long documents.\n\n**Reproducible greedy output (0.1.30, opt-in, `STRATA_IQ_MT_MIN=1`):** with the IQ models, the CPU computes an\nexpert for one token with ggml's dot product and for several tokens with PolyStrata's multi-token kernels, which round\nslightly differently. How many tokens share an expert depends on the drafts in a verify window, so the same prompt\nat temperature 0 can end in a different (equally good) answer when the drafting, the cache state or a resumed\nconversation differ (issue #152). `STRATA_IQ_MT_MIN=1` (in the config's `env`) uses the multi-token kernels for\nevery group: the answer then no longer depends on the drafting. Measured on a Ryzen 7600 (AVX-512): IQ3_S decode\n-1..-3%, the other models the same; the default stays the fastest rule. On an Intel CPU of Alder Lake or later\nwithout AVX-512, where the AVX-2 kernel gathers the IQ3_S grid, `STRATA_IQ3S_MT1=1` (opt-in) gives IQ3_S the multi-token\nkernel for one token, which is the faster one there; it changes a lone token's rounding, so it is off by default. Through the server, two more things carry\nover from one request to the next (#410): the adaptive tier moves experts between RAM and VRAM (the GPU and the CPU\nround an expert differently), and the prompt cache resumes a repeated prompt and reads only its tail through the\ndecode path. For byte-identical repeats add `--prompt-cache 0 --adapt-swaps 0 --pcie-frac 0` to the engine's args\nas well (#410): the PCIe share of the missed experts (computed on the GPU instead of the CPU) still made the first\nanswer after a start differ from the next ones. Measured here (IQ3_XXS, a 3.6K-token prompt, 4 repeats): with all\nthree switches 1 answer of 4, without `--pcie-frac 0` 2 of 4 (the first one differs), with the defaults 2 of 4.\n`--pcie-frac 0` costs decode speed (the missed experts all run on the CPU), so keep it for A/B runs.\n\n**Coupled drafts with Gumbel-max picks (opt-in, `STRATA_SPEC_COUPLED=1` and `STRATA_SPEC_GUMBEL=1`):** for a request\nthat samples (temperature above 0), `STRATA_SPEC_COUPLED=1` lets the draft layer sample its guesses with the target's own\nchain and random draw instead of taking its most likely token. `STRATA_SPEC_GUMBEL=1` changes how both of them pick from\nthat chain: the token with the largest p / E, where E is exponential noise keyed by the seed, the position and the token\nid (the Gumbel-max trick; it is still an exact sample of the same distribution). With the default pick, one random number\nwalked over the candidates sorted by probability, a draft and a target whose candidate lists differ in one token tend to\nland on different tokens; with noise keyed by the token, a token gets the same noise on both sides, so they agree on the\ntokens they share. Greedy requests are unchanged, and without the variables nothing changes. Measured on a Ryzen AI\nMax+ 395 (Radeon 8060S, Linux, ROCm 7.14.1, the iGPU alone), UD-Q4_K_XL, `--spec 4 --mtp` (the base model's draft\nlayer), temperature 1.0 / top_p 0.95 / top_k 20, a 1.3K-token prompt and 512 output tokens, 12-13 requests per arm:\ndrafts accepted 52.8% -> 59.9%, tokens per verify window 2.65 -> 2.88, output 41.1 -> 44.9 tokens/s (+9%); a window\ncosts the same (draft 8.8 -> 9.1 ms of 64). `sampler_parity` checks the pick against a host reference on every sampled\npath, and that its frequencies match the softmax. On an RTX 3060 (IQ3_XXS, `--spec 4 --mtp`, temperature 1.0 / top_p 0.95 / top_k 20, 12 interleaved pairs of 200-token story and code requests) `STRATA_SPEC_COUPLED=1` raised the accepted drafts from 62.1% to 66.9% and adding `STRATA_SPEC_GUMBEL=1` to 68.0%, but decode speed did not move beyond the run-to-run spread (median 43.3 tok/s with coupled alone, 42.8 with Gumbel as well): try it on your own card before relying on it.\n\n**The draft layer's tokens (0.1.27, `--draft-vocab`):** the MTP draft layer can only propose tokens from a subset\nof the vocabulary (`mtp/rt/draft_vocab.bin`). Since 0.1.27 the subset includes every Chinese, Japanese and Korean\ntoken (106,299 ids), so answers in those languages are 15-38% faster (Q2_0, RTX 5070). Its head takes ~180 MiB of\nVRAM, which the expert cache leaves free for it (0.1.28). `START-HERE.bat --setup --draft-vocab en` keeps the\nEnglish/code subset from before (40,525 ids, ~110 MiB less VRAM, English answers 1-2% faster; CJK answers get\nalmost no drafts). `--draft-vocab cyrillic` takes the English/code subset plus the whole Cyrillic script (58,963\nids): the shipped subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so Ukrainian or Russian answers got\n1.4 tokens a round; with it 2.1, and 83 -> 109 tokens/s (RTX 5090, the NVFP4 fork), English unchanged.\n`--draft-vocab fr` (0.1.39, #597) takes the English/code subset plus the 5,686 tokens that cover 99% of a French\nWikipedia corpus (46,211 ids, `tools/draft_vocab.py --corpus`): 23.6% of French text's tokens were outside the\nEnglish/code subset, 0.7% are outside this one. Drafts accepted in French answers 0.51 -> 0.60 (IQ3_XXS, RTX 5070,\n8 prompts x 2 passes; English 0.61 -> 0.63 and code 0.77 -> 0.78, no loss), and 141 -> 158 tok/s in French on an\nRTX 5090 (IQ3_S, the reporter's measurement).\n`tools/draft_vocab.py` builds and inspects subsets. When the start stops with \"the draft head does not fit\" (a\n12 GB card with a long context, #474), the engine says how much the head needs, how much VRAM is free and which\nsmaller subset fits, and the server's start error repeats it; setup suggests `--draft-vocab en` on cards under\n14 GB (only a suggestion: nothing changes unless you pass it).\n\n**Serving without the draft layer (`--mtp` is optional):** `serve` runs without `--mtp`. Drafts then come from the\nsuffix/prompt-lookup drafter only (or one token per round), every token is still verified against the model, and the\ndraft layer's VRAM (~0.7-1 GiB with its head) goes to the expert cache: 1,000 -> 1,678 slots in one A/B on an 8 GB\ncard. The conversation cache (`--conversation-cache-mib`) stays on: a parked conversation then carries no draft K/V.\n\n**Low-RAM mode (engine 0.1.26, chosen by setup):** normally all of a model's experts are copied into RAM (23-50 GB,\npinned) and the GPU holds a copy of the most-used ones. On a PC whose RAM cannot hold them beside the system (the\nexperts plus ~10 GB), setup instead maps them from one file in the model's folder (`--mmap-experts`, the pack's\n`experts.bin`, +23-50 GB of disk). The OS file cache holds what the GPU does not, and it can give that memor" + } + ], + "response": { + "first": 1.4746413584798574, + "total": 3.9815917275846004, + "text": "# Technical Analysis: PolyStrata Engine (Run Identifier 2-2)\n\n## 1. Executive Summary\nPolyStrata is a high-performance inference engine designed for running large language models (LLMs) with **Mixture of Experts (MoE)** architectures on consumer-grade hardware. Its core innovation lies in optimizing the memory bandwidth bottleneck inherent in MoE models by using aggressive quantization (down to 2-bit), dynamic expert caching, and specialized kernel optimizations for both prompt processing (prefill) and token generation (decode).\n\nThe engine is particularly notable for its handling of **long-context windows** (up to 262K tokens) via KV cache streaming and hybrid precision, allowing models that require 40-50GB+ of VRAM to run on cards with as little as 8-12GB.\n\n---\n\n## 2. Core Design & Architecture\n\n### 2.1 Mixture of Experts (MoE) Management\nUnlike dense models where all parameters are active per token, PolyStrata activates only a subset of \"experts\" per layer.\n* **Expert Caching:** The engine maintains a pool of experts in VRAM. Less frequently used experts are swapped out to system RAM or disk (via `mmap`).\n* **Dynamic Swapping:** The engine dynamically moves experts between VRAM and RAM based on usage frequency (`adapt-swaps`). This allows fitting larger models than the physical VRAM would normally allow.\n* **Low-RAM Mode:** If system RAM is insufficient to hold all experts, the engine maps the expert file directly from disk (`--mmap-experts`), relying on the OS file cache. This trades latency for capacity.\n\n### 2.2 Quantization Strategy\nPolyStrata supports multiple quantization formats to balance speed, memory, and accuracy:\n* **Q2_0:** 2-bit quantization. Highest speed, lowest VRAM usage.\n* **IQ2_XS / IQ3_XXS / IQ3_S:** Intelligent Quantization formats. These use non-uniform bit allocation to preserve accuracy for important weights while keeping the model small.\n* **KV Cache Quantization:**\n * **8-bit (Default):** Balanced precision.\n * **4-bit (Q4_0):** Halves KV cache memory but introduces ~4-12% perplexity increase. Uses Hadamard rotation before rounding to minimize error.\n * **", + "usage": { + "prompt_tokens": 5048, + "completion_tokens": 512, + "total_tokens": 5560, + "prompt_tokens_details": { + "cached_tokens": 0 + } + }, + "timings": { + "cache_n": 0, + "prompt_n": 5048, + "prompt_ms": 1459.5, + "prompt_per_token_ms": 0.289, + "prompt_per_second": 3458.7, + "predicted_n": 512, + "predicted_ms": 2508.0, + "predicted_per_token_ms": 4.898, + "predicted_per_second": 204.1, + "draft_n": 352, + "draft_n_accepted": 284 + }, + "err": null, + "pieces": 494 + }, + "metrics": { + "ok": true, + "err": null, + "ttft_s": 1.475, + "total_s": 3.982, + "prompt_tokens": 5048, + "reused_tokens": 0, + "read_tokens": 5048, + "generated_tokens": 512, + "prompt_tps": 3458.7, + "prompt_tps_source": "engine", + "decode_tps": 204.1, + "decode_tps_source": "engine", + "prompt_ms": 1459.5, + "decode_ms": 2508.0, + "drafts_offered": 352, + "drafts_accepted": 284 + } + } +] \ No newline at end of file diff --git a/bench/unbiased/2026-10-17-3090pod-step9/us2-step9-run.py b/bench/unbiased/2026-10-17-3090pod-step9/us2-step9-run.py new file mode 100644 index 0000000..be67870 --- /dev/null +++ b/bench/unbiased/2026-10-17-3090pod-step9/us2-step9-run.py @@ -0,0 +1,118 @@ +#!/usr/bin/env python3 +"""UnbiasedStrata 2, step 9 (PLAN.md section 11): upstream PolyStrata v0.1.45-poly.1 and the fork, back to back on the +same card, same model files, same context, greedy, the same client (upstream's tools/strata_bench.py, --runs 3 --long, +plus the three-document sustained supplement of the 2026-10-17 upstream run). One directory per arm under OUT. +Runs on the pod with upstream's venv: /opt/polystrata-v0.1.45-poly.1/.venv/bin/python us2-step9-run.py OUT [arm ...]""" +import sys, pathlib, subprocess, json, time, hashlib, statistics, os, shutil +ROOT = pathlib.Path('/opt/polystrata-v0.1.45-poly.1') +sys.path.insert(0, str(ROOT / 'tools')) +import strata_bench as bench # noqa: E402 +PY = str(ROOT / '.venv/bin/python') +FORK = pathlib.Path('/opt/us2-build') +M = pathlib.Path('/opt/us2-models') +OUT = pathlib.Path(sys.argv[1]); OUT.mkdir(parents=True, exist_ok=True) +FN1 = M / 'IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf' +FN2 = M / 'IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf' +PACK = M / 'pack-iq3-xxs'; MTP = M / 'mtp' +Q36 = M / 'qwen36-mtp/Qwen3.6-35B-A3B-UD-Q3_K_M.gguf' +FN_ENGINE_ARGS = ['--pack', str(PACK), '--native', str(FN1), '--ple-gguf', str(FN2), '--expert-profile', str(PACK / 'expert-profile.bin'), + '--expert-cache', 'auto', '--prefill', 'auto', '--spec', '4', '--spec-min-p', '0.5', '--mtp', str(MTP), + '--max-context', '65536', '--kv', 'int8', '--ple-io', 'ram', '--pool-workers', '15', '--kv-resident', '32768'] +def q36_args(profile): return ['--model', str(Q36), '--max-context', '32768', '--expert-profile', profile, '--tail-skip', '6'] +UP_POLY = ROOT / 'build/strata-poly' +if not UP_POLY.exists(): + UP_POLY = FORK / 'build/bin/strata-poly' # recorded in the arm's provenance if it happens + +def sha(p): h = hashlib.sha256(); f = open(p, 'rb'); [h.update(b) for b in iter(lambda: f.read(1 << 22), b'')]; return h.hexdigest() + +ARMS = { + 'upstream-flash-next': dict(port=18080, model='qwen3.8-flash-next-iq3_xxs', engine=str(ROOT / 'build/strata'), + cfg=lambda d: {'exe': str(ROOT / 'build/strata'), 'cwd': str(ROOT), 'tokenizer': str(PACK / 'tokenizer'), 'model_name': 'qwen3.8-flash-next-iq3_xxs', + 'log': str(d / 'engine.log'), 'args': FN_ENGINE_ARGS, 'sampling': {'temperature': 0.6, 'top_p': 0.95, 'top_k': 20, 'min_p': 0.0}, 'fit_max_tokens': True}, + cmd=lambda d, cfg: [PY, str(ROOT / 'serve/server.py'), '--engine', 'strata', '--config', str(cfg), '--host', '127.0.0.1', '--port', '18080']), + 'fork-flash-next': dict(port=18090, model='qwen3.8-flash-next-iq3_xxs', engine=str(FORK / 'build/bin/strata'), + cfg=lambda d: {'exe': str(FORK / 'build/bin/unbiased-strata'), 'engine': str(FORK / 'build/bin/strata'), 'model_name': 'qwen3.8-flash-next-iq3_xxs', 'args': FN_ENGINE_ARGS}, + cmd=lambda d, cfg: [str(FORK / 'build/bin/unbiased-strata'), '--engine', str(FORK / 'build/bin/strata'), '-m', str(FN1), '--host', '127.0.0.1', '--port', '18090', + '--alias', 'qwen3.8-flash-next-iq3_xxs', '--'] + FN_ENGINE_ARGS), + 'upstream-qwen36-q3km': dict(port=18080, model='qwen3.6-35b-a3b-ud-q3_k_m', engine=str(UP_POLY), + cfg=lambda d: {'exe': str(UP_POLY), 'cwd': str(ROOT), 'tokenizer': str(M / 'qwen36-mtp/pack-q3km/tokenizer'), 'model_name': 'qwen3.6-35b-a3b-ud-q3_k_m', + 'log': str(d / 'engine.log'), 'args': q36_args(str(d / 'expert-profile.txt')), 'sampling': {'temperature': 0.6, 'top_p': 0.95, 'top_k': 20, 'min_p': 0.0}, 'fit_max_tokens': True}, + cmd=lambda d, cfg: [PY, str(ROOT / 'serve/server.py'), '--engine', 'strata', '--config', str(cfg), '--host', '127.0.0.1', '--port', '18080']), + 'fork-qwen36-q3km': dict(port=18091, model='qwen3.6-35b-a3b-ud-q3_k_m', engine=str(FORK / 'build/bin/strata-poly'), + cfg=lambda d: {'exe': str(FORK / 'build/bin/unbiased-strata'), 'engine': str(FORK / 'build/bin/strata-poly'), 'model_name': 'qwen3.6-35b-a3b-ud-q3_k_m', 'args': q36_args(str(d / 'expert-profile.txt'))}, + cmd=lambda d, cfg: [str(FORK / 'build/bin/unbiased-strata'), '--engine', str(FORK / 'build/bin/strata-poly'), '-m', str(Q36), '--host', '127.0.0.1', '--port', '18091', + '--alias', 'qwen3.6-35b-a3b-ud-q3_k_m', '--'] + q36_args(str(d / 'expert-profile.txt'))), +} +order = sys.argv[2:] or list(ARMS) + +def stat(v): + v = [x for x in v if isinstance(x, (int, float))] # the fork streams no usage block, so prompt_tokens may be None + return {'median': statistics.median(v), 'min': min(v), 'max': max(v), 'n': len(v)} if v else None + +def summarize(d): + c = json.loads(next((d / 'community').rglob('results.json')).read_text()); r = c['results'] + s = json.loads((d / 'sustained.json').read_text()) + rows = r['chat']['requests'] + [q for v in r['prompts'].values() for q in v['requests']] + [q for v in r['agent']['sessions'] for q in v] + [x['metrics'] for x in s] + checks = {'requests': len(rows), 'all_successful': all(x['ok'] for x in rows), 'skipped': r['skipped'], 'failures': r['failures']} + sust = {k: stat(x['metrics'][k] for x in s) for k in ['decode_tps', 'prompt_tps', 'ttft_s', 'total_s']} + off = sum(x['metrics'].get('drafts_offered') or 0 for x in s) + sust['draft_acceptance_pct'] = 100 * sum(x['metrics'].get('drafts_accepted') or 0 for x in s) / off if off else None + per = {} + for rel in sorted({x['source'] for x in s}): + xs = [x['metrics'] for x in s if x['source'] == rel] + per[rel] = {k: stat(x[k] for x in xs) for k in ['prompt_tokens', 'decode_tps', 'prompt_tps', 'ttft_s', 'total_s']} + summary = {'checks': checks, 'sustained': sust, 'chat': r['chat'].get('decode_tps'), 'chat_ttft_s': r['chat'].get('ttft_s'), + 'prefill': {k: v['prompt_tps'] for k, v in r['prompts'].items()}, 'prefill_ttft_s': {k: v['ttft_s'] for k, v in r['prompts'].items()}, + 'agent': {k: r['agent'].get(k) for k in ('turn_decode_tps', 'turn_ttft_s', 'turn_prompt_tps') if r['agent'].get(k) is not None}, 'per_document': per} + (d / 'summary.json').write_text(json.dumps(summary, indent=1) + '\n'); return summary + +def run_arm(name): + a = ARMS[name]; d = OUT / name; d.mkdir(parents=True, exist_ok=True) + cfg = d / 'server.json'; cfg.write_text(json.dumps(a['cfg'](d), indent=1) + '\n') + cmd = a['cmd'](d, cfg); (d / 'server-command.json').write_text(json.dumps(cmd, indent=1) + '\n') + prov = {'arm': name, 'engine_binary': a['engine'], 'engine_sha256': sha(a['engine']), 'fork_commit': subprocess.run(['git', '-C', str(FORK), 'rev-parse', 'HEAD'], capture_output=True, text=True).stdout.strip(), + 'nvidia_smi': subprocess.run(['nvidia-smi', '--query-gpu=name,driver_version,memory.total', '--format=csv,noheader'], capture_output=True, text=True).stdout.strip(), + 'cpu_quota': (open('/sys/fs/cgroup/cpu/cpu.cfs_quota_us').read().strip() + '/' + open('/sys/fs/cgroup/cpu/cpu.cfs_period_us').read().strip()) if os.path.exists('/sys/fs/cgroup/cpu/cpu.cfs_quota_us') else 'n/a', + 'started_utc': time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime())} + (d / 'provenance.json').write_text(json.dumps(prov, indent=1) + '\n') + base = f"http://127.0.0.1:{a['port']}" + log = open(d / 'server.log', 'w') + proc = subprocess.Popen(cmd, cwd=ROOT, stdout=log, stderr=subprocess.STDOUT) + ok = False + try: + if not bench.wait_ready(base, '', proc, 1800, lambda s: print(f'[{name}] {s}', flush=True)): + raise RuntimeError('server failed to start; see server.log') + (d / 'health.json').write_text(json.dumps(bench.http_json(base, '/health'), indent=1)) + bcmd = [PY, str(ROOT / 'tools/strata_bench.py'), '--url', base, '--config', str(cfg), '--runs', '3', '--long', '--out', str(d / 'community')] + (d / 'benchmark-command.json').write_text(json.dumps(bcmd, indent=1)) + t0 = time.time(); subprocess.run(bcmd, cwd=ROOT, check=True); bench_s = time.time() - t0 + rows = [] + for run in range(3): + for i, rel in enumerate(['docs/HOW_IT_WORKS.md', 'docs/INSTALL.md', 'docs/DETAILS.md']): + body = (ROOT / rel).read_text()[:14000] + messages = [{'role': 'user', 'content': f'Run identifier {run}-{i}. Read the following project documentation and write a detailed technical explanation of its design, tradeoffs, and how someone would use it in practice.\n\n{body}'}] + response = bench.chat(base, '', messages, 512, False) + row = {'run': run, 'source': rel, 'messages': messages, 'response': response, 'metrics': bench.digest(response)} + rows.append(row); (d / 'sustained.json').write_text(json.dumps(rows, indent=1)) + print(f'[{name}] SUSTAINED {rel} {run} {json.dumps(row["metrics"])}', flush=True) + if not row['metrics']['ok']: raise RuntimeError('sustained request failed') + ok = True + (d / 'complete.json').write_text(json.dumps({'complete': True, 'bench_seconds': bench_s, 'finished_utc': time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime())}, indent=1)) + finally: + bench.stop_server(proc) + for _ in range(30): + if proc.poll() is not None: break + time.sleep(1) + log.close() + subprocess.run(['pkill', '-x', 'unbiased-strata']); subprocess.run(['pkill', '-x', 'strata']); subprocess.run(['pkill', '-x', 'strata-poly']); time.sleep(5) + (d / 'server-exit.json').write_text(json.dumps({'returncode': proc.poll()})) + if ok: + print(f'[{name}] SUMMARY ' + json.dumps({k: summarize(d)[k] for k in ('chat', 'prefill', 'sustained')}, default=str)[:1500], flush=True) + +if os.environ.get('US2_SUMMARIZE_ONLY'): + for name in order: print(f'[{name}] SUMMARY ' + json.dumps({k: summarize(OUT / name)[k] for k in ('chat', 'prefill', 'sustained')}, default=str)[:1500], flush=True) + sys.exit(0) +for name in order: + print(f'===== {name} {time.strftime("%H:%M:%S")} =====', flush=True) + run_arm(name) +print('ALL ARMS DONE', flush=True) diff --git a/docs/MODEL-FILES.md b/docs/MODEL-FILES.md index 7fb4f1b..f6cae1a 100644 --- a/docs/MODEL-FILES.md +++ b/docs/MODEL-FILES.md @@ -9,8 +9,8 @@ with correct text, streaming, a tool call and reasoning, through `frontend/tests | File | Source | Size (bytes) | SHA-256 | Engine | Boxes | Status | | --- | --- | --- | --- | --- | --- | --- | -| `Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf` + `-00002-of-00002.gguf`, with `pack-iq3-xxs/` and `mtp/` made by upstream's `tools/iq_pack.py` and `tools/mtp_rt.py` | Niko1221 Strata GSQ-RCO release; pack and MTP built 2026-10-05 (`artifacts.sha256` on the pod) | 47,039,860,096 + 28,800,138,432 | shards unhashed; pack `dense.bin` `d2af3d83…`, mtp `dense.bin` `c724dc0b…` (full hashes in `bench/unbiased/*/engine-info.txt`) | `strata` | RTX 3090 pod, A6000 VM | works (2026-10-17: A6000 `bench/unbiased/2026-10-17-a6000-flash-next-iq3xxs-step6/`, RTX 3090 pod `…-3090pod-flash-next-iq3xxs-step6/`; the greedy answers of the two boxes are identical, and identical to upstream PolyStrata v0.1.45-poly.1 on the same files on the pod: `…-3090pod-…/upstream-compare/`; pi completed the multi-step coding task against it on the pod, `…-3090pod-flash-next-iq3xxs-step7-pi/`, and the request-shape checks pass, `…-step7-shapes/`) | -| `Qwen3.6-35B-A3B-UD-Q3_K_M.gguf` (MTP draft block in the file) | `unsloth/Qwen3.6-35B-A3B-MTP-GGUF` @ `5bc3e238` | 17,104,402,720 | `8966dd0cd8c543c4228490a2a8b0e0814fc4f1e6a8e199ceed4de6754ae7b8e1` | `strata-poly` | pod, A6000 VM | works (2026-10-17, RTX 3090 pod: `bench/unbiased/2026-10-17-3090pod-qwen36-ud-q3km-mtp-step6/`; 211 to 227 tok/s decode on short prompts, 88% of drafts accepted); A6000 `…-a6000-qwen36-ud-q3km-mtp-step6/`, 214 to 235 tok/s); the measured configuration of PLAN.md section 6 | +| `Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf` + `-00002-of-00002.gguf`, with `pack-iq3-xxs/` and `mtp/` made by upstream's `tools/iq_pack.py` and `tools/mtp_rt.py` | Niko1221 Strata GSQ-RCO release; pack and MTP built 2026-10-05 (`artifacts.sha256` on the pod) | 47,039,860,096 + 28,800,138,432 | shards unhashed; pack `dense.bin` `d2af3d83…`, mtp `dense.bin` `c724dc0b…` (full hashes in `bench/unbiased/*/engine-info.txt`) | `strata` | RTX 3090 pod, A6000 VM | works (2026-10-17: A6000 `bench/unbiased/2026-10-17-a6000-flash-next-iq3xxs-step6/`, RTX 3090 pod `…-3090pod-flash-next-iq3xxs-step6/`; the greedy answers of the two boxes are identical, and identical to upstream PolyStrata v0.1.45-poly.1 on the same files on the pod: `…-3090pod-…/upstream-compare/`; pi completed the multi-step coding task against it on the pod, `…-3090pod-flash-next-iq3xxs-step7-pi/`, and the request-shape checks pass, `…-step7-shapes/`; step 9 upstream-vs-fork measurement on the pod, `…-3090pod-step9/`: fork faster on every workload) | +| `Qwen3.6-35B-A3B-UD-Q3_K_M.gguf` (MTP draft block in the file) | `unsloth/Qwen3.6-35B-A3B-MTP-GGUF` @ `5bc3e238` | 17,104,402,720 | `8966dd0cd8c543c4228490a2a8b0e0814fc4f1e6a8e199ceed4de6754ae7b8e1` | `strata-poly` | pod, A6000 VM | works (2026-10-17, RTX 3090 pod: `bench/unbiased/2026-10-17-3090pod-qwen36-ud-q3km-mtp-step6/`; 211 to 227 tok/s decode on short prompts, 88% of drafts accepted); A6000 `…-a6000-qwen36-ud-q3km-mtp-step6/`, 214 to 235 tok/s); the measured configuration of PLAN.md section 6; step 9 upstream-vs-fork on the pod, `…-3090pod-step9/`: decode within noise, 16K prefill 2.3 % slower, to explain | | `Qwen3.6-35B-A3B-UD-IQ4_XS.gguf` (MTP draft block in the file; `/Volumes/models/qwen3.6/MTP/…-IQ4_XS-MTP.gguf` locally) | `unsloth/Qwen3.6-35B-A3B-MTP-GGUF` @ `5bc3e238` | 18,209,036,576 | `df27a780435b7b45c2597536112ea3cb091f8544c3d0c3318d9f4258b31f7adf` | `strata-poly` | pod, A6000 VM | works (2026-10-17: A6000 `bench/unbiased/2026-10-17-a6000-qwen36-ud-iq4xs-mtp-step6/`, 207 to 215 tok/s decode on short prompts; RTX 3090 pod `…-3090pod-qwen36-ud-iq4xs-mtp-step6/`, 205 to 245 tok/s; pi completed a multi-step coding task against it on the A6000, `…-step7-pi/`); chosen as the local-use quant | | `Qwen3.6-35B-A3B-UD-IQ4_XS.gguf` (no draft block) | `unsloth/Qwen3.6-35B-A3B-GGUF` | 17,730,509,792 | `649d7508507b84638732c4f52c24c8b15843c6dca2f3ff793ae07c14a67ebbb3` | `strata-poly` | pod | on disk, untried: without the draft block the engine runs without speculation | | `Qwen3.6-35B-A3B-UD-Q3_K_M.gguf` (no draft block) | `unsloth/Qwen3.6-35B-A3B-GGUF` | 16,600,710,112 | `1b715841683f960bd9a49f008181bd910ee169b78d4cf465b6fde7f4d929ff99` | `strata-poly` | pod | on disk, untried; downloaded by mistake for the row above, kept to compare |