paper-with-me

홈 › Papers

Performance of Small Language Model Pretraining on FABRIC: An Empirical Study

2026-02-02 · Praveen Rao 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.

📄 PDF Abstract BibTeX arXiv:2602.02632

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Need a Small Specialized Language Model? Plan Early!

2024-02-02 · David Grangier, Angelos Katharopoulos, Pierre Ablin, Awni Hannun

Large language models are versatile tools but are not suitable for small inference budgets. Small models have more efficient inference, but their lower capacity means that their performance can be good only if one limits…

Language ModelingLanguage Modellingmodel

Frustratingly Simple Pretraining Alternatives to Masked Language Modeling

2021-09-04 · EMNLP 2021 11 · Atsuki Yamaguchi, George Chrysostomou, Katerina Margatina, Nikolaos Aletras

Masked language modeling (MLM), a self-supervised pretraining objective, is widely used in natural language processing for learning text representations. MLM trains a model to predict a random sample of input tokens that…

Language ModelingLanguage ModellingMasked Language ModelingSentence

Does GNN Pretraining Help Molecular Representation?

2022-07-13 · Ruoxi Sun, Hanjun Dai, Adams Wei Yu

Extracting informative representations of molecules using Graph neural networks (GNNs) is crucial in AI-driven drug discovery. Recently, the graph research community has been trying to replicate the success of self-super…

Drug Discoverymolecular representation

Improving Fabrication Fidelity of Integrated Nanophotonic Devices Using Deep Learning

2023-03-21 · Dusan Gostimirovic, Yuri Grinberg, Dan-Xia Xu, Odile Liboiron-Ladouceur

Next-generation integrated nanophotonic device designs leverage advanced optimization techniques such as inverse design and topology optimization which achieve high performance and extreme miniaturization by optimizing a…

Deep Learning

Aligning the Pretraining and Finetuning Objectives of Language Models

2020-02-05 · Nuo Wang Pierse, Jingwen Lu

We demonstrate that explicitly aligning the pretraining objectives to the finetuning objectives in language model training significantly improves the finetuning task performance and reduces the minimum amount of finetuni…

Language ModelingLanguage Modelling