arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.06469cs.DCcs.LG
收藏

深度学习系统的模型并行模型选择

Model-Parallel Model Selection for Deep Learning Systems

University of California, San Diego(加州大学圣地亚哥分校)

Kabir Nagrecha

摘要:

随着深度学习在时间和计算方面变得越来越昂贵,机器学习(ML)训练的效率低下阻碍了大多数用户实际使用最先进的模型。最新的模型架构太大,无法安装在单个处理器上。为了解决这个问题,许多ML从业者已经转向模型并行,将其作为跨多个设备分布计算需求的方法。不幸的是,神经网络的顺序性质导致模型并行训练作业的效率和设备利用率非常低。我们提出了一种新形式的“分片并行”结合任务和模型并行,然后包装成一个框架,我们命名为Hydra。Hydra在多模型上下文中重铸了模型并行的问题,以产生独立模型分片(而不是独立模型)的细粒度并行工作负载。相对于传统的模型并行范例,这种新的并行设计保证了显著的加速。

英文摘要:

As deep learning becomes more expensive, both in terms of time and compute, inefficiencies in machine learning (ML) training prevent practical usage of state-of-the-art models for most users. The newest model architectures are simply too large to be fit onto a single processor. To address the issue, many ML practitioners have turned to model parallelism as a method of distributing the computational requirements across several devices. Unfortunately, the sequential nature of neural networks causes very low efficiency and device utilization in model parallel training jobs. We propose a new form of "shard parallelism" combining task and model parallelism, then package it into a framework we name Hydra. Hydra recasts the problem of model parallelism in the multi-model context to produce a fine-grained parallel workload of independent model shards, rather than independent models. This new parallel design promises dramatic speedups relative to the traditional model parallelism paradigm.

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

↑