Introduction
Large Language Models (LLMs) have fundamentally altered the landscape of deep learning. While much attention is paid to model performance and architectural innovation, the operational realities of training and evaluating these models at scale remain largely opaque. Previous studies on deep learning workloads, such as Microsoft’s Philly or Alibaba’s PAI, were conducted before the current LLM explosion and do not reflect the unique demands of unified Transformer architectures and massive foundation model pretraining.
This paper provides the first large-scale characterization of LLM development workloads, utilizing a six-month trace from the Acme datacenter at the Shanghai AI Laboratory. Housing over 4,700 NVIDIA A100 GPUs, this study debunks common myths about LLM workloads and introduces novel system designs to improve efficiency and fault tolerance.
The AcmeTrace Dataset
The researchers analyzed a comprehensive workload trace, dubbed AcmeTrace, spanning from March to August 2023. The data originates from two primary clusters:
- Seren: 286 nodes (2,288 A100s).
- Kalos: 302 nodes (2,416 A100s).
By combining scheduler logs, hardware monitoring (DCGM, IPMI), and fine-grained profiling data, the authors offer a holistic view of the LLM lifecycle, from initial pretraining to alignment and evaluation.
Workload Characterization: The Reality of LLM Development
The "Short Job" Paradox
A common misconception is that LLM workloads consist almost entirely of months-long training runs. However, the trace reveals that the median job duration in the datacenter was only 2 minutes. This paradox is driven by two factors: a massive volume of small-scale evaluation tasks and a high rate of early job failures. While pretraining consumes the vast majority of GPU time (94%), evaluation jobs make up over 90% of the total job count.
Polarized Resource Utilization
In traditional deep learning workloads, GPU utilization often varies across a wide spectrum. In contrast, LLM workloads exhibit a "polarized" or binary pattern: GPUs are either pinned at nearly 100% during computation or sit at 0% during I/O operations or system failures. There is virtually no middle ground, which renders traditional GPU-sharing techniques ineffective for these specific workloads.
The Evaluation Bottleneck
Because evaluation jobs are numerous but consume fewer resources per instance, they are often treated as low-priority "scavengers" for spare capacity. This leads to massive queuing delays. Furthermore, these jobs suffer from an I/O bottleneck where GPUs sit idle while massive model weights are loaded from remote storage.
Systemic Improvements and Solutions
Fault-Tolerant Pretraining
Hardware failures are a constant threat in large-scale clusters. Infrastructure issues, specifically NVLink and CUDA errors, account for over 82% of wasted GPU resources. To combat this, the authors developed a framework utilizing asynchronous checkpointing, allowing the system to save model states without pausing the training process. This reduced checkpointing overhead by 3.6× to 58.7×.
LLM-Assisted Diagnosis
In a "meta" application of the technology, the researchers employed a high-performing LLM (GPT-4) to act as a system administrator. The agent parses complex, messy error logs to identify root causes of failures. This LLM-assisted system reduced the need for manual developer intervention by approximately 90%.
Decoupled Evaluation Scheduling
To resolve the I/O bottleneck in evaluation, the authors introduced a decoupled scheduler. This system separates model loading into "precursor" jobs that move data to local shared memory before GPU inference begins. This optimization reduced the total time to complete evaluation trials (makespan) by up to 1.8×.
Conclusion and Future Work
The characterization of the Acme datacenter reveals that the primary challenges in LLM development are not just computational, but operational. The high "GPU-to-CPU" ratio in current nodes often leads to significant CPU underutilization, suggesting a need for more balanced hardware designs.
Future research will focus on optimizing for emerging architectures such as Mixture-of-Experts (MoE) and Mamba, as well as addressing the environmental impact and carbon footprint of these massive clusters. By open-sourcing AcmeTrace, the authors aim to help the community simulate and optimize next-generation LLM-specific schedulers.
Summary updated