# Hugging Face contributor shows Transformers can run Qwen3.8-Flash-Next on 32 GB Mac at 14 tok/s

Digest AI · Research · published 2026-11-18T00:00:00Z

Canonical: https://digestai.news/story/hugging-face-contributor-shows-transformers-can-run-qwen3-8-flash-next

## Summary

A Hugging Face contributor detailed how they modified the Transformers library to run the Qwen3.8-Flash-Next MoE model on a MacBook M5 with 32 GB of unified memory, achieving about 14 tokens per second. The work involved streaming experts from disk, using a slot pool cache, and adding Metal kernels to reduce overhead. The setup still trails Strata by about 6% on short decode but is significantly faster than the baseline Transformers implementation. The model uses 3-bit quantized experts taking 49 GB on disk with 12 GiB cached, dense layers in 8 bits (~5.4 GB), and a 51 GB n-gram table on disk. The conversion process takes around five hours, and peak memory usage during a 6K prompt reaches 25.4 GiB. The contributor notes the result is still too slow for their coding agent use case but demonstrates a path for running large MoE models on consumer hardware via software optimizations.

## Key points

- Modified Transformers to run Qwen3.8-Flash-Next on 32 GB Mac M5 at ~14 tok/s
- Model uses 49 GB disk for 3-bit experts, 12 GiB cached, 5.4 GB dense layers, 51 GB n-gram table
- Peak memory usage hits 25.4 GiB with 6K prompt; conversion takes ~5 hours

## Why it matters

Shows that aggressive software optimizations can bring large MoE models within reach of consumer hardware, narrowing the gap with specialized inference engines like Strata without requiring new hardware.

## Sources

1. [180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers](https://huggingface.co/blog/moe-expert-streaming) (Hugging Face, 2026-11-18, primary source)

## Cite

Digest AI, "Hugging Face contributor shows Transformers can run Qwen3.8-Flash-Next on 32 GB Mac at 14 tok/s", 18 November 2026, https://digestai.news/story/hugging-face-contributor-shows-transformers-can-run-qwen3-8-flash-next

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/hugging-face-contributor-shows-transformers-can-run-qwen3-8-flash-next.json
