Mixture-of-Parallelisms: Towards Memory-Efficient Training Stack for Mixture-of-Experts Models
원문 초록
This paper showcases a memory-efficient training stack for Mixture-of-Experts (MoE) models. It is a training paradigm that combines and specializes various existing and novel parallelism techniques at different layers and stages of the Mixture-of-Experts (MoE) model training pipeline. It leverages these techniques to achieve maximal efficiency given the physical constraints of CPU, CPU memory, GPU HBM memory, and the CPU-GPU, GPU-GPU, and node-node communication bandwidth of the GPU cluster. It also contains a novel strategy for the optimizer step to achieve high throughput and memory efficiency, enabling practitioners to conduct lossless pre-training/fine-tuning of trillion-parameter scale models, at a million context length, with just under 12 8x H200 GPU nodes, with state-of-the-art throughput and memory efficiency. In our experiments, MoP delivers 4.7x--8.2x higher per-GPU throughput than a strongly-tuned FSDP2 baseline (with the gap widening at larger scale) and sustains training at context lengths up to 1M tokens, where the baseline runs out of memory beyond 64--128K.
요약
전문가 혼합(MoE) 모델의 각 구성 요소(어텐션, 전문가 가중치, 어휘 투영, 옵티마이저)에 서로 다른 병렬화 기법을 특화 적용하는 Mixture-of-Parallelisms(MoP) 학습 스택을 제안한다. 12개의 8×H200 GPU 노드만으로 1조 파라미터 모델을 100만 토큰 컨텍스트 길이에서 학습할 수 있으며, 강하게 튜닝된 FSDP2 베이스라인 대비 GPU당 처리량을 4.7~8.2배 향상시키고 베이스라인이 메모리 부족으로 실패하는 64~128K 이상의 컨텍스트에서도 안정적으로 학습을 유지한다.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2607.01844v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.