Weld:重新思考数据密集型应用程序之间的接口
Weld: Rethinking the Interface Between Data-Intensive Applications
摘要:
数据分析应用程序结合了来自不同库和框架的多种功能。即使每个功能都单独优化,由于这些功能之间的大量数据移动,组合应用程序的性能也可能低于硬件限制的数量级。为了解决这个问题,我们提出了Weld,这是一种数据密集型库之间的新接口,可以在不相交的库和函数之间进行优化。Weld公开了一个惰性评估的API,其中不同的函数可以在一个简单但通用的中间表示中提交它们的计算,该表示捕获了它们的数据并行结构。然后,它优化了这些功能之间的数据移动,并为不同的硬件发出有效的代码。Weld可以集成到现有的框架中,如Spark,TensorFlow,Pandas和NumPy,而无需更改其面向用户的API。我们证明了Weld可以将使用这些框架的应用程序加速高达29倍。
英文摘要:
Data analytics applications combine multiple functions from different libraries and frameworks. Even when each function is optimized in isolation, the performance of the combined application can be an order of magnitude below hardware limits due to extensive data movement across these functions. To address this problem, we propose Weld, a new interface between data-intensive libraries that can optimize across disjoint libraries and functions. Weld exposes a lazily-evaluated API where diverse functions can submit their computations in a simple but general intermediate representation that captures their data-parallel structure. It then optimizes data movement across these functions and emits efficient code for diverse hardware. Weld can be integrated into existing frameworks such as Spark, TensorFlow, Pandas and NumPy without changing their user-facing APIs. We demonstrate that Weld can speed up applications using these frameworks by up to 29x.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。