LLM Fine-Tuning Workloads: Characterization, Challenges, and Opportunities for Serverless AI
Radu Nicolae, Daniele Lotito, Alexandru Iosup
Abstract
Serverless execution of Large Language Models (LLMs) is becoming important, reflecting their wide societal use. An increasingly present stage in LLM pipelines is fine-tuning, which specializes trained models and improves inference performance. Serverless operation of LLM fine-tuning workloads shifts operational concerns from the user to the provider. For these new workloads, providers face important operational complexities, such as performance issues, resource waste, and even service failure due to misconfiguration. However, optimizing such workloads is still at an early stage, and, relevant to this work, relatively little is currently known about how LLM fine-tuning workloads run in practice. In this work, we address the knowledge gap by characterizing the execution of LLM fine-tuning workloads on clusters equipped with different GPUs, running LLM models at various scales. We analyze IBM's LLMFineTuningBench, a large-scale, diverse profiling dataset of 30,920 fine-tuning experiments that records both successful and failing configurations. We provide quantitative insight into throughput (expressed in tokens/s), scaling, failure, and potential for performance optimization for four commonly used GPU types, in setups of 1 to 32 GPUs. We find that (1) job feasibility (run or fail) depends on workload properties, with failure ratios rising from 52% for small batch sizes (16-64) up to 95% for the largest (1,024); (2) throughput grows logarithmically with batch size; (3) scaling is near-linear when the workload is deployed intra-node, and optimizations such as RoCE substantially improves efficiency for inter-node deployment (e.g., 0.72 vs. 0.26 efficiency without RoCE); and (4) system-level optimizations can outweigh application-level ones (RoCE, up to 2.9×, vs. Fast MoE, 1.7×).
Create a lesson
Related papers
CARE-FL: Federated Fine-Tuning of Multimodal LLMs in Resource-Constrained Edge Networks
Shared title terminology · Tianqi Zong, Baosheng Li, Nuocheng Yang et al.
Characterizing Serverless Workloads: A Large-Scale Analysis of Function-as-a-Service Platforms
Shared title terminology · Saman Akbari, Yassine Lazreg, Mohammadreza Malekabbasi et al.
A Unified Queueing-Based Framework for Comparative Evaluation of Serverless Autoscaling Strategies under Bursty Workloads
Shared title terminology · Zahra Zafarzade, Ehsan Ataie
When and Why to Use TMA: A Workload-Grounded Characterization of Tensor Memory Acceleration on NVIDIA Hopper GPUs
Shared title terminology · Christin David Bose, Cesar Avalos, Junrui Pan et al.
Beyond Hotness: High-Resolution Memory Characterization of Cloud and LLM Workloads for Tiered Memory with ARM SPE
Shared title terminology · Jie Ren, Ivy Peng
Contention-Aware Flexible Execution for Machine Learning Workloads
Shared title terminology · Marco Kurzynski, Shaizeen Aga, Di Wu