mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2426] Feature request: better aggregate speeds #984
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#984
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?
Originally created by @bkutasi on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2426
I use quite a lot of parallel processing agent workloads (eg memory engine independent of the main agent that processes up to 10+ threads for storage and retrieval), and Starta would be perfect for batching. I know we already have --parallel, but the gains are not as much as in vllm/sglang/exllamav3. Is it possible to reach a higher aggregate speed give if you use a setup that doesn't completely saturate your memory bandwidth?
@qiuzan2001 commented on GitHub (Oct 15, 2026):
The measured answer is in docs/BATCHING.md: the aggregate gain depends on how much of the model sits in VRAM.
"parallel": 4against 70.7 tok/s one at a time, because a 4-row window reads about 3x as many CPU experts.--batch 8 --batch-groups 4 --trim-stage-weights: 120 tok/s alone, 205 at 4 requests, 360 at 8.--batch-mtp(Turning it on): RTX PRO 5000 owners measured +31% to +39% total at 2 to 4 clients.So on a card that holds most experts (or with a layer split),
"parallel": Nplus--batch-mtpis the setting to try; the Limits section lists what is not batched yet (penalties, admissions one at a time).@bkutasi commented on GitHub (Oct 15, 2026):
Im aware of the gains using splts/more cards, currently batching is limited due to CPU experts being swapped way more times, so the expert fetch is the limit. So with the current setup serving more than 1 client at a time would yield negative results.
What could make this work is a shared kv between parallel reqs and resident experts in vram (but the number of slots would consume quite a lot of vram which goes to waste if only one is used) with continous prefill (like vllm) but thats a completely different path strata is currently on