Deep learning recommendation models (DLRMs) are used across many business-critical services at Facebook and are the single largest AI application in terms of infrastructure demand in its data-centers. In this paper we discuss the SW/HW co-designed solution for high-performance distributed training of large-scale DLRMs. We introduce a high-performance scalable software stack based on PyTorch and pair it with the new evolution of Zion platform, namely ZionEX. We demonstrate the capability to train very large DLRMs with up to 12 Trillion parameters and show that we can attain 40X speedup in terms of time to solution over previous systems. We achieve this by (i) designing the ZionEX platform with dedicated scale-out network, provisioned with high bandwidth, optimal topology and efficient transport (ii) implementing an optimized PyTorch-based training stack supporting both model and data parallelism (iii) developing sharding algorithms capable of hierarchical partitioning of the embedding tables along row, column dimensions and load balancing them across multiple workers; (iv) adding high-performance core operators while retaining flexibility to support optimizers with fully deterministic updates (v) leveraging reduced precision communications, multi-level memory hierarchy (HBM+DDR+SSD) and pipelining. Furthermore, we develop and briefly comment on distributed data ingestion and other supporting services that are required for the robust and efficient end-to-end training in production environments.
翻译:我们在本文件中讨论SW/HW共同设计的大规模DLRM高性能分布培训高性能分布培训解决方案。我们采用了基于PyToranch的高性能可缩缩放软件堆,并将其与Zion平台的新演进(ZionEX)相匹配。我们展示了对大型DLRM进行多达12个三利系数参数的大型短期调整培训的能力,并表明我们能够在基础设施需求方面加快40X的速度,以便解决以往系统的基础设施需求。我们在本文件中讨论了SW/HW共同设计的大规模DLRM培训高性能分布式高级DLRM培训的解决方案。我们采用了基于PyTorrich的高性能可缩放软件堆,该堆与Zion平台的新演进相匹配。我们展示了能够将嵌入表格与行、柱体尺寸和负荷平衡于多个工人的分级平衡的硬性算法。我们通过(四)在高性性能培训核心操作者与专用的升级网络中设计Zionex-lifinal-de-SDRM-SD-SD-SD-S-SD-SD-SD-SDR-SD-SD-S-S-SD-SD-S-S-S-SD-SD-SD-S-SD-SD-SD-S-SD-S-S-S-S-S-S-S-S-SD-S-S-S-S-S-S-S-SD-SD-SD-SD-SD-SD-SD-SD-SD-SD-SD-S-SD-SD-D-S-S-S-S-S-S-D-S-S-S-S-S-S-S-S-S-D-D-S-D-D-D-SD-SD-S-S-S-SD-S-S-S-S-S-S-S-S-SD-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-S-