[GH-ISSUE #5166] [Benchmark] Qwen3.8-Flash-Next IQ3_XXS on RTX 5070 12GB : 141.3 tok/s (Strata 0.2.10) #3072

Closed
opened 2026-11-07 14:37:50 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @AndrewDBN on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5166

i7-12700K, 64GB DDR4 (61.3 available), RTX 5070 12GB - pcie gen5, nvme SSD, Linux Ubuntu 26.04, cuda13, Strata 0.2.10
Both CPU and GPU undervolted.
mtp-bench-3.py from PR #4877
After much tinkering, these are my best results so far.


tools/strata_bench.py

Community benchmark on NVIDIA GeForce RTX 5070

Measured on 2026-11-04 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 5070, 12 GiB VRAM
  • CPU: 12th Gen Intel(R) Core(TM) i7-12700K (12 cores, 20 threads); installed RAM: 61.3 GiB; storage: nvme2n1 WDS100T1X0E-00AFY0 nvme; nvme1n1 WD Blue SN570 500GB nvme; nvme3n1 WDS100T1X0E-00AFY0 nvme; nvme0n1 WDS200T1X0E-00AFY0 nvme
  • OS: Linux 7.0.0-38-generic; GPU driver: 615.71.10; CUDA (driver supports up to): 13.4
  • Strata: project ?, commit not a git checkout; engine 0.1.56
  • GPU detail (after the run, near idle): power_limit_w=300.00, power_draw_w=131.14, pcie=gen5 x16, pstate=P1, temp_c=49
  • Background workloads: not recorded (GPU power limit/draw read above)

Model and configuration

  • Model and quantization: qwen3.8-flash-next-iq3_xxs
  • Context: 192000 tokens; parallel slots: 1
  • Settings: the install's own configuration, unchanged; thinking off for the suite; temperature 0

Method

Run by python tools/strata_bench.py against the HTTP API of a Strata 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 118.7 (91.5-152.5) 0.35 (0.31-0.36)
4K prompt, fresh 4019 (4019-4019) 0 (0-0) 24 cap 3 2236.3 (2178.9-2273.6) not measured 1.81 (1.78-1.86)
16K prompt, fresh 16058 (16058-16058) 0 (0-0) 24 cap 3 2729.3 (2714.3-2739.6) not measured 5.91 (5.88-5.94)
agent session, follow-up turns 9034 (9026-9059) at the last turn see below up to 64 3 see below 131.7 (85.7-183.5) 1.12 (0.95-1.37)

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: 70.7 % (70.7-71.1); earlier-turn tokens read again per session: 73 (3-73) (earlier turns that the cache did not hold; the 8206 (8206-8206) new tokens of the files are read once); first turn (nothing cached) first token: 1.28 s (1.22-1.36).

Turn (run 1) Prompt tokens Reused Read Prompt tok/s First token (s) Decode tok/s
0 609 0 609 507.6 1.215 91.4
1 2261 621 1640 1720.3 0.968 107.4
2 3967 2325 1642 1600.4 1.042 107.3
3 5673 3960 1713 1268.1 1.367 117.7
4 7343 5701 1642 1424.0 1.169 164.3
5 9026 7384 1642 1433.9 1.161 169.2

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 is not recorded. Total time of the suite: 65 s.


mtp-bench-3.py

$ ~/AI/Benchmarks$ ~/AI/Benchmarks/mtp-bench-3.py --url http://127.0.0.1:8090
==============================================================================
MTP benchmark — subject under test
Inference engine : Strata  (version 0.1.56)
LLM / model      : qwen3.8-flash-next-iq3_xxs
Request dialect  : strata-chat
Model path       : /home/andrew/projects/Strata-data/models/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf
Endpoint         : http://127.0.0.1:8090
Engine project   : https://github.com/Niko1221/Strata
Engine settings  : drafting=mtp, spec=12, mtp_max=4, lookup=3, spec_min_p=0.50, kv=int8, context=192000, expert_slots=2918, pool_workers=11, gpu_name=NVIDIA GeForce RTX 5070
note: /health: service=strata model=qwen3.8-flash-next-iq3_xxs max_context=192000 loaded=True
note: request dialect: POST /v1/chat/completions (Strata has no llama.cpp POST /completion — that route 404s)
note: drafting method: mtp (spec=12 mtp_max=4 lookup=3)
==============================================================================
Running 9 prompts (max_tokens=192, temperature=0.0, seed=42) via strata-chat

  code_python        pred= 192 draft= 141 acc= 125 rate=0.886 tok/s=149.1
  code_cpp           pred= 192 draft= 130 acc= 101 rate=0.777 tok/s=132.7
  explain_concept    pred= 192 draft= 145 acc= 103 rate=0.710 tok/s=128.3
  summarize          pred= 179 draft= 154 acc= 122 rate=0.792 tok/s=151.6
  qa_factual         pred=  88 draft=  69 acc=  61 rate=0.884 tok/s=169.4
  translation        pred= 123 draft=  94 acc=  70 rate=0.745 tok/s=141.6
  creative_short     pred= 128 draft=  96 acc=  71 rate=0.740 tok/s=137.8
  stepwise_math      pred= 192 draft= 155 acc= 115 rate=0.742 tok/s=141.6
  long_code_review   pred= 192 draft= 174 acc= 123 rate=0.707 tok/s=139.7

Benchmark results — engine: Strata 0.1.56 | LLM: qwen3.8-flash-next-iq3_xxs | dialect: strata-chat
Aggregate: {
  "n_requests": 9,
  "total_predicted": 1478,
  "total_draft": 1158,
  "total_draft_accepted": 891,
  "aggregate_accept_rate": 0.7694,
  "wall_s_total": 15.5,
  "total_cache_n": 0,
  "decode_expert_hit_rate_mean": 0.9466,
  "decode_expert_hit_rate_requests": 9,
  "decode_expert_hit_rate_min": 0.929,
  "decode_expert_hit_rate_max": 0.962,
  "decode_expert_hit_rate_weighted": 0.9455,
  "expert_pcie_share_mean": 0.0063,
  "server_delta": {
    "requests": 9,
    "output_tokens": 1478,
    "drafts_offered": 1158,
    "drafts_accepted": 891,
    "reused": 0,
    "prompt_ms": 5017.3,
    "decode_ms": 10459.3,
    "server_accept_rate": 0.7694,
    "server_decode_tok_s": 141.3
  },
  "per_request_accept_rate": 0.7694,
  "server_accept_rate": 0.7694
}
Aggregate decode expert cache hit rate: 94.7%
(token-weighted 94.5% | per-request 92.9%-96.2% | experts read over PCIe 0.63%)

Expert cache: 2918 expert slots / 4887 MiB VRAM
note: per-request draft counters matches server counters (server: 891->891 accepted of 1158->1158 offered)
Originally created by @AndrewDBN on GitHub (Nov 4, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5166 i7-12700K, 64GB DDR4 (61.3 available), RTX 5070 12GB - pcie gen5, nvme SSD, Linux Ubuntu 26.04, cuda13, Strata 0.2.10 Both CPU and GPU undervolted. mtp-bench-3.py from PR #4877 After much tinkering, these are my best results so far. ____________________________________________________________________________________ # tools/strata_bench.py ## Community benchmark on NVIDIA GeForce RTX 5070 Measured on 2026-11-04 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 5070, 12 GiB VRAM - CPU: 12th Gen Intel(R) Core(TM) i7-12700K (12 cores, 20 threads); installed RAM: 61.3 GiB; storage: nvme2n1 WDS100T1X0E-00AFY0 nvme; nvme1n1 WD Blue SN570 500GB nvme; nvme3n1 WDS100T1X0E-00AFY0 nvme; nvme0n1 WDS200T1X0E-00AFY0 nvme - OS: Linux 7.0.0-38-generic; GPU driver: 615.71.10; CUDA (driver supports up to): 13.4 - Strata: project ?, commit not a git checkout; engine 0.1.56 - GPU detail (after the run, near idle): power_limit_w=300.00, power_draw_w=131.14, pcie=gen5 x16, pstate=P1, temp_c=49 - Background workloads: not recorded (GPU power limit/draw read above) ## Model and configuration - Model and quantization: qwen3.8-flash-next-iq3_xxs - Context: 192000 tokens; parallel slots: 1 - Settings: the install's own configuration, unchanged; thinking off for the suite; temperature 0 ## Method Run by `python tools/strata_bench.py` against the HTTP API of a Strata 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 | 118.7 (91.5-152.5) | 0.35 (0.31-0.36) | | 4K prompt, fresh | 4019 (4019-4019) | 0 (0-0) | 24 cap | 3 | 2236.3 (2178.9-2273.6) | not measured | 1.81 (1.78-1.86) | | 16K prompt, fresh | 16058 (16058-16058) | 0 (0-0) | 24 cap | 3 | 2729.3 (2714.3-2739.6) | not measured | 5.91 (5.88-5.94) | | agent session, follow-up turns | 9034 (9026-9059) at the last turn | see below | up to 64 | 3 | see below | 131.7 (85.7-183.5) | 1.12 (0.95-1.37) | 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: 70.7 % (70.7-71.1); earlier-turn tokens read again per session: 73 (3-73) (earlier turns that the cache did not hold; the 8206 (8206-8206) new tokens of the files are read once); first turn (nothing cached) first token: 1.28 s (1.22-1.36). | Turn (run 1) | Prompt tokens | Reused | Read | Prompt tok/s | First token (s) | Decode tok/s | | ---: | ---: | ---: | ---: | ---: | ---: | ---: | | 0 | 609 | 0 | 609 | 507.6 | 1.215 | 91.4 | | 1 | 2261 | 621 | 1640 | 1720.3 | 0.968 | 107.4 | | 2 | 3967 | 2325 | 1642 | 1600.4 | 1.042 | 107.3 | | 3 | 5673 | 3960 | 1713 | 1268.1 | 1.367 | 117.7 | | 4 | 7343 | 5701 | 1642 | 1424.0 | 1.169 | 164.3 | | 5 | 9026 | 7384 | 1642 | 1433.9 | 1.161 | 169.2 | 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 is not recorded. Total time of the suite: 65 s. ____________________________________________________________________________________ # mtp-bench-3.py ``` $ ~/AI/Benchmarks$ ~/AI/Benchmarks/mtp-bench-3.py --url http://127.0.0.1:8090 ============================================================================== MTP benchmark — subject under test Inference engine : Strata (version 0.1.56) LLM / model : qwen3.8-flash-next-iq3_xxs Request dialect : strata-chat Model path : /home/andrew/projects/Strata-data/models/models/IQ3_XXS/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf Endpoint : http://127.0.0.1:8090 Engine project : https://github.com/Niko1221/Strata Engine settings : drafting=mtp, spec=12, mtp_max=4, lookup=3, spec_min_p=0.50, kv=int8, context=192000, expert_slots=2918, pool_workers=11, gpu_name=NVIDIA GeForce RTX 5070 note: /health: service=strata model=qwen3.8-flash-next-iq3_xxs max_context=192000 loaded=True note: request dialect: POST /v1/chat/completions (Strata has no llama.cpp POST /completion — that route 404s) note: drafting method: mtp (spec=12 mtp_max=4 lookup=3) ============================================================================== Running 9 prompts (max_tokens=192, temperature=0.0, seed=42) via strata-chat code_python pred= 192 draft= 141 acc= 125 rate=0.886 tok/s=149.1 code_cpp pred= 192 draft= 130 acc= 101 rate=0.777 tok/s=132.7 explain_concept pred= 192 draft= 145 acc= 103 rate=0.710 tok/s=128.3 summarize pred= 179 draft= 154 acc= 122 rate=0.792 tok/s=151.6 qa_factual pred= 88 draft= 69 acc= 61 rate=0.884 tok/s=169.4 translation pred= 123 draft= 94 acc= 70 rate=0.745 tok/s=141.6 creative_short pred= 128 draft= 96 acc= 71 rate=0.740 tok/s=137.8 stepwise_math pred= 192 draft= 155 acc= 115 rate=0.742 tok/s=141.6 long_code_review pred= 192 draft= 174 acc= 123 rate=0.707 tok/s=139.7 Benchmark results — engine: Strata 0.1.56 | LLM: qwen3.8-flash-next-iq3_xxs | dialect: strata-chat Aggregate: { "n_requests": 9, "total_predicted": 1478, "total_draft": 1158, "total_draft_accepted": 891, "aggregate_accept_rate": 0.7694, "wall_s_total": 15.5, "total_cache_n": 0, "decode_expert_hit_rate_mean": 0.9466, "decode_expert_hit_rate_requests": 9, "decode_expert_hit_rate_min": 0.929, "decode_expert_hit_rate_max": 0.962, "decode_expert_hit_rate_weighted": 0.9455, "expert_pcie_share_mean": 0.0063, "server_delta": { "requests": 9, "output_tokens": 1478, "drafts_offered": 1158, "drafts_accepted": 891, "reused": 0, "prompt_ms": 5017.3, "decode_ms": 10459.3, "server_accept_rate": 0.7694, "server_decode_tok_s": 141.3 }, "per_request_accept_rate": 0.7694, "server_accept_rate": 0.7694 } Aggregate decode expert cache hit rate: 94.7% (token-weighted 94.5% | per-request 92.9%-96.2% | experts read over PCIe 0.63%) Expert cache: 2918 expert slots / 4887 MiB VRAM note: per-request draft counters matches server counters (server: 891->891 accepted of 1158->1158 offered) ```
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.

The Strata project

<!-- gh-comment-id:6658852613 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report. The Strata project
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3072
No description provided.