The Other Half of the Memory Wall: Serving 35B MoEs from SSD with Trained Routing Prediction
AuthorsYu Lin, Yiming Wang, Runyuan Cai, Hanze Liu, Xiaodong Zeng
Resources
Edge0 uses predicted expert routing to stream a 35B mixture-of-experts model from SSD fast enough to run on a 24GB consumer machine.
Key results
Edge0-35B tok/s on a 24 GB Apple-silicon machine
GiB for the 35B tier while streaming a 19.5 GB checkpoint from SSD
Decode improvement from 3.5 to 6.4 tok/s on the 16 GB system
Served int4 model average across AIME 2026, HumanEval, GPQA-Diamond, MMLU-Pro, and IFBench
What the paper found
Edge0 targets the weight half of the memory wall: a 35B Mixture-of-Experts model such as Qwen3.6-35B-A3B still occupies 19.5 GB at int4 even though only about 3B parameters activate per token. Instead of keeping experts resident, Edge0 memory-maps them from SSD and uses a trained per-layer prerouter to predict the next layer’s expert selection one token ahead. That prediction becomes the routing itself, allowing staged SSD reads to overlap decoding without dropped experts or fallback loads. A frozen int4 model is paired with an unmerged recovery LoRA, trained on the student path with prerouter routing, supervised fine-tuning, and on-policy distillation; keeping the adapter separate avoids the degradation caused by merging and requantizing it. On a 24 GB Apple-silicon machine using MLX, the Qwen-based 35B tier reaches 20.4 tok/s with only 2.9 GiB of peak active memory, versus 3.9 tok/s and 18.2 GiB for a fully resident baseline. On a storage-stressed 16 GB system, prerouting improves K=4 decode from 3.5 to 6.4 tok/s, an 82% gain. Across AIME 2026, HumanEval, GPQA-Diamond, MMLU-Pro, and IFBench, the served 35B model averages 79.2 versus 83.2 for its fp16 teacher. The framework also supports DeepSeek-style sigmoid-group routing and an 8B Ling hybrid tier, with open checkpoints and adapters.
Original abstract
Mixture-of-experts (MoE) inference on consumer hardware is bounded by weight memory: a 35B-class model is 19.5GB at 4-bit, and sparsity shrinks the compute per token, not the bytes that must be held. Naive offloading to SSD does not help on its own, because layer N+1's experts must be chosen before layer N's output exists, so the reads cannot start early enough to hide behind compute. We present Edge0, a streaming MoE inference engine that closes the gap with a prerouter: a per-layer head predicts the next layer's routing one token ahead, and the prediction is consumed as the routing itself, so the staged expert set equals the routed set and nothing is dropped. An unmerged recovery LoRA, trained on the student path, pays back the quality lost to int4 quantization and routing replacement. On a single 24GB machine, Edge0 serves a 35B MoE at 20tok/s inside 3GiB of peak active memory, within a few points of its fp16 teacher on average across five public benchmarks. An 8B tier runs on the same framework, and the framework, checkpoints, and adapters are open source.
Read the original paperMore in Efficient AI
Browse all 79 papers →Latent Feedback Is a Compute and Data Amplifier
Benhao Huang, Chaitanya Dwivedi, Xuezhe Ma, Alexander Moreno, Hector Liu
Latent feedback may let language models get more value from each training token and FLOP than simply repeating the data.
MACaQ: Fast, Model Agnostic Calibrated Quantization for Low-Precision Weights and Activations
Lorenz K. Muller, Philippe Bich, Chiara Boretti, Hyun-Min Chang, Jiawei Zhuang, Lukas Cavigelli
MACaQ aims to make large neural networks cheaper to run by quantizing their weights and activations quickly, with little added inference overhead.
Mobile AI Factory: Building Specialized Language Models for Your Mobile Device
Evan Li, Krishna Deshpande, Wen Cheng, Shyamnath Gollakota
Mobile AI Factory automatically builds and tunes a small language model for a specific task and phone, aiming to deliver strong performance with less compute.