mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1209] [CLOSED] Speed up concurrent generation, fix QFUSE, and improve prefill monitoring #3310
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#3310
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/1209
Author: @tntcannon5000
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:publish/concurrent-performance📝 Commits (5)
3956e5dfix: preserve QFUSE consumer arithmetic and committed stated679a02feat: add opt-in wide concurrent speculation and bounded executioncc84b96docs: measure essay and agentic coding throughput against MTP baseline051e687feat: expose explicit engine prefill phase in live metrics0a3b624docs: publish combined validation and numerical evidence📊 Changes
47 files changed (+3360 additions, -130 deletions)
View changed files
📝
CMakeLists.txt(+23 -0)📝
docs/BATCHING.md(+27 -0)➕
docs/CONCURRENT_THROUGHPUT.md(+100 -0)➕
docs/PREFILL_MONITORING.md(+38 -0)➕
docs/PR_QUALIFICATION.md(+62 -0)➕
docs/PR_WORKLOAD_BENCHMARKS.md(+141 -0)➕
docs/QFUSE_CORRECTNESS.md(+56 -0)➕
docs/evidence/pr-qualification/.gitattributes(+2 -0)➕
docs/evidence/pr-qualification/SHA256.json(+15 -0)➕
docs/evidence/pr-qualification/answer-comparison.json(+14 -0)➕
docs/evidence/pr-qualification/batch_segment_gdn_test.log(+1 -0)➕
docs/evidence/pr-qualification/batch_segments_test.log(+1 -0)➕
docs/evidence/pr-qualification/expert_multi_test.log(+1 -0)➕
docs/evidence/pr-qualification/gr_parity.log(+37 -0)➕
docs/evidence/pr-qualification/numerical-comparison-summary.json(+245 -0)➕
docs/evidence/pr-qualification/production-summary.json(+67 -0)➕
docs/evidence/pr-qualification/provenance.json(+119 -0)➕
docs/evidence/pr-qualification/publication-checks.json(+46 -0)➕
docs/evidence/pr-qualification/qfuse_gdn_test.log(+1 -0)➕
docs/evidence/pr-qualification/qfuse_quant_test.log(+1 -0)...and 27 more files
📄 Description
This adds opt-in wider speculative decoding across concurrent requests, fixes QFUSE rounding/state bugs, and makes prefill monitoring reflect actual prompt work. It preserves upstream request handling and keeps the existing paths for configurations that cannot use the wider batches.
On an undervolted RTX 5090, Ryzen 9 9950X3D, 48 GB DDR5-6000, median aggregate decode throughput at c=4 increased 1.37x for essay writing and 1.95x for tool-driven coding in three paired runs per workload.
What changed and why
Wide speculation is off by default and applies to eligible 2–4-slot, single-NVIDIA, text/MTP, resident-int8-KV configurations without helper expert caches. Other configurations retain upstream batching. Personal launchers, model configs and daily-use server modifications are excluded; the Python server diff is the scoped monitoring change.
Performance
Swift 1.5 IQ2_XS, four concurrent requests, 98,304 context capacity per request, int8 KV, 2,560 MiB reserve; both arms loaded 11,022 experts. Temperature .85; normal optimized CPU kernels and adaptation enabled; thinking disabled for this bounded fixture. Each run uses a fresh process and excludes warm-up.
Baseline qualification: the reference is upstream v0.1.40.1 (
82f46a8) plus the two-line shared-MTP-head metadata fix included here (dhead_type_anddvocab_host_). Pristine upstream failed concurrent MTP admission withunsupported native MMVQ GGML type. Both measured arms therefore have working concurrent MTP; this is not a pristine-binary comparison.Four-stream decode measures emitted tokens during intervals with four active slots and no admission underway. Whole-run throughput includes prompt reads, tools and periods with fewer active streams. Outputs differ, so elapsed time is not an equal-work completion comparison.
The coding fixture uses four independent read/write/check tool loops, not DSH or SWE-bench. Checks compile syntax and inspect structure; generated code/tests are not executed. 12/12 baseline modules and 11/12 candidate modules passed structure checks. Ten baseline agents and nine candidate agents hit the six-turn cap; only two and three respectively finished naturally with a passing checked module. These results establish throughput on these fixtures, not faster correct task completion or equivalent quality.
Full benchmark method, configuration and exclusions · All 12 run summaries
Validation and limitations
Validation evidence and reproduction · Performance change audit · QFUSE rationale · Monitoring protocol
The commits separate correctness, performance, benchmark documentation, monitoring, and final evidence for review and rollback. This combines the three originally prepared changes into one submission.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.