0

A Few GPUs, A Whole Lotta Scale: Faithful LLM Training Emulation with PrismLLM

Large language model (LLM) training today runs on clusters spanning thousands of GPUs. While this scale enables rapid model advances, developing, debugging, and performance-tuning the training infrastructure inevitably become complex and costly.

Preview
Year
2026
Hosting
Full text hostedCC-BY-4.0

Cite

Notes

Only stored in your browser.

Attribution

Abstract & full text
arxiv.org/abs/2605.15617CC-BY-4.0
TL;DR
Semantic Scholar
Attribution policy →

Abstract

Large language model (LLM) training today runs on clusters spanning thousands of GPUs. While this scale enables rapid model advances, developing, debugging, and performance-tuning the training infrastructure inevitably become complex and costly. This is because engineers often need to reproduce production behaviors or evaluate optimizations, thereby demanding frequent and even exclusive access to production-scale clusters---which becomes increasingly hard given that the majority of GPUs are already committed to production workloads. Simulation relies on complex performance models that are difficult to maintain, and downscaled experiments often fail to capture scale-dependent behaviors. We present PrismLLM, a system that decouples large-scale execution from large physical clusters, enabling engineers to run and observe ranks of interest with faithful at-scale behavior using only a few GPUs. PrismLLM constructs a high-fidelity execution representation by capturing computation, communication, and dependencies via context switching, while measuring and aligning timings across ranks via a slicing-based approach. Using this representation, PrismLLM performs hybrid emulation in which selected ranks execute the original program while the remaining ranks are replayed as virtual participants. Experiments on large-scale LLM training workloads show that PrismLLM accurately emulates performance and memory behavior, achieving only 0.58% average error in iteration time, 0.65% under straggler effects, and less than 0.01% error in peak GPU memory usage. PrismLLM can emulate clusters of up to 8192 GPUs using fewer than 1% of the physical GPUs required by the original deployment. In production, we build a training configuration tuning loop driven by PrismLLM, reducing evaluation GPU hours by 87.5% and outperforming expert-tuned baselines by up to 3.10% for online training tasks.