计算机科学 > 性能
[提交于 2025年2月11日]
标题:Memory Analysis on the Training Course of DeepSeek Models
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present a theoretical analysis of GPU memory consumption during the training of DeepSeek models such as DeepSeek-v2 and DeepSeek-v3. Our primary objective is to clarify the device-level memory requirements associated with various distributed training configurations. Specifically, we examine critical factors influencing memory usage, including micro-batch size, activation recomputation policies, 3D parallelism, and ZeRO optimizations. It is important to emphasize that the training policies discussed in this report are not representative of DeepSeek's official configurations. Instead, they are explored to provide a deeper understanding of memory dynamics in training of large-scale mixture-of-experts model.
提交历史
来自:Ping Zhang[v1] 2025年2月11日 星期二 09:51:25 UTC