{"version":1,"type":"story","url":"https://digestai.news/story/hugging-face-contributor-shows-transformers-can-run-qwen3-8-flash-next","json":"https://digestai.news/story/hugging-face-contributor-shows-transformers-can-run-qwen3-8-flash-next.json","markdown":"https://digestai.news/story/hugging-face-contributor-shows-transformers-can-run-qwen3-8-flash-next.md","slug":"hugging-face-contributor-shows-transformers-can-run-qwen3-8-flash-next","headline":"Hugging Face contributor shows Transformers can run Qwen3.8-Flash-Next on 32 GB Mac at 14 tok/s","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.","keyPoints":["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"],"whyItMatters":"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.","category":{"slug":"research","name":"Research","url":"https://digestai.news/category/research"},"entities":{"companies":["Hugging Face"],"models":["Qwen3.8-Flash-Next","Strata"],"people":[]},"firstPublishedAt":"2026-11-18T00:00:00Z","updatedAt":"2026-11-18T00:00:00Z","sourceCount":1,"hasPrimarySource":true,"sources":[{"outlet":"Hugging Face","title":"180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers","url":"https://huggingface.co/blog/moe-expert-streaming","publishedAt":"2026-11-18T00:00:00Z","type":"primary","primary":true,"lead":true}],"sourceNotes":null,"discussions":[],"thread":null,"cite":{"text":"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","publisher":"Digest AI","title":"Hugging Face contributor shows Transformers can run Qwen3.8-Flash-Next on 32 GB Mac at 14 tok/s","datePublished":"2026-11-18T00:00:00Z","url":"https://digestai.news/story/hugging-face-contributor-shows-transformers-can-run-qwen3-8-flash-next"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"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"}