Skip to main content
QUICK REVIEW

[Paper 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 Science6 citations
TL;DR

The paper presents a six-month workload trace study of LLM development in a GPU datacenter, analyzes how LLM workloads differ from prior DL workloads, and proposes fault-tolerant pretraining and decoupled evaluation scheduling to improve robustness and efficiency.

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.

Motivation & Objective

  • Characterize LLM development workloads in a real datacenter and compare them with prior DL workloads.
  • Identify factors contributing to inefficiencies and failures in LLM training and evaluation pipelines.
  • Propose system solutions to improve fault tolerance and feedback latency during LLM development.

Proposed method

  • Collect and analyze six months of workload traces from two LLM clusters (Seren and Kalos) in Acme, including scheduler logs, infrastructure monitoring, failure logs, and profiling data.
  • Categorize jobs by LLM development stages (data preparation, pretraining, alignment, evaluation, deployment) and workload type (pretraining, evaluation, SFT, MLLM, etc.).
  • Measure resource utilization patterns, job durations, queuing delays, and failure modes; compare with prior DL traces.
  • Assess infrastructure usage across CPU, memory, network, and GPU, including fine-grained DCGM counters and IPMI power data.
  • Develop fault-tolerant pretraining with asynchronous checkpointing and automatic failure diagnosis/recovery.
  • Develop decoupled scheduling for evaluation to provide timely model-quality feedback and reduce GPU idle time.

Experimental results

Research questions

  • RQ1How do LLM development workloads differ from prior task-specific DL workloads in terms of duration, queuing delay, and resource usage?
  • RQ2What are the main factors causing inefficiencies, underutilization, and failures in LLM-centered datacenter workloads?
  • RQ3Can system design changes improve fault tolerance during pretraining and speed up evaluation feedback for LLMs?

Key findings

  • LLM workloads exhibit much shorter GPU job durations (median 2 minutes) than prior DL workloads, with newer traces showing even shorter durations.
  • Evaluation jobs dominate job counts but consume a small share of GPU resources, while pretraining consumes most GPU time (Kal0s: 94.0%).
  • GPU utilization is highly polarized (often near 0% or 100%) with high memory usage, indicating limitations for GPU-sharing schedulers.
  • CPU memory and network are frequently underutilized, while GPUs are the primary resource; this suggests underuse of associated resources and potential scheduling/placement optimizations.
  • Evaluation overhead includes substantial model loading, data preprocessing, and metric computation time, leading to GPU idle periods; caching and task consolidation can mitigate this.
  • Frequent infrastructure failures at job start and long startup/recovery times impede training efficiency, motivating fault-tolerant pretraining and decoupled evaluation scheduling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.