---
title: "A 180B Model on a 32 GB Mac, and the Six Percent Left Over"
paper: "The Daily Model"
edition: 2026-11-19
newsroom: Hugging Face
edition_id: morning-2026-11-19-3-n1-approved
content_hash: b00b9b9bee113edf33bf867fa0b80166eaf4565e236ebbbf0c94e307175336ae
sources:
  - 180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers (https://huggingface.co/blog/moe-expert-streaming) 2026-11-18
---

# A 180B Model on a 32 GB Mac, and the Six Percent Left Over

## The short version

- **Can I run this 180B model on my own 32GB Mac right now?** The Hugging Face blog post says you can install Transformers from pull request #50717 and download converted weights to run it.
- **How fast is the model generation speed compared to specialized engines like Strata?** The Hugging Face blog post states streaming experts from SSD gets within 6% of Strata on token generation.
- **Is this setup fast enough for practical coding agent workflows?** The Hugging Face blog post author states ~14 tok/s is still too slow for how they use coding agents.
- **What specific hardware was used to achieve these benchmark results?** The Hugging Face blog post reports benchmarks on a MacBook M5 with 32GB of unified memory.

Most of a mixture-of-experts model does nothing on any given token. That is the design. A router picks a handful of specialists and the rest wait. The waiting ones still have to live somewhere.

For Qwen3.8-Flash-Next, which a [Hugging Face blog post](https://huggingface.co/blog/moe-expert-streaming) calls a 180B model, that somewhere is large. The post describes 48 layers of 512 experts, with 10 active per token, and puts the experts at 121 GB in FP8. Beside them sits a separate 51 GB n-gram embedding table. The author's laptop is a MacBook M5 with 32 GB of unified memory. The arithmetic does not close. The post is about what happens when you stop forcing it to close and stream the experts from the SSD instead.

The starting point was poor. According to the post, Transformers' existing Accelerate offloading copies a layer's whole expert bank to the GPU before each forward pass, with no cache and no notion of routing. On a smaller Qwen model running on a 24 GB A10G, the author measured that path at 0.16 tokens per second, against 82 to 88 for Strata, an inference engine for MoE models ([Hugging Face](https://huggingface.co/blog/moe-expert-streaming)).

The new path, proposed in pull request huggingface/transformers#50717, is built around the router's choices rather than the whole bank. The post says eight I/O threads read the experts that miss the cache, and the next two layers' routers run early to guess which experts to prefetch. Guessing is part of the design. On misses, the author writes that no cache policy beat LRU by much, and that what helped was reading just one guessed expert per layer while the SSD would otherwise be idle. The API is still being discussed with the maintainers.

On the Mac, the post describes experts at 3 bits (49 GB on disk, 12 GiB cached on device), dense layers at 8 bits, which it puts at +0.2% perplexity against BF16, and the n-gram table left on disk, its rows read when needed. A 6K prompt peaks at 25.4 GiB. That, the author writes, is about the limit: the browser has to close, or macOS starts swapping.

The author reports these final numbers from the same M5 and the same prompts. Short decode runs at 13.9 tokens per second against Strata's 14.8. Prefill on a 4K prompt runs at 228 against 220. Decode after a 6K document runs at 12.4 against 13.7. The first version ran at about 10. These are one author's benchmarks on one laptop. The post does not name the SSD, and no outside reproduction is supplied.

### Can a reader reproduce this?

Not from a Transformers release. The post's instructions install Transformers from pull request #50717 and download the author's already-converted weights, a repo holding the dense weights, the 3-bit experts and the n-gram table; the post says doing that conversion takes about five hours. Model-specific pieces live in a separate package, moe-expert-streaming. The final numbers above also came after later optimizations, including a switch to Strata's GGUF weights and custom Metal kernels, so the post's loading example is not the whole configuration behind them. The post points to its Space for the full setup and raw results ([Hugging Face](https://huggingface.co/blog/moe-expert-streaming)).

### Why couldn't vllm-metal run it on the same Mac?

Because of the n-gram table, by the author's account. The post says vllm-metal also streams routed experts through a bounded cache, but keeps the n-gram tables in memory, and in the MLX checkpoints on the Hub those tables alone take 32 GB, before about 5 GB of dense layers and any expert cache.

The author writes that all of the code was built with AI, including the PR, the model-specific package and the Metal kernels, and describes the human part as choosing what to try, reading profiles and deciding what to keep. The verdict is plain too: at about 14 tokens per second, it is still too slow for how the author uses coding agents, and a desktop with two RTX 4090s keeps doing the real work ([Hugging Face](https://huggingface.co/blog/moe-expert-streaming)).

So the experts that do nothing can sit on a drive. The ones that do something, and a few the system bets on, still have to arrive on time. On this laptop, by the author's count, that arrangement runs a 180B model about six percent behind Strata on short decode. Close enough to study. Not yet fast enough for the author's own work.
