arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2101.08734cs.DCcs.LG
收藏

用于分布式机器学习的透视预取算法I/O

Clairvoyant Prefetching for Distributed Machine Learning I/O

ETH Zürich(苏黎世联邦理工学院)

Nikoli Dryden, Roman Böhringer, Tal Ben-Nun, Torsten Hoefler

摘要:

I/O正在成为机器学习训练的主要瓶颈,特别是在分布式环境中。实际上,在大规模情况下,I/O占用了多达85%的训练时间。解决此I/O瓶颈需要仔细优化,因为最佳数据摄取管道在系统之间存在差异,并且需要在对本地存储、外部文件系统和远程节点的访问之间实现微妙的平衡。我们介绍NoPFS,一个机器学习I/O中间件,它提供了一个可扩展的,灵活的,易于使用的解决方案的I/O瓶颈。NoPFS使用透视:给定生成随机访问模式的种子,使用SGD进行训练,它可以准确地预测何时何地访问样本。我们将此与访问模式和性能模型的分析相结合,以提供分布式缓存策略,以适应不同的数据集和存储层次结构。NoPFS减少了I/O时间,并将ImageNet-1 k、ImageNet-22 k和CosmoFlow数据集上的端到端训练提高了5.4倍。

英文摘要:

I/O is emerging as a major bottleneck for machine learning training, especially in distributed environments. Indeed, at large scale, I/O takes as much as 85% of training time. Addressing this I/O bottleneck necessitates careful optimization, as optimal data ingestion pipelines differ between systems, and require a delicate balance between access to local storage, external filesystems, and remote nodes. We introduce NoPFS, a machine learning I/O middleware, which provides a scalable, flexible, and easy-to-use solution to the I/O bottleneck. NoPFS uses clairvoyance: Given the seed generating the random access pattern for training with SGD, it can exactly predict when and where a sample will be accessed. We combine this with an analysis of access patterns and a performance model to provide distributed caching policies that adapt to different datasets and storage hierarchies. NoPFS reduces I/O times and improves end-to-end training by up to 5.4x on the ImageNet-1k, ImageNet-22k, and CosmoFlow datasets.

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

↑