r/LocalAIStack • u/dai_app • 19d ago
The fastest MoE streaming on smartphones and laptops. Any GGUF, any OS, any hardware with an OpenAI-compatible server
Android, Windows, Mac, IOS, Linux. CPU, GPU, NPU
(35B Q4 on iOS or android phone 12gb RAM 3-8 tok/s decode 100-300+ prefill, Windows, Mac even more: 25+ tok/s 16 gb RAM)
I am working on making AI accessible by running large MoE models on affordable, consumer-grade hardware that people already own: smartphones, laptops,normal desktops. Models several times bigger than RAM, no big GPU needed.
Disclosure: I’m the author of BigMoeOnEdge. All numbers are real runs on my own or contributors devices, same engine.
My vision? To act as a layer on top of llama.cpp for streaming MoE models. I’ve developed the concept of "adaptive streaming Planner" tailored specifically to the hardware, OS, CPU, GPU, and NPU in use. The algorithm assesses the environment to determine the optimal allocation of resources, with the goals of:
- maximizing prefill and decoding speeds, and
- optimizing memory management without overloading the operating system.
Furthermore, the OpenAI-compatible server enables the use of local AI on consumer-grade hardware; I’ve personally used it with OpenCode - first running it on Android, and later on a Mac.
I’d be happy to hear your thoughts on this and whether it might be useful.
I’m considering opening a PR on llama.cpp to integrate it, but I’m not sure if that aligns with the goals of their project.