Skip to main content
QUICK REVIEW

[论文解读] Characterization of Large Language Model Development in the Datacenter

Qinghao Hu, Zhisheng Ye|arXiv (Cornell University)|Mar 12, 2024
Distributed and Parallel Computing SystemsComputer Science被引用 6
一句话总结

本文提出对 LLM 开发在 GPU 数据中心的六个月工作负载跟踪研究,分析 LLM 工作负载与先前的 DL 工作负载的差异,并提出容错预训练和解耦评估调度以提高鲁棒性和效率。

ABSTRACT

Large Language Models (LLMs) have presented impressive performance across several transformative tasks. However, it is non-trivial to efficiently utilize large-scale cluster resources to develop LLMs, often riddled with numerous challenges such as frequent hardware failures, intricate parallelization strategies, and imbalanced resource utilization. In this paper, we present an in-depth characterization study of a six-month LLM development workload trace collected from our GPU datacenter Acme. Specifically, we investigate discrepancies between LLMs and prior task-specific Deep Learning (DL) workloads, explore resource utilization patterns, and identify the impact of various job failures. Our analysis summarizes hurdles we encountered and uncovers potential opportunities to optimize systems tailored for LLMs. Furthermore, we introduce our system efforts: (1) fault-tolerant pretraining, which enhances fault tolerance through LLM-involved failure diagnosis and automatic recovery. (2) decoupled scheduling for evaluation, which achieves timely performance feedback via trial decomposition and scheduling optimization.

研究动机与目标

  • 在真实数据中心描述 LLM 开发工作负载并与先前的 DL 工作负载进行比较。
  • 识别导致 LLM 训练与评估流水线低效与失败的因素。
  • 提出系统解决方案以提高 LLM 开发过程中的容错性和反馈延迟。

提出的方法

  • 收集并分析 Acme 中两个 LLM 集群(Seren 和 Kalos)六个月的工作负载跟踪数据,包括调度日志、基础设施监控、故障日志和分析数据。
  • 按 LLM 开发阶段(数据准备、预训练、对齐、评估、部署)和工作负载类型(预训练、评估、SFT、MLLM 等)对作业进行分类。
  • 衡量资源利用模式、作业时长、排队延迟和故障模式;并与先前的 DL 跟踪进行比较。
  • 评估在 CPU、内存、网络和 GPU 上的基础设施使用情况,包括粒度更细的 DCGM 计数和 IPMI 电源数据。
  • 开发具备异步检查点、自动故障诊断/恢复的容错预训练。
  • 开发解耦评估的调度,以提供及时的模型质量反馈并降低 GPU 空闲时间。

实验结果

研究问题

  • RQ1就时长、排队延迟和资源使用而言,LLM 开发工作负载与先前的面向任务的 DL 工作负载有何不同?
  • RQ2导致 LLM 为中心的数据中心工作负载低效、利用率不足和失败的主要因素是什么?
  • RQ3系统设计变更是否能够在预训练阶段提高容错性并加速对 LLM 的评估反馈?

主要发现

  • LLM 工作负载的 GPU 作业时长显著缩短(中位数 2 分钟),比先前的 DL 工作负载更短,更新的跟踪甚至更短。
  • 评估作业主导作业数量,但消耗的 GPU 资源份额很小,而预训练消耗了大部分 GPU 时间(Kal0s: 94.0%)。
  • GPU 利用率高度两极化(常接近 0% 或 100%),并伴随较高的内存使用,表明对 GPU 共享调度器存在限制。
  • CPU 内存和网络经常处于低利用状态,而 GPU 是主要资源;这表明相关资源被未充分利用,存在潜在的调度/放置优化空间。
  • 评估开销包括大量的模型加载、数据预处理和指标计算时间,导致 GPU 出现空闲时段;缓存和任务整合可以缓解。
  • 作业启动时频繁的基础设施故障和长时间的启动/恢复时间阻碍训练效率,推动容错预训练和解耦评估调度的必要性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。