DeepInfer-Mac: Running a 750B-Class MoE on a 24 GB Laptop
Haorui Li
Key points
From the paper's conclusion- We organize expert weights so that reads fill reusable GPU buffers directly, and couple cache allocation with the lifetime of those buffers.
Abstract
DeepInfer-Mac runs the 750B-class DeepSeek-V4.1-Flash model on a MacBook Air with 24 GB of unified memory. A mixed low-bit conversion occupies 338 GiB on the internal SSD. About 7.6 GiB of weights remain resident; routed experts and Engram rows are loaded when needed. This separation makes the model executable, but it leaves each generated token waiting for a succession of storage reads. We organize expert weights so that reads fill reusable GPU buffers directly, and couple cache allocation with the lifetime of those buffers. In end-to-end runs, the system generates English, Chinese and code at 0.21-0.72 tokens per second, with a largest sampled process footprint of 16.73 GiB across the tested requests. Matched decode comparisons show a 21.0% throughput gain from next-layer prefetching over resident-expert overlap alone, at the cost of additional reads. Longer prompts remain costly. We describe the design, provide the implementation and measurement scripts, and identify the limits of this operating point: a model far larger than memory can run locally, while storage and prefill still govern the user's wait.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Mira: Memory-Efficient MoE Inference Using Adaptive Caching and Predictive Expert StagingarXiv · 2026
- Prefetch-Steered Routing: Deterministic Cache-Aware Expert Selection for Offloaded Mixture-of-Experts DecodingarXiv · 2026
- Paging the Experts: A Reproducible Characterization of Flash-Backed MoE Inference on iPhonearXiv · 2026
- Ostinato: Fast CPU-GPU MoE Inference for Local Agents via Resident Experts in Every Forward PassarXiv · 2026
- Cascadia: Resident 975B MoE Inference on Eleven AI PCsarXiv · 2026
- One Million Tokens in 20GB: Calibration-Free 2-Bit SRFT KV-Cache Compression for Looped MoE Inference on Apple SiliconarXiv · 2026