DrJAX:JAX 中可扩展且可微的 MapReduce 原语
DrJAX: Scalable and Differentiable MapReduce Primitives in JAX
AI总结:
DrJAX 是一个基于 JAX 的库,通过将 MapReduce 操作作为可微原语嵌入,支持大规模分布式机器学习,并可直接转换为 XLA HLO,实现高性能和可扩展性。
摘要:
我们提出了 DrJAX,一个基于 JAX 的库,旨在支持使用 MapReduce 风格操作的大规模分布式和并行机器学习算法。DrJAX 利用 JAX 的分片机制,实现对 TPU 和包括 Pathways 在内的最先进 JAX 运行时的原生支持。DrJAX 将 MapReduce 计算的构建块作为原语嵌入 JAX 中。这带来了三个关键优势。首先,DrJAX 计算可以直接转换为 XLA HLO,从而能够灵活集成各种机器学习训练平台。其次,DrJAX 计算完全可微。最后,DrJAX 计算可以被解释到现有的批处理计算系统中,包括像 Apache Beam 这样的传统 MapReduce 系统,以及为联邦学习应用提供动力的跨设备计算系统。我们展示了 DrJAX 为并行化算法开发提供了一个易于编程、高性能且可扩展的框架。DrJAX 可在 https://github.com/google-research/google-research/tree/master/drjax 获取。
英文摘要:
We present DrJAX, a JAX-based library designed to support large-scale distributed and parallel machine learning algorithms that use MapReduce-style operations. DrJAX leverages JAX's sharding mechanisms to enable native targeting of TPUs and state-of-the-art JAX runtimes, including Pathways. DrJAX embeds building blocks for MapReduce computations as primitives in JAX. This enables three key benefits. First, DrJAX computations can be translated directly to XLA HLO, enabling flexible integration with a wide array of ML training platforms. Second, DrJAX computations are fully differentiable. Last, DrJAX computations can be interpreted out to existing batch-processing compute systems, including traditional MapReduce systems like Apache Beam and cross-device compute systems like those powering federated learning applications. We show that DrJAX provides an easily programmable, performant, and scalable framework for parallelized algorithm development. DrJAX is available at \url{https://github.com/google-research/google-research/tree/master/drjax}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。