mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #249] Support for concurrency #128
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#128
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 @ininsicken on GitHub (Sep 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/249
Are there any plans for Strata to support concurrency (or is some level of concurrency already supported)?
Currently we've been using llama.cpp with Qwen 3.8 27B to split work across 2-3 users. Given the insane results and speeds of Strata with flash next, the only reason we wouldn't move over is if concurrency isn't supported. Using an A6000 (48gb vram) with 128gb of ram (ddr4).
Side questions: will Strata work with an A6000 (I assume it will since it has the same architecture as 30 series, but want to confirm)? And are there plans to support Qwen 4 Flash when it eventually releases?
@Niko1221 commented on GitHub (Sep 30, 2026):
Strata serves one request at a time, in arrival order; others wait in a queue (visible in
/status). Batching several users on one model isn't planned: the engine is built around one conversation using all of the GPU and CPU. An RTX A6000 (sm_86) is supported. Closing as answered.@ininsicken commented on GitHub (Sep 30, 2026):
Got it, thank you. Would making Strata concurrent/multi-user friendly something you might consider testing or trying out in the future, or is it too unfeasible?
@daliborfilus commented on GitHub (Oct 2, 2026):
I don't want to open new issue for this question: I understand Strata is sequential, that's okay. But it keeps resetting the cache for me and the prompt processing must be repeated again and again. For example: I asked the model in Pi to create an extension for itself for auto-mode with my specific rules. Flash Next likes to test everything it does, so it naturally spawned extra Pi instance for each test it. But Strata then threw away the cache for the main thread, even though the main thread was at low percentage of context used. The new temporary Pi instance with just a few tokens should easily fit to the remaining free context window, right? Would you be open to implement that, or is there some form of it? It once got so bad that the cache was thrown out the window nearly every few messages.
See this image: 87k tokens (out of 120k window) thrown out because of two 2k token messages between:
(This is just one example, it happened again and again and again. The extension-making process then took way longer than it should. I also have to avoid having a little question in a second window because of the feat I'll lose the cache and would have to endure the PP again.)
EDIT: I see you've added support for concurrent chat cache. It works! (Well, it sometimes returns error under specific conditions, but it works!) Thank you.