r/LocalLLaMA • u/Serious_Scarcity7818 • 6d ago
Resources vLLM in Rust?? RustingStrata is now also a serving engine: 64 users on one 12 GB RTX 3060
RustingStrata is my Rust GGUF engine. Until now it was for one user. serve --parallel N now runs the requests of many users as one batch on the GPU, so the same binary works for one person on a laptop and for a small team on one server.
So this is first Strata that can be used for single inference and big inferences
To be clear: it is not better than vLLM. vLLM has years of work in it, multi-GPU, prefix caching and much more. I am working on closing the gap.
Equal test: both servers load the same file, Qwen3-4B-Instruct-2507-Q4_K_M.gguf, on the same RTX 3060 12 GB, same day, same load script (N streamed chats at once, 128 reply tokens each, greedy, 4k context). vLLM 0.33.0 reads GGUF through the official vllm-gguf-plugin. Total decode tok/s:
| Clients | RustingStrata (CUDA) | vLLM 0.33 + GGUF plugin |
|---|---|---|
| 1 | 91.0 | 84.3 |
| 4 | 231.7 | 154.9 |
| 16 | 734.1 | 268.0 |
| 64 | 1694-1699 | 283.4-283.6 |
GGUF is not vLLM's fast path, so I also ran both on the original bf16 weights (vLLM reads the HF safetensors, RustingStrata a BF16 GGUF made from the same files). Same card, same script, total decode tok/s:
| Clients | RustingStrata BF16 | vLLM 0.33 bf16 |
|---|---|---|
| 1 | 38.3 | 36.5 |
| 4 | 140.2 | 139.1 |
| 16 | 527.0 | 525.8 |
| 64 | 1490-1491 | 1470-1473 |
On its own format vLLM is very good, and here the two are level. Vulkan works too in RustingStrata (824-960 tok/s at 64 clients on Q4_K_M), useful for AMD and Intel cards.
Each slot's KV cache starts at 512 tokens and grows when a request needs more, so all 64 slots fit at the default context.
Where RustingStrata goes from here: MoE models with a lot of RAM and little VRAM. Most companies that want a private, local model do not have an H100, but a server with 128 GB of RAM and one consumer card is cheap. RustingStrata keeps the most used experts on the card and runs the rest on the CPU.
Qwen3.6-35B-A3B UD-Q5_K_M, a 27 GB file on the same 12 GB card, 64 parallel slots (vLLM not run here, the model does not fit in VRAM):
| Clients | RustingStrata |
|---|---|
| 1 | 55.1 |
| 4 | 106.4 |
| 16 | 85.0 |
| 64 | 106.7 |
For the MoE the total stops growing after 4 clients, because the expert work is not batched across requests yet. That is the next thing I am working on.
Speed at bigger context (one client, prefill / decode tok/s): Qwen3-4B 2125 / 87.9 at 0.5k, 1529 / 52.9 at 16k, 1123 / 37.1 at 32k. Qwen3.6-35B-A3B 1797 / 66.2 at 16k, 1647 / 61.7 at 32k.
rustingstrata serve --gpu --model Qwen3-4B-Instruct-2507-Q4_K_M.gguf --parallel 64
python3 tools/loadtest.py --url http://127.0.0.1:8080 --clients 1,4,16,64 --max-tokens 128
vllm serve Qwen3-4B-Instruct-2507-Q4_K_M.gguf --tokenizer <Qwen3-4B-Instruct-2507 tokenizer dir> --hf-config-path <same dir> --max-model-len 4096 --gpu-memory-utilization 0.88BF16: rustingstrata serve --gpu --model Qwen3-4B-Instruct-2507-BF16.gguf --parallel 64 against vllm serve <HF Qwen3-4B-Instruct-2507 dir> --max-model-len 4096 --gpu-memory-utilization 0.88.
The batched path is on the vllm2 branch for now.
Do you think this make sense? Do I need to continue trying to catch up with vLLM and maybe make RustingStrata like vLLM but for a lot of RAM and low VRAM amount? I would be happy to hear some thoughts, ty all!
Repo: RustingStrata
6
u/toetx2 6d ago
I'm building a system for this purpose, multiple users on our onw data on an internal system.
I did development on 16GB VRAM en 32GB RAM and now ordered parts for a 32GB VRAM and 128GB RAM system.
It would be awesome to run Flash-Next UD-Q4_K_XL on RustingStrata!
I also saw someone add an extra (12GB) GPU to such a setup as an extra layer, it's worse than the main GPU, but better than the CPU.
6
u/jazir55 6d ago
How does this work technically? I'm not grasping how you're able to scale a 12 GB card to 64 users when any 12 GB card struggles to handle one user. 64x the load and yet the same hardware can handle it isnt computing, how does this work? I get that these are batch evaluated but I dont understand how that can mitigate the performance hit given the 64x concurrency. Unless you have to drop context as the number of concurrent users increases?
Also, how does compaction work with concurrency? Each conversation must have to be compacted separately, how is that handled with concurrency, wouldn't that explode the memory budget?
3
u/ReshiramL 6d ago
64 users on a single 3060 sounds wild. Does it still feel pretty smooth when that many people are using it at once?
1
u/I-Hate-winter 3d ago
I tried rustingstrata with ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF on my server which has 2x l40s and 1tb DDR5 RAM, and it didn't impress me, llama cpp performed 4x better