跳到正文
Dongxi 东锡 NLP· @dongxi_nlp · X·· 25 天前AI 评分52
AI 导读

Thom Wolf 宣布发布免费开放的 The Ultimate MoE Training Handbook,基于 800k GPU 小时的实验整理 MoE 训练知识。手册约 7 万词,含 55 张交互图和可运行代码,覆盖专家数量与路由器选择、all-to-all 通信隐藏、aux loss 与 DeepSeek loss-free bias 对比、dense checkpoint upcycle 等问题,链接为 https://huggingface.co/spaces/huggingface/moe-blogpost。

正文

裂墙推荐就完事了!

如何训练 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
在 X 查看被引用的帖子

来源:Dongxi 东锡 NLP · x.com