跳到正文
arXiv (AI + Vision + Imaging)· Tianhua Tao, Akshita Bhagia, Dirk Groeneveld, Pete Walsh, Tyler Romero, Yashas Samaga, Jacob Morrison, Iz Beltagy, Taira Anderson, Noah A. Smith, Hannaneh Hajishirzi·· 8 天前精选AI 评分58

Olmo-core 重构 MoE 训练栈:1.2 万亿参数下达 858 TFLOP/s/GPU

Supercharging Olmo-core for Efficient and Scalable MoE Training

AI 导读

作者团队为 Olmo-core 重新设计 MoE 训练栈,用 DDP 替换原有 FSDP,并加入专家并行、流水线并行、分布式优化器和激活重算。基于 NVSHMEM 的 rowwise EP 将每个 token 直接写入对应专家缓冲区,省去 dispatch 与 combine 的置换开销,配合 MXFP8 降低计算、激活内存与传输成本。

推荐理由

原文披露了 Olmo-core 面向 MoE 训练的重构方案与 1.2 万亿参数下的实测吞吐,并给出可迁移到其他训练系统的失败模式观察。

正文 · 原文

arXiv:2611.18956v1 Announce Type: cross Abstract: Mixture-of-Experts (MoE) models add parameters without proportionally increasing per-token compute. However, training cost also depends on bytes moved, memory held, and kernels launched, and many of those costs follow total parameter size rather than active compute. On infrastructure built for dense models, this mismatch is costly: in early baselines, throughput fell as stored expert parameter size grew, even though the useful work per token stayed nearly fixed. To close this gap, we present a redesigned training stack in Olmo-core, built for efficient, scalable MoE training. We replace the Fully Sharded Data Parallel (FSDP) of earlier Olmo-core versions with an architecture built on Distributed Data Parallel (DDP), and add Expert Parallelism (EP), Pipeline Parallelism (PP), a distributed optimizer, and activation recompute. We propose NVSHMEM-based rowwise EP, which writes each token directly into its expert's buffer, avoiding dispatch and combine permutation overhead. We make EP fully synchronization-free by keeping routing metadata on the GPU and using device-scheduled grouped GEMMs. Closely integrated MXFP8 cuts compute, activation-memory, and transport costs, and topology-agnostic checkpoints let the parallel layout change between runs. On NVL8 B300 nodes, the stack supports training configurations from 12.9 billion to 1.2 trillion total parameters on up to 512 GPUs, reaching 858 useful-model TFLOP/s/GPU at 1.2 trillion with MXFP8 and per-layer recompute; an experimental capacity test with the optional DeepEP v2 backend reaches 2.38 trillion. We also explain each design choice and share findings for other training systems; for example, we identify a failure pattern we call Token Gerrymandering, in which the MoE router can learn to hack the load-balancing loss, and find that overlapping communication with computation can slow the overlapped kernels by more than it hides.

来源:arXiv (AI + Vision + Imaging) · arxiv.org