mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1010] [CLOSED] batch: up to 3 MTP drafts per slot inside the 8-row window (2 lanes, code: 71.6 -> 84.3 tok/s) #2962
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#2962
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/1010
Author: @xdbxdbx
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:mtp-slots📝 Commits (10+)
749d957setup (--backend hip): a system ROCm without the HIP development files falls back to the wheels (#446)5a30024calibrate: the engine's arguments come from the server's engine_args; a failed tuning says why (#447)9f60d13serve, setup: name the small split card that caps the prompt chunk; setup recommends the big card alone (#448)eb8da1d/metrics: each request's speculative draft counts, and their sums in the totals (#457)6a09387setup (--gguf-dir): GGUFs Strata cannot run are named as such, with the --family/--model to use (#444)d6a91e2docs: the Coder is weaker outside code, Chinese/CJK text included; the unpruned sizes for that (#438)d8d4ad3Merge branch 'f-135-eng' into rel-0.1.357b600d5Merge branch 'f-135-small' into rel-0.1.35d9ab843Engine 0.1.35: Windows AMD uses its bundled HIP runtime (#468 #461), the low-RAM resident mode on Windows 32 GB PCs (#467), fixes #460 #459 #446 #447 #457 #448 #444; setup requires it57bd713sycl: pipeline the expert cache's profile fill (model load 3-4x faster)📊 Changes
3 files changed (+142 additions, -59 deletions)
View changed files
📝
include/strata/core/verify.hpp(+3 -0)📝
src/core/verify.cpp(+51 -18)📝
src/program/generate.cpp(+88 -41)📄 Description
Builds on #846 (its commit is the first one here); the change to review is the last commit.
Problem
With
MULTI_CONCURRENCY=TRUE, #846 gives each batch slot one MTP draft: 2 rows per slot. The verifier's window holds 8 rows, so 2 lanes fill only half of it, and a lane alone in its group drafts 1 token where solo decoding drafts up to 3.Change
ERRon stderr as well as stdout (the server logs only stderr).Validation
RTX 4090, 64 GB RAM, Qwen3.8-Flash-Next IQ2_XS,
--resident-experts --kv int8 --kv-resident 32768 --spec 4; single runs, 512 tokens per request.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.