okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-142c-small into f-142407ea8192

main
6.1 KiB114 linesraw

Community benchmark on RTX 5060 Ti 16 GB (WSL2) + GSQ-RCO IQ3_S

Measured on 2026-10-09 by kgmkm. Single-GPU serve of the official ISTA-DASLab GSQ-RCO IQ3_S on engine 0.1.41 under WSL2, with experimental speed projection (ESP) enabled. Main limitations: one run per condition (no median/range), TTFT and needle recall not measured, WSL2 + virtiofs stack rather than native Linux.

Hardware and software

  • GPU and VRAM: NVIDIA GeForce RTX 5060 Ti 16 GB (16311 MiB), single-GPU serve. A second card (RTX A4000 16 GB) is present but idle (0 MiB). PCIe Gen4 x8, probed 14.1 GB/s host->device, so pcie_frac 0.39.
  • CPU: AMD Ryzen 7 3700X, 8 cores / 16 threads, no AVX-512 (AVX2 expert kernels); 7 pool workers.
  • Installed RAM: 128 GB host; WSL2 VM 78 GiB. Engine arena ~48 GB; about 50 GB used / 27 GB free during the runs.
  • Storage: model served from a Windows NVMe drive (KLEVV CRAS C720 2 TB) mounted in WSL2 via virtiofs from a Windows partition on the same NVMe drive. Sequential read 1.1 GB/s; engine load 46.84 GiB at 1.75 GiB/s.
  • OS: Windows 11 26H2 (build 26300); WSL components 3.0.1.0 with the Ubuntu distro running in WSL2 mode (kernel 6.18.40.1-microsoft-standard-WSL2), Ubuntu 24.04.2 LTS. Driver 616.92, nvidia-smi 615.71.08, CUDA UMD 13.4; CUDA toolkit 13.0 for the build.
  • Strata commit fb58e0db (v0.1.41), source build via wsl-build.py (135/135 objects); engine 0.1.41 (src 62eb4907c92a8cb7).
  • Background workloads: none; the server had been idle (last request more than 10 hours earlier).

Model and configuration

  • Model repository: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, IQ3_S/ (3.50 bpw). Shard sizes: 54,817,524,224 B + 28,800,138,432 B; mmproj BF16 907,543,008 B. Repository revision was not recorded at download time. Vision encoder disabled.
  • Custom pack: Strata-data/packs/iq3_s (dense 1.5 GB), MTP rt/ runtime, 24576-pair expert profile; prepared with setup.py --setup --family qwen --model IQ3_S --experimental-speed-projection on.
  • Context 131072; KV int8; expert cache auto (3627 slots, 6.94 GiB VRAM, PROFILE-ranked, prefilled in 0.7 s); prefill auto; spec 4 on the command line (adapted to spec 6 / mtp_max 4 at runtime); spec_min_p 0.50.
  • Reasoning: reasoning_effort: none per request; sampling and temperature left at defaults.
  • ESP enabled: control vector project, per-layer, layers 4-44 (41 steered), scale 1.0. A refusal A/B with ESP on/off is included below.
  • No manual pool-worker, VRAM-reserve, or calibration tuning.
serve/server.py --engine strata --config strata-iq3_s.json --port 8083
  --host 0.0.0.0 --gpu 1 --fit-max-tokens --api-key <redacted>

Full sanitized config: config-stock.json. Note the config file carries "gpu": [1, 0] (a layer split written by setup), but the launcher's --gpu 1 overrode it: nvidia-smi showed GPU0 at 0 MiB and GPU1 at ~15.7 GiB, i.e. single-GPU serve. The engine log indexes the serving card as "GPU 0: NVIDIA GeForce RTX 5060 Ti".

Method

  • benchmark-iq3s.sh (packaged, run 2026-10-09 01:14 JST): a warm-up ("Say hello.", 8 tokens), then each condition once with a unique prompt (0 reused tokens every time): two 1100-word generations (story about a lighthouse keeper, factual article on tides; max_tokens 1400), two prompt reads (unique nonsense-word documents of 3,820 and 19,196 actual tokens; max_tokens 16/24, reply limited to the first word), and one refusal probe (dark-fantasy execution scene) sent twice with experimental_speed_projection true and false (max_tokens 500).
  • Timing boundaries: the engine log's own lines (prompt N tokens = R reused + M read in X ms (Y tok/s), G generated in Z ms (W tok/s)); client-side wall clock is also listed and includes ~2-4 s of HTTP/python overhead versus the engine sums.
  • Engine 0.1.41 caveat: prompt chunks under 1024 tokens partly run on the CPU (STRATA_PREFILL_CPU_SHARE default), so the 47-48-token prompt reads below carry that caveat; long prompts and decode are unaffected.
  • Memory: nvidia-smi plus a /metrics snapshot after the runs (metrics-stock.json).

