AIDB Daily Papers
数枚のGPUで大規模LLM学習を忠実に再現するエミュレーション技術「PrismLLM」
※ 日本語タイトル・ポイントはAIによる自動生成です。正確な内容は原論文をご確認ください。
ポイント
- 大規模LLM学習のデバッグや最適化のために、少数のGPUで本番と同等の挙動を再現する技術を開発しました。
- 従来のシミュレーションや小規模実験では捉えきれなかった、大規模環境特有の計算・通信・依存関係を忠実に再現できる点が重要かつ新規的です。
- PrismLLMは、本番環境の0.58%の誤差でイテレーション時間、0.01%の誤差でGPUメモリ使用量を再現し、8192GPU規模の学習を1%未満のGPUリソースでエミュレートすることに成功しました。
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 framework inevitably becomes complex and costly. This is because engineers often need to reproduce production behaviors to diagnose failures 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 to decouple large-scale execution from the need to access large clusters, enabling engineers to run and observe ranks of interest under faithful large-scale behavior using only a few GPUs. PrismLLM constructs a high-fidelity execution graph via a slicing-based approach that captures computation, communication, and dependencies of the target scale. Then, PrismLLM performs hybrid emulation where 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 reproduces performance and memory behavior, achieving only 0.58% average error in iteration time 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.
Paper AI Chat
この論文のPDF全文を対象にAIに質問できます。
質問の例: