mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #441] [CLOSED] Contrib/non mtp serving #2640
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2640
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/441
Author: @CC-David-CC
Created: 10/2/2026
Status: ❌ Closed
Base:
main← Head:contrib/non-mtp-serving📝 Commits (9)
bf0fe5fserve: allow non-MTP decoding and omit unavailable PCIe expert paths373510fdocs: record serving-only CUDA identity and non-MTP checksdf24e08test: respect engine cleanup lifecycle in identity comparison03eee96test: add reproducible long-context MTP mode comparisons66e1faftest: tidy benchmark harness formatting8964927test: cover request-level PCIe fraction changes4f0f97cdocs: record completed fleet validation for non-MTP serving12fa219docs: record 0.1.34 rebase and targeted regression checks03ab00cdocs: clarify branch selection, activation and public evidence📊 Changes
11 files changed (+17902 additions, -41 deletions)
View changed files
📝
README.md(+9 -0)➕
docs/NON_MTP_SERVING_REVIEW.md(+204 -0)➕
docs/benchmarks/2026-10-01-serving.json(+15889 -0)➕
docs/benchmarks/2026-10-01-serving.md(+145 -0)➕
docs/benchmarks/2026-10-02-upstream-sync-serving.json(+1303 -0)➕
docs/benchmarks/2026-10-02-upstream-sync-serving.md(+51 -0)📝
include/strata/core/verify.hpp(+5 -1)📝
src/core/verify.cpp(+16 -10)📝
src/program/generate.cpp(+45 -17)➕
tools/bench_mtp_modes.py(+207 -0)📝
tools/conversation_cache_disabled.py(+28 -13)📄 Description
Updated to upstream 0.1.34 (
1678de3). Fresh targeted builds and regressions passed; the full fleet/context performance numbers below remain measurements of the prior 0.1.33 source.Rebase checks
This is the shared serving split requested in #323 and #336, based on
upstream 0.1.34 (
1678de3). Hardware support and optional performance kernelshave separate branches.
Changes
--servewithout an MTP drafter. Guard draft binding, prefill, restore,sampling and generation; use one-token verification windows.
state, so use
--conversation-cache-mib 0without MTP.A request's
pcie_frac=0does not remove a path that later requests may need.Why it helps
On the RX 5500 XT, an 8K-input short code request produced the same 125 output
token IDs in both modes. Non-MTP completed in 96.44 s, versus 111.47 s
with MTP: 13.48% less total time. Prefill was 85.69 versus 103.41 s.
Generation alone was slower (11.63 versus 15.52 tok/s).
MTP remains better for the measured long RTX PRO and RTX 4090 completions.
For example, RTX PRO 64K code produced identical 2213-token outputs at
104.79 / 222.72 tok/s without/with MTP, taking 30.80 / 19.56 s total.
The report retains the slower cases and actual output lengths.
Validation
RX 7900 XTX, and consumer RX 5500 XT 8GB.
independent-instance replay, and request-level PCIe fraction switching.
Each gate uses eight requests per arm, state/output hashes, known answers
and live-prefix reuse. The upstream comparison uses MTP; non-MTP replay is
identified separately because upstream cannot serve that mode.
pcie_frac=0then alternates 0/0.55. Enabled requestsactually perform PCIe work; upstream and candidate tokens/state match.
--vram-reserve-mib 1148passed both tasks/modes.output, 25.28 generation tok/s, 362.25 s prefill,
452.80 s total; 136192 allocated context with Q8 KV streaming.
only its exact-length assertion failed. A capacity-only retry with EOS stopping
suppressed completed all 4096 output tokens. These results remain distinct.
The RX 5500 XT tests use the documented combination of this branch and the
hardware contribution. Those source trees and reproduction commands are explicit.
Scope and reproduction
| Full measurements and retained failures
| Machine-readable evidence
GSQ-RCO IQ3_S, Q8 KV, greedy text only. Throughput uses MTP4/threshold0.5;
identity gates use threshold0. Startup is excluded, the OS file cache is not
reset, and outputs may differ. Functional checks are bounded and do not measure
general model quality. The maintainer's broader CI was not run locally.
Credit: this extends Niko1221/Strata;
model execution, expert caching and MTP are upstream work.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.