Results

ConfigurationActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s median and rangeDecode tok/s median and rangeTTFT seconds median and range
decode-story (1100-word lighthouse story)4801400 (finish=length)145.4 (single run)48.2 (single run)not measured
decode-explan (1100-word tides article)4701284 (finish=stop)141.9 (single run)47.7 (single run)not measured
prompt-4k (unique nonsense-word document)3820051343.0 (single run)n/a (5 output tokens)not measured
prompt-20k (same, longer document)19196041598.3 (single run)n/a (4 output tokens)not measured

Per-request rows: requests.csv. Per-condition medians (each of one run): measurements.csv. Engine timing excerpts: engine-logs/.

  • Draft acceptance: story 737/1256 (58.7%), explan 728/1180 (61.7%).
  • Decode expert cache hit rate: 86.1% best, 76.6% on the other run.
  • ESP refusal A/B on the same dark-fantasy prompt: ESP on generated 500 tokens (finish=length, scene written to the cap); ESP off stopped at 106 tokens (finish=stop) with a refusal text offering a milder rewrite. ESP demonstrably avoids the refusal on this aligned (non-uncensored) model.
  • VRAM free: 379 MiB at measure time (~180 MiB later under normal desktop load; drifts with other VRAM users, as documented for this box).
  • No failures, no skipped cases, no client-side retries in these runs.

Correctness and limitations

  • No needle recall test (not measured); vision not tested; no soak run; TTFT not measured; no temperature sampling.
  • Single run per condition: no median/range and no repeatability assessment (in particular not for short-prompt reads under the 0.1.41 CPU-share default).
  • WSL2 + virtiofs: these numbers describe that stack, not native Linux on the same card.
  • Untested: other quantizations, contexts above 131072, a layer split across the A4000, --batch, calibration sweeps, concurrent requests.
