English

Computational Bottlenecks of Training Small-scale Large Language Models

Machine Learning 2024-12-03 v2

Abstract

While large language models (LLMs) dominate the AI landscape, Small-scale large Language Models (SLMs) are gaining attention due to cost and efficiency demands from consumers. However, there is limited research on the training behavior and computational requirements of SLMs. In this study, we explore the computational bottlenecks of training SLMs (up to 2B parameters) by examining the effects of various hyperparameters and configurations, including GPU type, batch size, model size, communication protocol, attention type, and the number of GPUs. We assess these factors on popular cloud services using metrics such as loss per dollar and tokens per second. Our findings aim to support the broader adoption and optimization of language model training for low-resource AI research institutes.

Keywords

Cite

@article{arxiv.2410.19456,
  title  = {Computational Bottlenecks of Training Small-scale Large Language Models},
  author = {Saleh Ashkboos and Iman Mirzadeh and Keivan Alizadeh and Mohammad Hossein Sekhavat and Moin Nabi and Mehrdad Farajtabar and Fartash Faghri},
  journal= {arXiv preprint arXiv:2410.19456},
  year   = {2024}
}

Comments

8 pages, 4 figures

R2 v1 2026-06-28T19:35:24.112Z