r/LocalLLaMA • • 1h ago

Showcase High speed SSD MoE

Hey guys, just wanna share a quick update on the project we've been working on... An inference engine called TokenWing that lets you offload over 50-60% of the routed experts into SSD and still achieve very low streaming latency... Through predictive prefetching

I'm running Qwen 3.8 Flash Next 3.5bpw at 35-40+ tok/s decode and 600 tok/s prefill. All this without MTP yet... On a laptop with 32GB RAM + 12GB VRAM

And the best part is, we've built an autotuner that tunes the flags based on your hardware... And we've wrapped them in a nice simple interface where you can just simply download the model, and start using... The app name: Run My AI

We're building a harness around it as well... A good engine, a good autotuner, and a harness... In one app.

The project is still an early version, more performance improvements are coming up... We're moving fast... The project is fully open-source... Would love your thoughts.

Currently, we support Ling 3.0 Flash 120B MXFP4, Flint 40B Q4_K_XL and Qwen 3.8 FN WV-3.5bpw

https://runmyai.org

https://github.com/runmyai/run-my-ai

https://github.com/runmyai/tokenwing

4 Upvotes

11 comments sorted by

1

u/Der_Namenlose_Held 36m ago

It looks very interesting, and I'll definitely test it. To me, it seems to follow a similar, but not identical, approach to Strata. Am I correct in assuming that the models need to be adapted for your engine? Not a major drawback; I'm just trying to understand the difference between Strata and RunMyAI more precisely. Since I'm not a hardcore or expert user, I already prefer your interface to Strata's, even if the interfaces and websites are starting to look a bit too similar ;) I wish you all the best and will continue to follow the project; it's just too much fun to run the large MOE models on a PC that it shouldn't really be able to.

1

u/Harin007 24m ago edited 20m ago

I don't know how to say this without sounding bad but... unlike, Strata, we don't use any tricks that reduces the model's output quality like skipping experts or down-quantization when handling activations and attention, to showcase the high speeds.

And Strata's moat isn't SSD streaming in the first place... It uses mmap in Linux machines... But there's no good SSD pipeline. There's a reason why you'll see users running IQ2_XS on 12+64 setups on Strata... Cuz that's what fits in memory. Strata does a really good job when the model is fully in memory... Also, I'm talking about offloading the main 125B weights into SSD... Not the 51B ngram... Strata offloads the 51B ngram table into SSD... Which isn't any novel from the engine side... That's just how Qwen 3.8 FN is built.

1

u/Azazelionide 34m ago

Qwen 3.8 flash... At what quantization?

1

u/Harin007 31m ago

It's based on ISTA IQ3_S... A bit better than it in coding, math and uses a bit lesser thinking tokens.

1

u/Azazelionide 30m ago

Ram/GPU/CPU/pcie link?

1

u/Harin007 29m ago edited 22m ago

32GB DDR5

RTX 5070Ti 12GB Laptop (672GB/s)

AMD Ryzen AI 9 HX 370

4x PCIe 4

1

u/Azazelionide 25m ago

The GPU is over pcie 5.0 x8 I presume?

1

u/dio_anubi69 27m ago

Interesting, I've been working on the same problem for a MoE on an 8 GB card, with the experts in RAM and a VRAM cache rather than SSD. Two questions: what fraction of expert picks hit the fast tier during decode, and does it hold when the topic changes mid-conversation? And on a miss, do you move the expert to the GPU or compute it where it is? In my case copying a ~5 MB expert over PCIe cost more than computing it on the CPU, so I'm curious how SSD reads fit in the per-token budget.

1

u/Harin007 2m ago

Well, we saw that in most cases(not all, I agree), copying an expert to GPU took more time than computing an expert on CPU... And copying an expert from SSD to VRAM can't be done directly usually... It has to pass through RAM first... So an SSD miss goes into RAM and promote frequently used experts from RAM to VRAM.

2

u/tomByrer 41m ago

compare to the other 30 streaming QFN engines please

I must have 5 Strata forks alone; here are a few: https://github.com/tomByrer/local-ai-linkfarm/blob/main/README.md#inference-engines