1# Community benchmark on RTX 5060 Ti 16 GB (WSL2) + GSQ-RCO IQ3_S
2
3Measured on 2026-10-09 by kgmkm. Single-GPU serve of the official
4ISTA-DASLab GSQ-RCO IQ3_S on engine 0.1.41 under WSL2, with experimental
5speed projection (ESP) enabled. Main limitations: one run per condition
6(no median/range), TTFT and needle recall not measured, WSL2 + virtiofs
7stack rather than native Linux.
8
9## Hardware and software
10
11- GPU and VRAM: NVIDIA GeForce RTX 5060 Ti 16 GB (16311 MiB), single-GPU
12  serve. A second card (RTX A4000 16 GB) is present but idle (0 MiB).
13  PCIe Gen4 x8, probed 14.1 GB/s host->device, so pcie_frac 0.39.
14- CPU: AMD Ryzen 7 3700X, 8 cores / 16 threads, no AVX-512 (AVX2 expert
15  kernels); 7 pool workers.
16- Installed RAM: 128 GB host; WSL2 VM 78 GiB. Engine arena ~48 GB;
17  about 50 GB used / 27 GB free during the runs.
18- Storage: model served from a Windows NVMe drive (KLEVV CRAS C720 2 TB)
19  mounted in WSL2 via virtiofs from a Windows partition on the same NVMe drive.
20  Sequential read 1.1 GB/s;
21  engine load 46.84 GiB at 1.75 GiB/s.
22- OS: Windows 11 26H2 (build 26300); WSL components 3.0.1.0 with the
23  Ubuntu distro running in WSL2 mode
24  (kernel 6.18.40.1-microsoft-standard-WSL2), Ubuntu 24.04.2 LTS.
25  Driver 616.92, nvidia-smi 615.71.08, CUDA UMD 13.4; CUDA toolkit 13.0
26  for the build.
27- Strata commit fb58e0db (v0.1.41), source build via wsl-build.py
28  (135/135 objects); engine 0.1.41 (src 62eb4907c92a8cb7).
29- Background workloads: none; the server had been idle (last request
30  more than 10 hours earlier).
31
32## Model and configuration
33
34- Model repository: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, IQ3_S/
35  (3.50 bpw). Shard sizes: 54,817,524,224 B + 28,800,138,432 B;
36  mmproj BF16 907,543,008 B. Repository revision was not recorded at
37  download time. Vision encoder disabled.
38- Custom pack: Strata-data/packs/iq3_s (dense 1.5 GB), MTP rt/ runtime,
39  24576-pair expert profile; prepared with
40  `setup.py --setup --family qwen --model IQ3_S --experimental-speed-projection on`.
41- Context 131072; KV int8; expert cache auto (3627 slots, 6.94 GiB VRAM,
42  PROFILE-ranked, prefilled in 0.7 s); prefill auto; spec 4 on the
43  command line (adapted to spec 6 / mtp_max 4 at runtime); spec_min_p 0.50.
44- Reasoning: `reasoning_effort: none` per request; sampling and
45  temperature left at defaults.
46- ESP enabled: control vector `project`, `per-layer`, layers 4-44
47  (41 steered), scale 1.0. A refusal A/B with ESP on/off is included below.
48- No manual pool-worker, VRAM-reserve, or calibration tuning.
49
50```text
51serve/server.py --engine strata --config strata-iq3_s.json --port 8083
52  --host 0.0.0.0 --gpu 1 --fit-max-tokens --api-key <redacted>
53```
54
55Full sanitized config: `config-stock.json`. Note the config file carries
56`"gpu": [1, 0]` (a layer split written by setup), but the launcher's
57`--gpu 1` overrode it: nvidia-smi showed GPU0 at 0 MiB and GPU1 at
58~15.7 GiB, i.e. single-GPU serve. The engine log indexes the serving
59card as "GPU 0: NVIDIA GeForce RTX 5060 Ti".
60
61## Method
62
63- `benchmark-iq3s.sh` (packaged, run 2026-10-09 01:14 JST): a warm-up
64  ("Say hello.", 8 tokens), then each condition once with a unique prompt
65  (0 reused tokens every time): two 1100-word generations (story about a
66  lighthouse keeper, factual article on tides; max_tokens 1400), two
67  prompt reads (unique nonsense-word documents of 3,820 and 19,196 actual
68  tokens; max_tokens 16/24, reply limited to the first word), and one
69  refusal probe (dark-fantasy execution scene) sent twice with
70  `experimental_speed_projection` true and false (max_tokens 500).
71- Timing boundaries: the engine log's own lines
72  (`prompt N tokens = R reused + M read in X ms (Y tok/s),
73  G generated in Z ms (W tok/s)`); client-side wall clock is also listed
74  and includes ~2-4 s of HTTP/python overhead versus the engine sums.
75- Engine 0.1.41 caveat: prompt chunks under 1024 tokens partly run on
76  the CPU (`STRATA_PREFILL_CPU_SHARE` default), so the 47-48-token prompt
77  reads below carry that caveat; long prompts and decode are unaffected.
78- Memory: nvidia-smi plus a `/metrics` snapshot after the runs
79  (`metrics-stock.json`).
80
81## Results
82
83| 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 |
84| --- | ---: | ---: | ---: | ---: | --- | --- | --- |
85| decode-story (1100-word lighthouse story) | 48 | 0 | 1400 (finish=length) | 1 | 45.4 (single run) | 48.2 (single run) | not measured |
86| decode-explan (1100-word tides article) | 47 | 0 | 1284 (finish=stop) | 1 | 41.9 (single run) | 47.7 (single run) | not measured |
87| prompt-4k (unique nonsense-word document) | 3820 | 0 | 5 | 1 | 343.0 (single run) | n/a (5 output tokens) | not measured |
88| prompt-20k (same, longer document) | 19196 | 0 | 4 | 1 | 598.3 (single run) | n/a (4 output tokens) | not measured |
89
90Per-request rows: `requests.csv`. Per-condition medians (each of one run):
91`measurements.csv`. Engine timing excerpts: `engine-logs/`.
92
93- Draft acceptance: story 737/1256 (58.7%), explan 728/1180 (61.7%).
94- Decode expert cache hit rate: 86.1% best, 76.6% on the other run.
95- ESP refusal A/B on the same dark-fantasy prompt: ESP on generated
96  500 tokens (finish=length, scene written to the cap); ESP off stopped
97  at 106 tokens (finish=stop) with a refusal text offering a milder
98  rewrite. ESP demonstrably avoids the refusal on this aligned
99  (non-uncensored) model.
100- VRAM free: 379 MiB at measure time (~180 MiB later under normal desktop
101  load; drifts with other VRAM users, as documented for this box).
102- No failures, no skipped cases, no client-side retries in these runs.
103
104## Correctness and limitations
105
106- No needle recall test (not measured); vision not tested; no soak run;
107  TTFT not measured; no temperature sampling.
108- Single run per condition: no median/range and no repeatability
109  assessment (in particular not for short-prompt reads under the 0.1.41
110  CPU-share default).
111- WSL2 + virtiofs: these numbers describe that stack, not native Linux
112  on the same card.
113- Untested: other quantizations, contexts above 131072, a layer split
114  across the A4000, `--batch`, calibration sweeps, concurrent requests.