[PR #3189] [CLOSED] [Benchmark] RTX 5090: the 0.1.45 to 0.1.45.3 engine change is worth +9.5 % on a 16K prompt #4495

Closed
opened 2026-11-07 15:36:27 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/3189
Author: @IVoyt
Created: 10/19/2026
Status: ❌ Closed

Base: main ← Head: bench/rtx-5090-engine-ab-2026-10-19


📝 Commits (2)

  • 120ef12 bench/results: RTX 5090 engine A/B, 0.1.45 vs 0.1.45.3 (prompt reading +2.7 to +9.8 %)
  • f14b37b bench/results: a controlled RTX 5090 A/B of the 0.1.45 -> 0.1.45.3 engine change

📊 Changes

36 files changed (+11193 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/README.md (+165 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.45-local-13.1-run1.md (+57 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.45-local-13.1-run2.md (+57 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.45-release-published.md (+57 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.45.3-local-13.1.md (+57 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.46-local-13.0.0.md (+57 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.46-local-13.1-run1.md (+57 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.46-local-13.1-run2.md (+57 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.46-local-13.2.2-run1.md (+57 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.46-local-13.2.2-run2.md (+57 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/build-a-tree.py (+37 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.45-local-13.1-run1.json (+959 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.45-local-13.1-run2.json (+959 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.45-release-published.json (+959 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.45.3-local-13.1.json (+959 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.46-local-13.0.0.json (+959 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.46-local-13.1-run1.json (+959 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.46-local-13.1-run2.json (+959 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.46-local-13.2.2-run1.json (+959 -0)
➕ bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.46-local-13.2.2-run2.json (+959 -0)

...and 16 more files

📄 Description

Problem and result

Two folders with measurements from one RTX 5090, taken with the standard bench suite
(tools/strata_bench.py): the install's own report for the current engine, and an engine A/B
that measures what the 0.1.45 → 0.1.45.3 engine change is worth, with the variables
controlled one at a time.

The result: the engine change is worth +9.5 % on a 16K prompt and +10.7 % on a 32K prompt,
measured with the same CUDA toolkit, the same build flags, the same runtime libraries, the same
model and the same configuration on both sides. Time to first token falls 9-10 % at 16K/32K and
8 % on the agent turns. The CUDA toolkit makes no difference (13.0.0, 13.1 and 13.2.2 of the
same source agree within ±0.3 %), and the 0.1.45.3 → 0.1.46 step adds nothing for a single
RTX 50 — which matches the 0.2.1 release notes, where the new defaults are for AMD, Linux,
Intel, integrated GPUs and two-card setups.

none (a results-only submission; no engine change is proposed)

Approach

Nine arms, every one a local build of a known tree, the same model, the same run
configuration (byte-identical args), the same runtime libraries and the same six STRATA_*
switches; only the engine binary differs:

arm engine tree compiler
A 0.1.45 v0.1.45 published release build (CUDA 13.0, portable, multi-arch + PTX)
B1, B2 0.1.45 v0.1.45 13.1, local, sm_120
C 0.1.45.3 v0.2.0-beta-7 13.1, local, sm_120
D 0.1.46 v0.2.1 13.0.0, local, sm_120
E1, E2 0.1.46 v0.2.1 13.1, local, sm_120
F1, F2 0.1.46 v0.2.1 13.2.2, local, sm_120

The same build is measured more than once, because this box moves 8-28 % between engine starts
at an unchanged setting (#1332) and a single old-vs-new pair cannot separate that from a real
difference. The 0.1.45 arms were built from a git worktree of tag v0.1.45, so the code
change is measured with the toolkit and the flags held constant.

The first version of this report compared the published 0.1.45 release binary against a local
0.1.45.3 build, which confounds the engine change with the toolkit and the build flags. That
comparison is kept as arm A, and the controlled series replaces it as the evidence.

Validation

Passed:

  • python tools/strata_bench.py --url http://127.0.0.1:<port> --api-key <key> --runs 3 --long
    against each of the nine servers, on Windows 11, driver 617.42, RTX 5090 32 GiB, i7-12700KF,
    95.8 GiB RAM, Python 3.13.12, Visual Studio 2022 Community 14.34. The tool's own reports are in
    the folder (bench-report-*.md), every request in results-*.json, the engine logs beside them.
  • the tool's own comparisons: python tools/strata_bench.py --compare <old> --compare-only <new>.
    The three that matter are in the report: B1 → C (the engine change, same toolkit and flags),
    E2 → D and E1 → F1 (the toolkit alone, same source).

Failed:

  • none observed

Not run:

  • No correctness check. No needle test, no HumanEval, no tool-call check, and the answers of
    the arms were not compared token by token. The 0.1.45.3 change alters the default prompt path on
    sm_120 (the fused int8 prompt experts, the fused gate/up SwiGLU launch), which the project's own
    notes describe as slightly different answers at the same quality; this report does not measure
    that difference.
  • Decode is not resolvable at this machine's noise level. The two arms of the same build differ
    by 0.2-1.2 % at 16K/32K, so anything smaller than that is not a result here. The decode figures
    in the report are given as measured, with no claim attached.
  • One machine, one model, one configuration — a 24 GiB card, another quantisation or another
    tree may land elsewhere.
  • Background load and power limits were not recorded; the drive model is not in the report.

Limits

The A/B folder is a report, not a change: no engine, tool or documentation file is touched, and the
README's headline performance claims are left alone. The docs/COMMUNITY_BENCHMARKS.md index is
not edited here — that entry is the maintainer's to add if the report is accepted.

The bench tool's own "start the server" path raises a NameError (port is undefined at
tools/strata_bench.py:990), so the server was started by hand and the bench pointed at it with
--url; that is issue #3188, reported separately. With --url the tool does not write
engine-log-excerpt.txt, so the engine logs are included here instead.

The CUDA toolkits were installed from NVIDIA's redistributable components into D:\cuda-13.0.0 and
D:\cuda-13.2.2 rather than with the Windows installer, so the layouts are the redistributable
ones (bin/, include/, lib/x64/, nvvm/) rather than C:\Program Files\...\CUDA\v13.x. The
compiler and its libraries are the same bits, and the build found the root through the same
-DCUDAToolkit_ROOT the setup uses.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/3189 **Author:** [@IVoyt](https://github.com/IVoyt) **Created:** 10/19/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench/rtx-5090-engine-ab-2026-10-19` --- ### 📝 Commits (2) - [`120ef12`](https://github.com/Niko1221/Strata/commit/120ef1261b711716b9f68412bea681db8d8b1f70) bench/results: RTX 5090 engine A/B, 0.1.45 vs 0.1.45.3 (prompt reading +2.7 to +9.8 %) - [`f14b37b`](https://github.com/Niko1221/Strata/commit/f14b37bf54a1f453aedb9293e8d8073a3c9fedf3) bench/results: a controlled RTX 5090 A/B of the 0.1.45 -> 0.1.45.3 engine change ### 📊 Changes **36 files changed** (+11193 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/README.md` (+165 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.45-local-13.1-run1.md` (+57 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.45-local-13.1-run2.md` (+57 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.45-release-published.md` (+57 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.45.3-local-13.1.md` (+57 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.46-local-13.0.0.md` (+57 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.46-local-13.1-run1.md` (+57 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.46-local-13.1-run2.md` (+57 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.46-local-13.2.2-run1.md` (+57 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/bench-report-0.1.46-local-13.2.2-run2.md` (+57 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/build-a-tree.py` (+37 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.45-local-13.1-run1.json` (+959 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.45-local-13.1-run2.json` (+959 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.45-release-published.json` (+959 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.45.3-local-13.1.json` (+959 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.46-local-13.0.0.json` (+959 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.46-local-13.1-run1.json` (+959 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.46-local-13.1-run2.json` (+959 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.46-local-13.2.2-run1.json` (+959 -0) ➕ `bench/results/2026-10-19-community-rtx-5090-engine-ab-0.1.45-vs-0.1.45.3/results-0.1.46-local-13.2.2-run2.json` (+959 -0) _...and 16 more files_ </details> ### 📄 Description ## Problem and result Two folders with measurements from one RTX 5090, taken with the standard bench suite (`tools/strata_bench.py`): the install's own report for the current engine, and an **engine A/B** that measures what the **0.1.45 → 0.1.45.3** engine change is worth, with the variables controlled one at a time. The result: **the engine change is worth +9.5 % on a 16K prompt and +10.7 % on a 32K prompt**, measured with the same CUDA toolkit, the same build flags, the same runtime libraries, the same model and the same configuration on both sides. Time to first token falls 9-10 % at 16K/32K and 8 % on the agent turns. **The CUDA toolkit makes no difference** (13.0.0, 13.1 and 13.2.2 of the same source agree within ±0.3 %), and the **0.1.45.3 → 0.1.46 step adds nothing** for a single RTX 50 — which matches the 0.2.1 release notes, where the new defaults are for AMD, Linux, Intel, integrated GPUs and two-card setups. ## Related discussion none (a results-only submission; no engine change is proposed) ## Approach **Nine arms**, every one a local build of a known tree, the same model, the same run configuration (byte-identical `args`), the same runtime libraries and the same six `STRATA_*` switches; only the engine binary differs: | arm | engine | tree | compiler | | --- | --- | --- | --- | | A | 0.1.45 | v0.1.45 | published release build (CUDA 13.0, portable, multi-arch + PTX) | | B1, B2 | 0.1.45 | v0.1.45 | 13.1, local, sm_120 | | C | 0.1.45.3 | v0.2.0-beta-7 | 13.1, local, sm_120 | | D | 0.1.46 | v0.2.1 | 13.0.0, local, sm_120 | | E1, E2 | 0.1.46 | v0.2.1 | 13.1, local, sm_120 | | F1, F2 | 0.1.46 | v0.2.1 | 13.2.2, local, sm_120 | The same build is measured more than once, because this box moves 8-28 % between engine starts at an unchanged setting (#1332) and a single old-vs-new pair cannot separate that from a real difference. The 0.1.45 arms were built from a `git worktree` of tag `v0.1.45`, so the code change is measured with the toolkit and the flags held constant. The first version of this report compared the published 0.1.45 release binary against a local 0.1.45.3 build, which confounds the engine change with the toolkit and the build flags. That comparison is kept as arm A, and the controlled series replaces it as the evidence. ## Validation **Passed:** - `python tools/strata_bench.py --url http://127.0.0.1:<port> --api-key <key> --runs 3 --long` against each of the nine servers, on Windows 11, driver 617.42, RTX 5090 32 GiB, i7-12700KF, 95.8 GiB RAM, Python 3.13.12, Visual Studio 2022 Community 14.34. The tool's own reports are in the folder (`bench-report-*.md`), every request in `results-*.json`, the engine logs beside them. - the tool's own comparisons: `python tools/strata_bench.py --compare <old> --compare-only <new>`. The three that matter are in the report: **B1 → C** (the engine change, same toolkit and flags), **E2 → D** and **E1 → F1** (the toolkit alone, same source). **Failed:** - none observed **Not run:** - **No correctness check.** No needle test, no HumanEval, no tool-call check, and the answers of the arms were not compared token by token. The 0.1.45.3 change alters the default prompt path on sm_120 (the fused int8 prompt experts, the fused gate/up SwiGLU launch), which the project's own notes describe as slightly different answers at the same quality; this report does not measure that difference. - **Decode is not resolvable at this machine's noise level.** The two arms of the same build differ by 0.2-1.2 % at 16K/32K, so anything smaller than that is not a result here. The decode figures in the report are given as measured, with no claim attached. - **One machine, one model, one configuration** — a 24 GiB card, another quantisation or another tree may land elsewhere. - Background load and power limits were not recorded; the drive model is not in the report. ## Limits The A/B folder is a report, not a change: no engine, tool or documentation file is touched, and the README's headline performance claims are left alone. The `docs/COMMUNITY_BENCHMARKS.md` index is not edited here — that entry is the maintainer's to add if the report is accepted. The bench tool's own "start the server" path raises a `NameError` (`port` is undefined at `tools/strata_bench.py:990`), so the server was started by hand and the bench pointed at it with `--url`; that is issue #3188, reported separately. With `--url` the tool does not write `engine-log-excerpt.txt`, so the engine logs are included here instead. The CUDA toolkits were installed from NVIDIA's redistributable components into `D:\cuda-13.0.0` and `D:\cuda-13.2.2` rather than with the Windows installer, so the layouts are the redistributable ones (`bin/`, `include/`, `lib/x64/`, `nvvm/`) rather than `C:\Program Files\...\CUDA\v13.x`. The compiler and its libraries are the same bits, and the build found the root through the same `-DCUDAToolkit_ROOT` the setup uses. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:36:27 +07:00
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#4495
No description provided.