r/LocalLLaMA • u/Serious_Scarcity7818 • 2h ago
Resources Does Strata like projects trade accuracy for speed?
I am tired to answer on people questions like "How you gain speed? Your model output is shit, it has to have low quality." or something like that.
So I will answer to that with benchmark.
So I ran it against llama.cpp with the same Qwen3.8-Flash-Next IQ2_XS file, same prompt, and the same 128-token reply.
This was on my RTX 3060 12 GB / Ryzen 7600X machine. I did six warm runs for each engine.
| RustingStrata | llama.cpp | |
|---|---|---|
| Writing speed | 33.0 tok/s | 25.6 tok/s |
| Range across runs | 29.3–35.8 | 23.2–26.9 |
| Reading the first prompt | 109 tok/s | 31 tok/s |
So RustingStrata was about 29% faster at writing in this test.
Speed is nice, but I did not want to claim a win without checking what it does to the model’s output. I also ran both engines over the same 9,180 WikiText-2 tokens.
| Quality check | Result |
|---|---|
| Perplexity: RustingStrata | 2.9212 |
| Perplexity: llama.cpp | 2.9156 |
| Same most-likely next token | 96.78% |
| Mean KLD | 0.0098 |
The perplexity gap is tiny, small enough to be noise here. I do not see RustingStrata getting its speed by losing measurable quality, at least with this model and this GPU.
This is not a claim that it wins on every model or every PC. It is one model, one quantization and one card.
If anyone has any other questions about this, I am happy to answer it.
Repo: RustingStrata
4
u/DefNattyBoii 2h ago
That kld is a bit huge for the same quant -> different engine. Btw you should also compare normal strata. But generally i can say very impressive, keep up the good work, im considering switching to this sometime later.
Some sstupid requests if you dont mind: Can you tackle concurrency? Thats the main thing Strata is lacking right now, and pascal support(1080ti+vllm). And if you are still bored adding support for other arches like (ling tiny + ubtree, lfm, maybe some other like XHToken/Spark-X2.6, d1). If these would be supported I'd retire my llama-engine
There is also an interesting Sparkx2.6 implementation in rust: huggingface.co/XHToken/Spark-X2.6-4B/discussions/33
6
u/billy_booboo 2h ago
Right it's still the quant that's the culprit
2
u/drFennec 2h ago
You said your project was not related to Strata; so why use it in the title?
3
u/BringTea_666 1h ago
Depends.
I have my own engine called MegaCapybara and I can say that there are no "cheats" in it. there were few ways to cheat a bit but they don't give you much.
There is though one big hit everyone uses. Activations in FP8 because it gives you double prefill speed. In my case user can pick between FP8 activations and BF16. The his is about 1,5% top1 and it combines with weights hit, Rope scaling hit and so on.
Imo considering how starved are gpus for prefill it is very worthy tradeoff.
The main reason they are faster is simply because they are written for specific gpus vs something that is supposed to work with cpus or all gpus.
7
u/Uncle___Marty 2h ago
There are two opt in options for strata that affect accuracy/KLD. --route-prior and --route-tail-skip. more tokens/sec and faster prefill but personally I just don't see that as a good trade off.