• Sources: primary
  • Summary: Hugging Face's Tarek Ziadé added an experts_offload option to from_pretrained in transformers PR 50717, with a bounded slot-pool cache that grouped_mm runs on directly and early router passes that prefetch experts. Qwen3.8-Flash-Next with 3-bit experts reached 13.9 tok/s decode and 228 tok/s prefill on an M5 against Strata's 14.8 and 220. On a 24 GB A10G with Qwen3.6-35B-A3B, Strata did 82 to 88 tok/s, llama.cpp 63 to 64, vLLM with expert offload 20.1, and Accelerate offload 0.16.
  • Why it matters: Running MoE models larger than device memory no longer requires a separate engine, and the benchmark shows which offload flags matter in llama.cpp and vLLM.
  • Background: In a mixture-of-experts model a router picks a few experts per token, and experts hold most of the weights. Offloading the experts that are not in use to RAM or disk lets the dense layers and hot experts fit in GPU memory. The cost moves to I/O and to how quickly the host can queue work for the GPU.