Performance of Small Language Model Pretraining on FABRIC: An Empirical Study
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) require enormous computing power to pretrain on massive datasets. When limited datasets are available, smaller-sized LLMs are better choice to pretrain (on user-specified datasets) by following the scaling laws of LLMs. Using pretrained models, vector embeddings can be generated for raw data and stored using vector databases to support modern AI applications and semantic search. In this work, we investigate the performance of pretraining techniques for smaller-sized LLMs on an experimental testbed (with commodity GPUs) available to academic users at no charge. We consider data parallelism, intra-operator parallelism, and inter-operator/pipeline parallelism, and their combinations for pretraining. We set up different GPU clusters with homogeneous and heterogeneous GPU hardware. Furthermore, we investigate the impact of network latency on pretraining performance especially when GPUs are geographically distributed. We used GPT-2 medium and large models and pretrained them using open-source packages, namely, Alpa and Ray. We observed that Alpa's execution plans that collectively optimized intra-operator and inter-operator/pipeline parallelism consistently performed the best when GPUs were geographically distributed. This was especially true when the network latencies were in 10's of milliseconds. Based on the insights gained from the experiments, we propose a systematic approach for selecting the appropriate pretraining technique to achieve high training performance/lower execution time as well as to reduce the number of GPUs used.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 67 of its 109 references that are in the map. First posted on arXiv 2 Feb 2026.
Builds on
67 of 109 references.
References · 67
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2023Qwen Technical Reportcited by 3,273
- 2023Mistral 7Bcited by 3,065
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
38 more
- 2023A Survey of Large Language Modelscited by 2,537
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2023BloombergGPT: A Large Language Model for Financecited by 923
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 516
- 2024Large Language Models: A Surveycited by 506
- 2025MedGemma Technical Reportcited by 398
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
- 2025SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Modelcited by 307
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2018Horovod: fast and easy distributed deep learning in TensorFlowcited by 275
- 2025Small Language Models are the Future of Agentic AIcited by 254
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
- 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 239
- 2015MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systemscited by 195
- 2022FP8 Formats for Deep Learningcited by 187
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
- 2021Self-Supervised Representation Learning: Introduction, Advances and Challengescited by 147
- 2024A Comprehensive Survey of Small Language Models in the Era of Large Language Models: Techniques, Enhancements, Applications, Collaboration with LLMs, and Trustworthinesscited by 125
- 2024NVLM: Open Frontier-Class Multimodal LLMscited by 124
- 2023Generative AIcited by 119
- 2020LEGAL-BERT: The Muppets straight out of Law Schoolcited by 111
- 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 109
- 2024Small Language Models: Survey, Measurements, and Insightscited by 109
- 2024ChemLLM: A Chemical Large Language Modelcited by 100
- 2020PyTorch Distributed: Experiences on Accelerating Data Parallel Trainingcited by 87
- 2024BioMedLM: A 2.7B Parameter Language Model Trained On Biomedical Textcited by 85
- 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 74
- 2025Pretraining Large Language Models with NVFP4cited by 67
50 most cited of 67 All 67 (JSON)
Built on by
Not cited yet.