Skip to content
View original post on X: Dongxi NLP
Published

Hugging Face releases The Ultimate MoE Training Handbook

AIHugging Face has released The Ultimate MoE Training Handbook, a free and open guide to training Mixture-of-Experts models. Dongxi NLP shares the post, which quotes Thom Wolf saying the team ran 800k GPU hours of experiments and organized the handbook around questions training teams hit, such as expert count, all-to-all overhead, and router design.
Dongxi NLPVerified on X
@dongxi_nlp
View on X

裂墙推荐就完事了!

如何训练 Mixture-of-Experts.

The Ultimate MoE Training Handbook

Thomas Wolf@Thom_Wolf
18 of the 20 best open models today are Mixture-of-Experts. Dense is basically over. And yet the know-how to train a good MoE still lives mostly in the heads of a handful of teams. So we spent 800k GPU hours running the experiments ourselves and wrote everything down. Super happy to finally release "The Ultimate MoE Training Handbook", free and open, organized around the questions training teams hit: - how many experts, how big, shared or not? - why is half my step spent in all-to-all, and how do I hide it? - why is my run 25x slower with no error in the logs? - softmax, sigmoid or sqrt(softplus) router, and why keep it in fp32? - aux loss or DeepSeek's loss-free bias? - upcycle a dense checkpoint or train from scratch? - can I serve with fewer experts per token than I trained with? ⚠️ Warning: it's long (~70k words, budget a few days, sorry) but with 55 interactive figures, code you can run and numbers from our own runs. Read it here: https://huggingface.co/spaces/huggingface/moe-blogpost
View quoted post on X
Source details

Dongxi NLP · x.comPublished · added here

Original title: 裂墙推荐就完事了!