Spark Deep Learning

Spark Deep Learning

โ˜… 3.8 ๐Ÿ”– 1200 saves ๐Ÿ’ฐ Free GitHub

Spark Deep Learning (Deep Learning Pipelines) is Databricks’ open-source library for running deep learning on Apache Spark. It set out to make distributed model training and large-scale inference look like ordinary Spark jobs: train with Horovod across a cluster, or apply a deep learning model to a DataFrame of images and tensors with a Spark transformer. The repository has around 2,000 GitHub stars; development has wound down (last code push in 2023) and the repo today mainly hosts the HorovodRunner component and API documentation, with the functionality largely absorbed into Databricks Runtime for Machine Learning.

Overview

The library’s two historical pillars were distributed training via HorovodRunner, which distributes a Horovod training function across Spark executors, and batch inference, which wrapped TensorFlow and Keras models as Spark ML transformers for scoring large datasets. It reflects the first generation of Spark-plus-deep-learning tooling that let data engineers stay inside the Spark ecosystem instead of exporting data to a separate training cluster.

Key Features

  • HorovodRunner: distributed deep learning training orchestrated by Spark
  • Deep learning inference as Spark ML transformers over DataFrames
  • Integration with TensorFlow and Keras models for batch scoring at scale
  • Built by Databricks and designed for Spark clusters and Databricks Runtime
  • Apache-2.0 licensed
  • Historical reference for Spark-native deep learning workflows

๐Ÿ’ณ Pricing

Free. The library is open source under the Apache-2.0 license; running it requires your own Spark cluster (or a Databricks workspace, which is a separate commercial product).

Who Is It For

Data engineers maintaining legacy Spark-based ML pipelines, and teams studying how distributed training and batch inference were integrated into the Spark ecosystem.

Deep Learning Pipelines arrived when Spark users wanted to apply neural networks to data already living in Spark clusters, and its TensorFlow-as-transformer pattern influenced how later systems approached batch inference on DataFrames. While new projects generally choose modern successors, many production clusters still run pipelines built on this library, and its HorovodRunner remains a documented integration point in Databricks environments.

๐Ÿš€ Visit Spark Deep Learning Official Site

๐Ÿšฉ Report an issue