[PR #5275] [CLOSED] [Benchmark] 2x RTX 4060 Ti: DFlash2 vs MTP six-arm sweep with per-task acceptance and a replay method #5372

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

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/5275
Author: @yeyeyeason
Created: 11/5/2026
Status: ❌ Closed

Base: main ← Head: bench/2x4060ti-dflash2-sweep


📝 Commits (1)

  • 1d47bdc [Benchmark] 2x RTX 4060 Ti: DFlash2 vs MTP per-task acceptance and decode, six-arm sweep with replay method

📊 Changes

15 files changed (+3342 additions, -0 deletions)

View changed files

➕ bench/results/2026-11-05-community-2x-4060-ti/README.md (+101 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/per-request.json (+365 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/prompts.json (+5 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/quality/REPORT.md (+53 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/quality/df2-c35-s8/results.json (+588 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/quality/df2-c70-s6/results.json (+588 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/quality/mtp/results.json (+588 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/repeat5/REPORT.md (+39 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/repeat5/df2-c70-s6/engine.log (+206 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/repeat5/df2-c70-s6/results.json (+107 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/repeat5/mtp/engine.log (+229 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/repeat5/mtp/results.json (+107 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/data/replay.md (+10 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/scripts/repeat5.py (+63 -0)
➕ bench/results/2026-11-05-community-2x-4060-ti/scripts/sweep_dflash2.py (+293 -0)

📄 Description

Problem and result

A community benchmark report under docs/COMMUNITY_BENCHMARKS.md: a six-arm DFlash2-vs-MTP drafter-configuration sweep on 2x RTX 4060 Ti, plus the replay method the maintainers asked to see published alongside the data in #5271.

Results-only PR: no engine, server, or documentation code changes outside bench/results/.

Report

bench/results/2026-11-05-community-2x-4060-ti/ — README (hardware/software/model/configuration, method, results, limitations), per-request JSON for all six arms, five-round repeat data for the two decisive arms, a 13-case known-answer quality spot-check on three arms, the replay description (weights, harmonic mean, oracle check), and the two runner scripts (paths sanitized to placeholders).

Headline measurements (token-weighted, warm rounds; full tables in the README):

  • DFlash2 conf 0.70 spec 6: code 79.9 tok/s, fiction 35.1, reasoning 47.1; code acceptance 90%
  • MTP spec 4: code 64.1, fiction 38.9, reasoning 44.6; fiction acceptance 64%
  • Five-round Welch t on the decisive arms: code +11.2% for DFlash2 (p<0.05), fiction -7.2% (p<0.05), reasoning +5.1% (borderline)
  • Mixed workload (code:fiction 1:1, harmonic mean): MTP 48.4 vs DFlash2 static conf 0.70 48.8 vs per-task oracle 48.8 — the oracle ties the best static arm, which is the mechanistic evidence behind #5271's (b) direction (a boot-time rejection test rather than runtime adaptation)
  • Per-round drafting cost via the engine's own STRATA_DF2_PROFILE switches: ~5.6 ms/round, 22-27% of a decode round at 48 tok/s

Approach

One engine at a time, self-checked effective command line per arm (regex against pinned user_args), warm-up request before measurement, incremental per-request result files, a stall guard, and raised VRAM reserves after a reproduced #2065 WDDM paging stall (the stall and the guard are both reported, not hidden).

Validation

Passed:

  • All six arms' engine logs parsed and cross-checked against client-side result files (5 requests lost to the reproduced stall were recovered engine-side; noted in the README)
  • Quality spot-check on the fastest arm: 12/13 known-answer cases (MTP same suite: 10/13; shared failures are model-level, present in both arms)
  • Path sanitization scan of every published file (private absolute paths replaced with placeholders; no model weights or packs included)

Not run:

  • No other hardware (single-machine report; the 2x 4090 replay corpus offered in #5271 would be the second machine for the estimator question)
  • No 1M-context runs, sampled decoding, agent/tool workloads, or non-Windows platforms — all listed in the README's limitations section

Related discussion: #5271 (the proposal this report serves), #5129 (the ledger thread the (b) direction comes from).

Limits

One machine, one model/quantization, three short temperature-0 prompts, 1-2 rounds per arm for the sweep (five rounds for the two decisive arms). Quality checking is a 13-case spot check. The sweep's five-round subset is the only statistically-significant comparison; the rest is descriptive.


🔄 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/5275 **Author:** [@yeyeyeason](https://github.com/yeyeyeason) **Created:** 11/5/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench/2x4060ti-dflash2-sweep` --- ### 📝 Commits (1) - [`1d47bdc`](https://github.com/Niko1221/Strata/commit/1d47bdc60f5fbc7cfe0278206c8aeebc20bb8706) [Benchmark] 2x RTX 4060 Ti: DFlash2 vs MTP per-task acceptance and decode, six-arm sweep with replay method ### 📊 Changes **15 files changed** (+3342 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-11-05-community-2x-4060-ti/README.md` (+101 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/per-request.json` (+365 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/prompts.json` (+5 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/quality/REPORT.md` (+53 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/quality/df2-c35-s8/results.json` (+588 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/quality/df2-c70-s6/results.json` (+588 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/quality/mtp/results.json` (+588 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/repeat5/REPORT.md` (+39 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/repeat5/df2-c70-s6/engine.log` (+206 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/repeat5/df2-c70-s6/results.json` (+107 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/repeat5/mtp/engine.log` (+229 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/repeat5/mtp/results.json` (+107 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/data/replay.md` (+10 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/scripts/repeat5.py` (+63 -0) ➕ `bench/results/2026-11-05-community-2x-4060-ti/scripts/sweep_dflash2.py` (+293 -0) </details> ### 📄 Description ## Problem and result A community benchmark report under `docs/COMMUNITY_BENCHMARKS.md`: a six-arm DFlash2-vs-MTP drafter-configuration sweep on 2x RTX 4060 Ti, plus the replay method the maintainers asked to see published alongside the data in #5271. Results-only PR: no engine, server, or documentation code changes outside `bench/results/`. ## Report `bench/results/2026-11-05-community-2x-4060-ti/` — README (hardware/software/model/configuration, method, results, limitations), per-request JSON for all six arms, five-round repeat data for the two decisive arms, a 13-case known-answer quality spot-check on three arms, the replay description (weights, harmonic mean, oracle check), and the two runner scripts (paths sanitized to placeholders). Headline measurements (token-weighted, warm rounds; full tables in the README): - DFlash2 conf 0.70 spec 6: code 79.9 tok/s, fiction 35.1, reasoning 47.1; code acceptance 90% - MTP spec 4: code 64.1, fiction 38.9, reasoning 44.6; fiction acceptance 64% - Five-round Welch t on the decisive arms: code +11.2% for DFlash2 (p<0.05), fiction -7.2% (p<0.05), reasoning +5.1% (borderline) - Mixed workload (code:fiction 1:1, harmonic mean): MTP 48.4 vs DFlash2 static conf 0.70 48.8 vs per-task oracle 48.8 — **the oracle ties the best static arm**, which is the mechanistic evidence behind #5271's (b) direction (a boot-time rejection test rather than runtime adaptation) - Per-round drafting cost via the engine's own STRATA_DF2_PROFILE switches: ~5.6 ms/round, 22-27% of a decode round at 48 tok/s ## Approach One engine at a time, self-checked effective command line per arm (regex against pinned user_args), warm-up request before measurement, incremental per-request result files, a stall guard, and raised VRAM reserves after a reproduced #2065 WDDM paging stall (the stall and the guard are both reported, not hidden). ## Validation Passed: - All six arms' engine logs parsed and cross-checked against client-side result files (5 requests lost to the reproduced stall were recovered engine-side; noted in the README) - Quality spot-check on the fastest arm: 12/13 known-answer cases (MTP same suite: 10/13; shared failures are model-level, present in both arms) - Path sanitization scan of every published file (private absolute paths replaced with placeholders; no model weights or packs included) Not run: - No other hardware (single-machine report; the 2x 4090 replay corpus offered in #5271 would be the second machine for the estimator question) - No 1M-context runs, sampled decoding, agent/tool workloads, or non-Windows platforms — all listed in the README's limitations section Related discussion: #5271 (the proposal this report serves), #5129 (the ledger thread the (b) direction comes from). ## Limits One machine, one model/quantization, three short temperature-0 prompts, 1-2 rounds per arm for the sweep (five rounds for the two decisive arms). Quality checking is a 13-case spot check. The sweep's five-round subset is the only statistically-significant comparison; the rest is descriptive. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:34:43 +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#5372
No description provided.