arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.21275cs.DC
收藏

优化高吞吐分布式数据流水线以实现大规模可重复深度学习

Optimizing High-Throughput Distributed Data Pipelines for Reproducible Deep Learning at Scale

Uber Technologies(优步科技公司)

Kashish Mittal, Di Yu, Roozbeh Ketabi, Arushi Arora, Brendon Lapp, Peng Zhang

AI总结:

本文通过Petastorm数据加载器和Apache Parquet数据集优化分布式GPU训练流水线,解决数据加载瓶颈,提升GPU利用率至60%以上,减少训练时间至3小时,实现高吞吐可重复大规模模型训练。

摘要:

在训练大规模深度学习模型时,处理数十TB的数据集面临硬件利用和训练可重复性的关键挑战。本文通过Petastorm数据加载器和Apache Parquet数据集,识别并解决了分布式GPU训练流水线中的深层数据加载瓶颈。通过系统性分析,我们证明网络I/O和CPU绑定的数据转换(如PyArrow到NumPy)将GPU利用率限制在10-15%。为此,我们提出了一种优化架构,通过推下工人级转换和本地磁盘缓存(Fanout-Cache)减少冗余I/O和CPU开销。此外,我们通过实现专用的轮询通风器和结果队列,消除多工人共享队列中的竞态条件,并采用现代化的RNG处理,实现严格确定性的数据加载。我们的优化使训练速度提升6倍,将端到端训练时间从22小时减少到3小时,GPU利用率提高至60%以上,并大幅减少运行间变异,实现稳健、高吞吐和可重复的大规模模型训练。

英文摘要:

Training massive-scale deep learning models on datasets spanning tens of terabytes presents critical challenges in hardware utilization and training reproducibility. In this paper, we identify and resolve profound data-loading bottlenecks within distributed GPU training pipelines using the Petastorm data loader and Apache Parquet datasets. Through systematic profiling, we demonstrate that network I/O and CPU-bound data transformations (e.g., PyArrow to NumPy) constrain GPU utilization to as low as 10-15%. To address this, we propose an optimized architecture that features push-down worker-level transformations coupled with local-disk caching via Fanout-Cache, minimizing redundant I/O and CPU overhead across training epochs. Furthermore, we eliminate race conditions in multi-worker shared queues by implementing dedicated round-robin ventilator and result queues, alongside modernized RNG handling, achieving strict deterministic data loading. Our optimizations yield a 6x speedup, reducing end-to-end training time from 22 hours to 3 hours, increasing GPU utilization to over 60%, and drastically reducing run-to-run variance, enabling robust, high-throughput, and reproducible large-scale model training.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