[PR #4577] [CLOSED] [Benchmark] Qwen3.6 hybrid tradeoffs on Windows RTX 5060 Ti #5099

Closed
opened 2026-11-07 16:32:40 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4577
Author: @Thymos2027
Created: 10/29/2026
Status: ❌ Closed

Base: main ← Head: report/qwen36-hybrid-windows-20261028


📝 Commits (1)

  • f48fcb6 bench: report Windows Qwen3.6 hybrid tradeoffs

📊 Changes

113 files changed (+18675 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/.gitattributes (+3 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/README.md (+98 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/REPRODUCE.md (+56 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/build_adapter.py (+55 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/builds.json (+50 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4335/pairs.csv (+11 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4335/recorded-runs.json (+4417 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4335/summary.json (+1632 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/fixed-history-pairs.csv (+11 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/fixed-history-summary.json (+1006 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/identity-failure.json (+2196 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/recorded-runs.json (+2446 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/recorded-task-runs.json (+1819 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/summary.json (+427 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/validation-next-summary.json (+1199 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/file_entry.cpp (+31 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/fixtures/identity-warmup.prompt.txt (+56 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/fixtures/identity-warmup.tokens (+1 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/fixtures/manifest.json (+14 -0)
➕ bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/fixtures/r0-l1024.forced (+1 -0)

...and 80 more files

📄 Description

Problem and result

The discussions around #4335 and #4347 did not include independent Windows/Blackwell measurements or a directly inspectable evidence bundle. On an RTX 5060 Ti, the two proposed hybrid VRAM policies also showed different prefill/generation tradeoffs that are not captured by a single throughput number.

This PR adds an independent report of the two proposals, tested separately, with original inputs, outputs, per-run timings, failed gates, and reproducible offline checks:

  • #4335: at a configured 32K context, chunk 4096 reduced the 16K-input fixed-history prefill+generation cost from 10.48 s to 8.90 s (faster in 5/5 pairs), while the 1K-input sum increased from 3.33 s to 3.40 s (slower in 5/5 pairs).
  • #4347: releasing 1.78 GiB increased resident GPU experts from 63 to 89 and improved the 16K generation component, but the prefill cost offset that gain in the 96-token fixed-history workload. An earlier free-generation identity failure is retained and is not reclassified as a valid speed comparison.

The engine, server, and defaults behave exactly as before; this PR adds benchmark evidence only.

No new feature, refactor, or default change is proposed.

Approach

Add one self-contained report directory under bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/. It contains all 40 fixed-history runs/20 pairs, synthetic prompts and exact token IDs, 96-token histories, all task inputs, redacted engine logs, matching full-logit dump hashes, original driver/plan archives, and an offline verifier.

The measurements were made on 28–29 October 2026 with native Windows 11, RTX 5060 Ti 16 GB, i7-12700, 128 GB DDR4, driver 610.88, MSVC 19.42/CUDA 13.2/sm120, and Qwen3.6 UD-Q4_K_XL. The measured baseline was 5e8a4cca; the original proposal heads were bdf0bce2 and 7be0a3a1. The report branch is based on newer upstream 46c152a1, which is not presented as a newly measured engine.

Post-measurement portable replay utilities are separated from the original executed drivers. These are nonstandard controlled measurements, not API/free-generation throughput or broad quality equivalence.

Validation

Passed:

  • Pinned native builds and 16 selected tests per build.
  • Same-chunk and matched-placement full-logit gates.
  • 24/24 and 48/48 small deterministic task checks.
  • All 40 formal requests matched their arm's archived argmax IDs with zero expert-slot replacements.
  • Before/after HtoD controls remained approximately 24.8 GB/s.
  • The publication-time offline verifier recomputed all pairs/statistics against the logs and checked fixture/file hashes.
  • New utility syntax, help, planning modes, adapter compile/link, and missing-file argument checks passed without loading a model.
  • Staged Git bytes, local links, change scope, whitespace, private paths, and credentials were checked.

Failed:

  • The initial #4347 dynamic 256-token output-identity gate failed; the original protocol stopped and its outputs are retained.
  • The first adapter link omitted the CUDA library path; the failed attempt is documented and the corrected link passed.
  • Initial task scoring included the transport EOS marker; raw answers and original judgments are retained alongside the corrected scoring.

Not run:

  • Portable GPU replay after publication packaging.
  • Full CTest.
  • Broad quality evaluation or new dynamic-cache/free-generation performance acceptance.
  • API/concurrency, longer outputs, other contexts or VRAM sizes, batch/MTP, HIP/SYCL/Metal, or critical-path profiling.

Limits

The results cover one Windows/CUDA system, fixed expert residency, synthetic inputs, and a 96-token forced history. They do not establish broad quality equivalence, dynamic-cache behavior, standard decode throughput, or a universally faster default. The two proposals were not combined. No engine or default change is requested, and no combined-PR result is claimed.


🔄 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/4577 **Author:** [@Thymos2027](https://github.com/Thymos2027) **Created:** 10/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `report/qwen36-hybrid-windows-20261028` --- ### 📝 Commits (1) - [`f48fcb6`](https://github.com/Niko1221/Strata/commit/f48fcb6130be1d9e08eaa36c7963dbf2b558e748) bench: report Windows Qwen3.6 hybrid tradeoffs ### 📊 Changes **113 files changed** (+18675 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/.gitattributes` (+3 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/README.md` (+98 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/REPRODUCE.md` (+56 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/build_adapter.py` (+55 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/builds.json` (+50 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4335/pairs.csv` (+11 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4335/recorded-runs.json` (+4417 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4335/summary.json` (+1632 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/fixed-history-pairs.csv` (+11 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/fixed-history-summary.json` (+1006 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/identity-failure.json` (+2196 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/recorded-runs.json` (+2446 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/recorded-task-runs.json` (+1819 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/summary.json` (+427 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/data/pr4347/validation-next-summary.json` (+1199 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/file_entry.cpp` (+31 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/fixtures/identity-warmup.prompt.txt` (+56 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/fixtures/identity-warmup.tokens` (+1 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/fixtures/manifest.json` (+14 -0) ➕ `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/fixtures/r0-l1024.forced` (+1 -0) _...and 80 more files_ </details> ### 📄 Description ## Problem and result The discussions around #4335 and #4347 did not include independent Windows/Blackwell measurements or a directly inspectable evidence bundle. On an RTX 5060 Ti, the two proposed hybrid VRAM policies also showed different prefill/generation tradeoffs that are not captured by a single throughput number. This PR adds an independent report of the two proposals, tested separately, with original inputs, outputs, per-run timings, failed gates, and reproducible offline checks: - **#4335:** at a configured 32K context, chunk 4096 reduced the 16K-input fixed-history prefill+generation cost from 10.48 s to 8.90 s (faster in 5/5 pairs), while the 1K-input sum increased from 3.33 s to 3.40 s (slower in 5/5 pairs). - **#4347:** releasing 1.78 GiB increased resident GPU experts from 63 to 89 and improved the 16K generation component, but the prefill cost offset that gain in the 96-token fixed-history workload. An earlier free-generation identity failure is retained and is not reclassified as a valid speed comparison. The engine, server, and defaults behave exactly as before; this PR adds benchmark evidence only. ## Related discussion - #4335 and the [Windows/Blackwell result comment](https://github.com/Niko1221/Strata/pull/4335#issuecomment-6488876445) - #4347 and the [Windows/Blackwell result comment](https://github.com/Niko1221/Strata/pull/4347#issuecomment-6488877876) No new feature, refactor, or default change is proposed. ## Approach Add one self-contained report directory under `bench/results/2026-10-28-community-rtx-5060-ti-qwen36-hybrid/`. It contains all 40 fixed-history runs/20 pairs, synthetic prompts and exact token IDs, 96-token histories, all task inputs, redacted engine logs, matching full-logit dump hashes, original driver/plan archives, and an offline verifier. The measurements were made on 28–29 October 2026 with native Windows 11, RTX 5060 Ti 16 GB, i7-12700, 128 GB DDR4, driver 610.88, MSVC 19.42/CUDA 13.2/sm120, and Qwen3.6 UD-Q4_K_XL. The measured baseline was `5e8a4cca`; the original proposal heads were `bdf0bce2` and `7be0a3a1`. The report branch is based on newer upstream `46c152a1`, which is not presented as a newly measured engine. Post-measurement portable replay utilities are separated from the original executed drivers. These are nonstandard controlled measurements, not API/free-generation throughput or broad quality equivalence. ## Validation **Passed:** - Pinned native builds and 16 selected tests per build. - Same-chunk and matched-placement full-logit gates. - 24/24 and 48/48 small deterministic task checks. - All 40 formal requests matched their arm's archived argmax IDs with zero expert-slot replacements. - Before/after HtoD controls remained approximately 24.8 GB/s. - The publication-time offline verifier recomputed all pairs/statistics against the logs and checked fixture/file hashes. - New utility syntax, help, planning modes, adapter compile/link, and missing-file argument checks passed without loading a model. - Staged Git bytes, local links, change scope, whitespace, private paths, and credentials were checked. **Failed:** - The initial #4347 dynamic 256-token output-identity gate failed; the original protocol stopped and its outputs are retained. - The first adapter link omitted the CUDA library path; the failed attempt is documented and the corrected link passed. - Initial task scoring included the transport EOS marker; raw answers and original judgments are retained alongside the corrected scoring. **Not run:** - Portable GPU replay after publication packaging. - Full CTest. - Broad quality evaluation or new dynamic-cache/free-generation performance acceptance. - API/concurrency, longer outputs, other contexts or VRAM sizes, batch/MTP, HIP/SYCL/Metal, or critical-path profiling. ## Limits The results cover one Windows/CUDA system, fixed expert residency, synthetic inputs, and a 96-token forced history. They do not establish broad quality equivalence, dynamic-cache behavior, standard decode throughput, or a universally faster default. The two proposals were not combined. No engine or default change is requested, and no combined-PR result is claimed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:32:40 +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#5099
No description provided.