Apache Airflow and Ray Orchestrating ML at Scale
summary
Adds a one-line raytask decorator to Airflow TaskFlow that runs Python functions on a Ray cluster, returns large DataFrames by reference via Ray’s plasma store, and records object IDs in XCom so downstream tasks fetch data without S3 traffic. Works with Modin, XGBoost, TensorFlow, Ray Tune and Ray Serve. Alpha is released, beta adds checkpointing to spill intermediates to S3 for fault tolerance, and GA was planned for 2021 with Anyscale integration.
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker
- 0:45Background and motivation
- 2:12Airflow data science story
- 3:38Notebook to production challenges
- 5:02Ideal ML workflow with Airflow
- 6:25Introducing Ray framework
- 7:53TaskFlow API and Ray integration
- 10:17Example from notebook to production
- 13:05How the integration works
- 14:31Next steps and checkpointing
- 16:39Roadmap and future plans
- 17:21Getting started with Ray provider
- 18:03Closing and acknowledgments
