180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers
Hugging Face · 2026-11-18 · Models
Tarek Ziadé describes his effort to run large mixture-of-experts (MoE) models locally, with the 180B-parameter Qwen3.8-Flash-Next on a 32 GB Mac as the target. He compares how llama.cpp, vLLM and Transformers offload expert weights when a model does not fit in memory. He finds that Transformers' Accelerate path copies every expert of an offloaded layer for each token and has no cache, and that CPU offload gains nothing on a Mac because CPU and GPU share memory.
His fix replaces the cache with a preallocated device "slot pool" that lets Transformers' existing grouped matmul run unchanged. On OLMoE with all experts cached, it reached 34.6 tokens per second against 38.1 for vanilla Transformers. The work is offered as an experts_offload option for from_pretrained in a pull request, and the author says AI wrote most of the code while he chose, profiled and reviewed it.
- Target is running the 180B Qwen3.8-Flash-Next MoE model on a 32 GB Mac using Transformers.
- Transformers' Accelerate offloading copies whole expert banks per token with no caching, which is too slow for this use.
- A slot-pool cache keeps existing expert kernels working and reached 34.6 tok/s on OLMoE versus 38.1 for vanilla.
Why it matters: It suggests that local inference of very large MoE models on memory-limited consumer hardware could become practical within the mainstream Transformers library.
Summary written by AI from the source. Check the original before relying on it.
Read the full story at Hugging Face
More in Models
- Taking Trainium3 to the Track: Generating Videos with LTX-2.5
Hugging Face · 2026-11-27 · Models
It shows that a video generation model with synchronized audio can run at competitive speed on AWS Trainium3 hardware using open diffusers pipelines, which broadens the options for teams outside CUDA. - Building on Nemotron 3.5 Parse: Open Data, Fine-Tuning, and Faster Inference
Hugging Face · 2026-11-26 · Models
Open datasets, a fine-tuning recipe, and faster inference let developers adapt document parsing to their own files and process pages at lower cost. - Constraint-Aware Test-Time Scoring for LLM and VLM Candidate Selection
arXiv cs.AI · 2026-11-26 · Models
The paper targets how models pick among candidate outputs at inference time, a step that affects reliability in both language and vision-language systems, though the details must come from the full text. - General-Purpose Decision Models for AI Configuration Tuning
arXiv cs.AI · 2026-11-26 · Models
Tuning AI system configurations is a practical concern for developers, so a general-purpose approach to it could be of interest, although this source does not confirm how well it performs. - The Platonic Representation Hypothesis in Jacobian-Space: Language and Vision Models Agree Approximately Up to a Rotation
arXiv cs.AI · 2026-11-26 · Models
If the title's claim holds, it would add evidence that language and vision models learn related internal representations, which bears on the broader Platonic representation hypothesis. - Collaborative Language Models for Semantic IoT Data Processing: Validation through Zero-Shot Human Activity Recognition
arXiv cs.AI · 2026-11-26 · Models
It points to a research direction in which language models interpret IoT sensor streams without task-specific training, although the page itself does not confirm any results.
Open the live interactive page
Apiron Intelligence. Headlines link to their original publishers.