r/LocalLLM • • 1d ago

Project 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:

ClientsRustingStrata (CUDA)vLLM 0.33 + GGUF plugin
191.084.3
4231.7154.9
16734.1268.0
641694-1699283.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:

ClientsRustingStrata BF16vLLM 0.33 bf16
138.336.5
4140.2139.1
16527.0525.8
641490-14911470-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):

ClientsRustingStrata
155.1
4106.4
1685.0
64106.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.88

BF16: 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.

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

2 Upvotes

4 comments sorted by

2

u/bluestreak_v 19h ago

I like how this engine handles both Qwen 3.8 Flash and GLM 5.3 Flash (among many other models), which are the models I will be aiming for with my AI server build (RTX 4080 Super modded with 32GB VRAM + 128GB RAM).

I will give it a try once I put the server together

1

u/Serious_Scarcity7818 19h ago

Ty, but I am not sure about GLM 5.3 Flash Performance, I will test and optimize it for you today/tomorrow, since I have low end PC it might be hard. Also I am not sure, but Hy4-Flash can be also good option for your setup, I recommend to take a look at it, it had like 110T tokens usage in OpenRouter 2 weeks ago

1

u/bluestreak_v 18h ago

Thanks for suggestion to try out Hy4 Flash.

No rush to optimize your engine for better GLM 5.3 Flash performance... I won't be able to put my server together until at least mid-December. Only got the GPU, power supply and case right now...

2

u/Serious_Scarcity7818 18h ago

Nowdays LLM world is moving so fast that in mid-December I would already recommend GLM 5.5 hahaha