Bamboo:使可抢占式服务器具有弹性,以负担得起的方式培训大型DNN
Bamboo: Making Preemptible Instances Resilient for Affordable Training of Large DNNs
摘要:
跨许多领域的DNN模型的规模不断增长,导致有效培训的高资源需求,以及跨规模组织和研究实验室的令人不快(而且往往负担不起)的成本。本文旨在通过有效使用可抢占实例,即,那些可以在空闲时以便宜得多的价格获得,但是每当优先用户请求时可以被抢占的资源。然而,这样做需要新形式的弹性和效率来应对频繁抢占的可能性-这是一种与现有检查点技术针对的正常集群设置中的偶尔故障截然不同的故障模型。我们提出了Bamboo,一个分布式系统,通过在训练管道中引入冗余计算来解决这些挑战,即,由此一个节点不仅在其自己的层上而且在其邻居中的一些层上执行计算。我们的关键见解是,训练大型模型通常需要流水线并行,其中“流水线气泡”自然存在。Bamboo仔细地将冗余计算填充到这些气泡中,以低成本提供弹性。在各种广泛使用的DNN模型中,Bamboo在训练吞吐量方面优于传统检查点3.7倍,并且与使用按需实例的设置相比,成本降低了2.4倍。
英文摘要:
DNN models across many domains continue to grow in size, resulting in high resource requirements for effective training, and unpalatable (and often unaffordable) costs for organizations and research labs across scales. This paper aims to significantly reduce training costs with effective use of preemptible instances, i.e., those that can be obtained at a much cheaper price while idle, but may be preempted whenever requested by priority users. Doing so, however, requires new forms of resiliency and efficiency to cope with the possibility of frequent preemptions - a failure model that is drastically different from the occasional failures in normal cluster settings that existing checkpointing techniques target. We present Bamboo, a distributed system that tackles these challenges by introducing redundant computations into the training pipeline, i.e., whereby one node performs computations over not only its own layers but also over some layers in its neighbor. Our key insight is that training large models often requires pipeline parallelism where "pipeline bubbles" naturally exist. Bamboo carefully fills redundant computations into these bubbles, providing resilience at a low cost. Across a variety of widely used DNN models, Bamboo outperforms traditional checkpointing by 3.7x in training throughput, and reduces costs by 2.4x compared to a setting where on-demand instances are used.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。