arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.12391cs.LGcs.AIcs.AR
收藏

vTrain:一个用于评估高成本效益与计算最优大语言模型训练的仿真框架

vTrain: A Simulation Framework for Evaluating Cost-effective and Compute-optimal Large Language Model Training

KAIST(韩国科学技术院);Samsung Advanced Institute of Technology(三星先进技术研究院)

Jehyeon Bang, Yujeong Choi, Myeongwoo Kim, Yongdeok Kim, Minsoo Rhu

AI总结:

本文提出由性能剖析驱动的仿真框架vTrain,用于快速准确地搜索成本效益高、计算最优的LLM训练配置、并行策略、集群调度与模型架构。

摘要:

随着大语言模型(LLM)在各类应用领域中广泛普及,AI社区面临的一个关键挑战是如何以高成本效益的方式训练这些大型AI模型。现有的LLM训练方案通常采用基于启发式规则的并行训练策略,该策略依赖经验观察,而不是基于对LLM并行化搜索空间的全面考察。这一局限使现有系统遗留了大量可提升的性能,浪费价值数百万美元的训练成本。本文提出我们由性能剖析驱动的仿真器vTrain,为AI从业者提供一个快速而准确的软件框架,以确定高效且具成本效益的LLM训练系统配置。我们通过若干案例研究展示vTrain的实用性,例如有效评估能够平衡训练时间及相关训练成本的最优训练并行化策略、面向多个LLM训练作业的高效多租户GPU集群调度器,以及在固定计算预算下确定计算最优的LLM模型架构。

英文摘要:

As large language models (LLMs) become widespread in various application domains, a critical challenge the AI community is facing is how to train these large AI models in a cost-effective manner. Existing LLM training plans typically employ a heuristic based parallel training strategy which is based on empirical observations rather than grounded upon a thorough examination of the search space of LLM parallelization. Such limitation renders existing systems to leave significant performance left on the table, wasting millions of dollars worth of training cost. This paper presents our profiling-driven simulator called vTrain, providing AI practitioners a fast yet accurate software framework to determine an efficient and cost-effective LLM training system configuration. We demonstrate vTrain's practicality through several case studies, e.g., effectively evaluating optimal training parallelization strategies that balances training time and its associated training cost, efficient multi-tenant GPU cluster schedulers targeting multiple LLM training jobs, and determining a compute-optimal LLM model architecture given a fixed compute budget.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