Skip to content
AI Learning Ground Start learning

Research ·

180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers

A Hugging Face engineer built an expert-streaming loader for Transformers that lets a 180B MoE model run on a 32 GB laptop by streaming experts from disk, reaching 34.6 tok/s versus 38.1 vanilla when cached.

180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers
Image: Hugging Face

A Hugging Face blog post describes running a 180B-parameter MoE model (Qwen3.8-Flash-Next) on a MacBook with only 32 GB of unified memory by streaming mixture-of-experts weights from disk. The author benchmarked existing offloading approaches in llama.cpp, vLLM and Transformers, finding that existing Transformers offloading copies a whole layer's expert bank to the GPU for each token, with no cache or routing awareness, while llama.cpp keeps experts on the CPU and vLLM reads offloaded weights over PCIe with no caching or disk tier.

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#open-weights #tooling #research