Loading…
Topic
MoE
2 posts about MoE. Every summary links to the original.
- 2 posts
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers
The author modified Transformers to stream MoE experts from disk, enabling a 180B-parameter Qwen model to run on a 32 GB MacBook M5 at ~14 tok/s. Existing engines like llama.cpp and vLLM either thrash the page cache or copy all experts on every token. The key innovation is a slot-pool cache: one preallocated device tensor shared across layers, with a per-layer mapping from expert ID to slot, so that grouped_mm runs on the pool as if it were a regular expert bank. Experts are quantized to 3 bits, read by 8 I/O threads, and prefetched by running the next two layers’ routers early. The implementation closes the gap with Strata to about 6% on short decode, with slightly faster prefill. The author notes that closing the remaining gap would require deeper changes in PyTorch’s MPS stream control.
Introducing Olmo-core 3: Open, scalable training infrastructure for large MoEs
Olmo-core 3 is an open training infrastructure upgrade for large mixture-of-experts (MoE) models, designed to scale to trillion parameters while preserving efficiency. It switches from FSDP to a DDP-based system that keeps experts resident on GPUs and routes data to them, avoiding weight gathering overhead. The system combines expert, pipeline, and distributed optimizer parallelism with optimizations like rowwise expert parallelism, GPU-resident routing, and grouped GEMM. In a benchmark, increasing experts from 8 to 128 while routing each token to four experts kept active parameters at ~3.2B, total parameters grew from 4.6B to 47B with throughput falling less than 5%. The infrastructure supports MXFP8 lower-precision format, achieving about 21% higher throughput than BF16, and has been tested on a 1.2-trillion-parameter model.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.