paper-with-me

Papers

MegaScale: Scaling Large Language Model Training to More Than 10,000 GPUs

2024-02-23 · Ziheng Jiang, Haibin Lin, Yinmin Zhong, Qi Huang, Yangrui Chen, Zhi Zhang, Yanghua Peng, Xiang Li, Cong Xie, Shibiao Nong, Yulu Jia, Sun He, Hongmin Chen, Zhihao Bai, Qi Hou, Shipeng Yan, Ding Zhou, Yiyao Sheng, Zhuo Jiang, Haohan Xu, Haoran Wei, Zhang Zhang, Pengfei Nie, Leqi Zou, Sida Zhao, Liang Xiang, Zherui Liu, Zhe Li, Xiaoying Jia, Jianxi Ye, Xin Jin, Xin Liu

We present the design, implementation and engineering experience in building and deploying MegaScale, a production system for training large language models (LLMs) at the scale of more than 10,000 GPUs. Training LLMs at this scale brings unprecedented challenges to training efficiency and stability. We take a full-stack approach that co-designs the algorithmic and system components across model block and optimizer design, computation and communication overlapping, operator optimization, data pipeline, and network performance tuning. Maintaining high efficiency throughout the training process (i.e., stability) is an important consideration in production given the long extent of LLM training jobs. Many hard stability issues only emerge at large scale, and in-depth observability is the key to address them. We develop a set of diagnosis tools to monitor system components and events deep in the stack, identify root causes, and derive effective techniques to achieve fault tolerance and mitigate stragglers. MegaScale achieves 55.2% Model FLOPs Utilization (MFU) when training a 175B LLM model on 12,288 GPUs, improving the MFU by 1.34x compared to Megatron-LM. We share our operational experience in identifying and fixing failures and stragglers. We hope by articulating the problems and sharing our experience from a systems perspective, this work can inspire future LLM systems research.

📄 PDF Abstract BibTeX arXiv:2402.15627

Code (1)

volcengine/vescale 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

MegaScale-Infer: Serving Mixture-of-Experts at Scale with Disaggregated Expert Parallelism

2025-04-03 · Ruidong Zhu, Ziheng Jiang, Chao Jin, Peng Wu 외

Mixture-of-Experts (MoE) showcases tremendous potential to scale large language models (LLMs) with enhanced performance and reduced computational complexity. However, its sparsely activated architecture shifts feed-forwa…

CPUGPUMixture-of-Experts

MegaScale-MoE: Large-Scale Communication-Efficient Training of Mixture-of-Experts Models in Production

2025-05-16 · Chao Jin, Ziheng Jiang, Zhihao Bai, Zheng Zhong 외

We present MegaScale-MoE, a production system tailored for the efficient training of large-scale mixture-of-experts (MoE) models. MoE emerges as a promising architecture to scale large language models (LLMs) to unprecede…

Mixture-of-Experts

Constraint-Aware Optimization for Robust Protein Stability Prediction

2026-06-06 · A Shivram, Aneesh S. Chivukula, Manik Gupta, Sourav Chowdhury arxiv

Multimodal $ΔΔG$ predictors integrating protein language models with inverse-folding representations achieve strong in-distribution accuracy on the Megascale dataset but exhibit limited robustness on out-of-distribution …

Reproducible scaling laws for contrastive language-image learning

2022-12-14 · CVPR 2023 1 · Mehdi Cherti, Romain Beaumont, Ross Wightman, Mitchell Wortsman 외

Scaling up neural networks has led to remarkable performance across a wide range of tasks. Moreover, performance often follows reliable scaling laws as a function of training set size, model size, and compute, which offe…

Image ClassificationOpen Vocabulary Attribute DetectionRetrievalzero-shot-classification+3

Towards Engineering Scaling Laws with Pretraining Data Composition

2026-06-18 · Jan-Lucas Uslu, Kevin Greif, Daniel Whiteson, Benjamin Nachman arxiv

Neural scaling laws describe how model performance improves as a power law in compute, model size, and dataset size. While well-established for large language models, these relationships are emerging for large models in …