"Sparkflow: Utilizing Pyspark for Training Tensorflow Models on Large Datasets"
summary
Sparkflow is a library that wires PySpark pipelines to TensorFlow by copying networks to executors and running asynchronous Hogwild training against a driver-held parameter set, targeting multi-terabyte genomic matrices (billions of bases, thousands of patients). Initial implementation uses a Flask REST parameter server and runs into serialization and deadlock issues on some cluster managers; switching to gRPC with TensorFlow parameter server yields much lower IO overhead. It converges faster with more generalizability, but needs cluster-spec handling and spot-instance self-healing; hyperopt and an Estimator-like API are planned.
AI-written summary · about
chapters (13)
- 0:00Intro
- 1:31Problem
- 2:36Using Apache Spark's Existing Pipeline Ecosystem
- 3:48Spark Architecture
- 7:58How SparkFlow Works
- 11:26Parameter Server
- 12:11Pros and Cons of Asynchronous Train
- 15:08Challenges
- 17:42Future Plans
- 18:40Switching From Flask to TensorFlow So
- 20:02Changing the SparkAsyncDL parameters
- 20:37Hyper-opt Capabilities
- 22:17Where can I get SparkFlow?
