Modern Deep Learning (DL) training runs on deeply layered software stacks that make the journey of data from storage to an accelerator hard to understand. Performance problems are therefore often attributed to data movement, and mitigation strategies are designed for it without analyzing where time actually goes. To better characterize the end-to-end performance and resource utilization of diverse modern DL pipelines, we study these pipelines across four domains of Natural Language Processing (NLP), Computer Vision, Medical Imaging, and Speech, using 11 open-weight models of varying size and type. We base our study on widely used open-source frameworks centered on PyTorch as the runtime, using high-performance NVIDIA H100 GPUs and NVMe SSDs. Our findings show that storage is not the bottleneck. It accounts for at most 7% of per-batch latency, and raw NVMe throughput exceeds end-to-end training throughput by 30-203$\times$ outside NLP and orders of magnitude in NLP. Bottlenecks instead depend on the domain. NLP training is compute-bound with Llama-3.2-3B reading under 50 KiB/s of training data from disk while keeping an H100 busy. By contrast, in Medical Imaging, decoding takes up to 83% of per-batch latency. We also find inefficiencies across the open-source deep learning software ecosystem. For example, multiprocessing dataloaders grow host (CPU) memory by 137 GiB at 48 workers and epoch boundaries stall training for up to 65 seconds. Furthermore, on NVMe SSDs, small checkpoints such as SegResNet's and 3D-UNet's (0.05 GiB) can be written every step at under 9% throughput cost, while Llama-3.2-3B's 18 GiB checkpoint written every 100 steps keeps 89% of throughput asynchronously but only 70% synchronously. We distill these results into domain-specific guidance for deploying and improving resource-efficient DL systems.


翻译:暂无翻译

0
下载
关闭预览

相关内容

《图机器学习》课程
专知会员服务
49+阅读 · 2024年2月18日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
Keras François Chollet 《Deep Learning with Python 》, 386页pdf
专知会员服务
164+阅读 · 2019年10月12日
Hierarchically Structured Meta-learning
CreateAMind
27+阅读 · 2019年5月22日
强化学习的Unsupervised Meta-Learning
CreateAMind
18+阅读 · 2019年1月7日
Unsupervised Learning via Meta-Learning
CreateAMind
44+阅读 · 2019年1月3日
李宏毅-201806-中文-Deep Reinforcement Learning精品课程分享
深度学习与NLP
15+阅读 · 2018年6月20日
【深度学习】深度学习的核心:掌握训练数据的方法
产业智能官
12+阅读 · 2018年1月14日
【深度强化学习】深度强化学习揭秘
产业智能官
21+阅读 · 2017年11月13日
国家自然科学基金
41+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
12+阅读 · 2014年12月31日
国家自然科学基金
25+阅读 · 2014年12月31日
国家自然科学基金
5+阅读 · 2014年12月31日
国家自然科学基金
11+阅读 · 2012年12月31日
Anomalous Instance Detection in Deep Learning: A Survey
Arxiv
16+阅读 · 2020年2月6日
A Survey on Deep Transfer Learning
Arxiv
11+阅读 · 2018年8月6日
Arxiv
25+阅读 · 2018年1月24日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
8+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
3+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关VIP内容
《图机器学习》课程
专知会员服务
49+阅读 · 2024年2月18日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
61+阅读 · 2019年10月17日
Keras François Chollet 《Deep Learning with Python 》, 386页pdf
专知会员服务
164+阅读 · 2019年10月12日
相关资讯
相关基金
国家自然科学基金
41+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
12+阅读 · 2014年12月31日
国家自然科学基金
25+阅读 · 2014年12月31日
国家自然科学基金
5+阅读 · 2014年12月31日
国家自然科学基金
11+阅读 · 2012年12月31日
Top
微信扫码咨询专知VIP会员