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

在公共云上使用高度并行的硬件加速GAN培训

Accelerating GAN training using highly parallel hardware on public cloud

CERN(欧洲核子研究中心)

Renato Cardoso, Dejan Golubovic, Ignacio Peluaga Lozada, Ricardo Rocha, João Fernandes, Sofia Vallecorsa

摘要:

随着高能物理中机器和深度学习应用的数量不断增加,对专用基础设施的轻松访问是快速高效研发的要求。本文利用Tensorflow数据并行策略,在并行环境中探索不同类型的云服务来训练生成对抗网络(GAN)。更具体地说,我们在多个GPU和Google Tensor Processing Units(TPU)上并行化了训练过程,并比较了两种算法:TensorFlow内置逻辑和自定义循环,优化后可以更好地控制分配给每个GPU工人或TPU核心的元素。所生成的数据的质量进行比较,蒙特卡罗模拟。获得了训练过程的线性加速,同时保留了物理结果方面的大部分性能。此外,我们在多个GPU节点上大规模地对上述方法进行基准测试,在不同的公共云提供商上部署训练过程,寻求整体效率和成本效益。数据科学、云部署选项和相关经济性的结合允许异构地爆发,探索基于云的服务的全部潜力。

英文摘要:

With the increasing number of Machine and Deep Learning applications in High Energy Physics, easy access to dedicated infrastructure represents a requirement for fast and efficient R&D. This work explores different types of cloud services to train a Generative Adversarial Network (GAN) in a parallel environment, using Tensorflow data parallel strategy. More specifically, we parallelize the training process on multiple GPUs and Google Tensor Processing Units (TPU) and we compare two algorithms: the TensorFlow built-in logic and a custom loop, optimised to have higher control of the elements assigned to each GPU worker or TPU core. The quality of the generated data is compared to Monte Carlo simulation. Linear speed-up of the training process is obtained, while retaining most of the performance in terms of physics results. Additionally, we benchmark the aforementioned approaches, at scale, over multiple GPU nodes, deploying the training process on different public cloud providers, seeking for overall efficiency and cost-effectiveness. The combination of data science, cloud deployment options and associated economics allows to burst out heterogeneously, exploring the full potential of cloud-based services.

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

↑