Fine-grained Trace-driven Performance Modeling and Simulation for Large-scale ML Training

Mingyu Liang, Hiwot Tadese Kassa, Wenyin Fu, Brian Coutinho, Louis Feng, Christina DelimitrouMLArchSys @ ISCA 2024

Abstract

The widespread adoption of machine learning (ML) models, especially with the emergence of large language models (LLMs), has introduced growing challenges in understanding and optimizing both the models and their deployment systems. Performance modeling plays an essential role to predict model performance across various scenarios and guide optimization techniques. In this work, we present TraceSim, a fine-grained, trace-driven performance modeling and simulation framework. TraceSim captures runtime details of models without any model-specific instrumentation, and constructs a comprehensive execution graph to describe model execution. Evaluation with GPT-3 on a production-scale cluster of 256 GPUs achieves, on average, 95.6\% accuracy in reproducing the end-to-end execution time, and up to 99.5\% accuracy in predicting performance for unseen scaled-up scenarios.
BibTeX
@inproceedings{liang2024fine,
  author = {Mingyu Liang and Hiwot Tadese Kassa and Wenyin Fu and Brian Coutinho and Louis Feng and Christina Delimitrou},
  title = {{Fine-grained Trace-driven Performance Modeling and Simulation for Large-scale ML Training}},
  booktitle = {MLArchSys @ ISCA},
  year = {2024},
  url = {https://openreview.net/forum?id=nWPq6s35Rr},
}

Loading related content...

Figure