a universal framework to ease scaling and enable distributed computing for machine learning & Python workloads MLOps is complex, making developer iterations and scaling too complex, leading to hampered developer productivity, consumption of excessive compute, and a slow-time-market. Fundamental Challenges
• Data science libraries are primarily based in Python but do not scale well • How do you scale text, images, logs, geospatial, video and sensor data? 5 Exponential Growth of Unstructured Data
reduce errors by between 20 and 50 percent” Demand forecasting • 100k SKUS - 50 categories • 210 DMA (Designated Market Area) • Time (Monthly, Weekly, Daily etc… 6 The Rise of Operational ML
Vision / NLP Recommendation systems Complex / Unstructured data processing Large Scale Inference Simulation Embarrassingly parallel Batch training Tuning AutoML Time Series Forecast Factory Backtesting
containers with celery running on AWS Batch and it used to take 2-3 days to train ~8000 models weekly for our marketplace use case. After doing a quick POC with Ray, we are now able to train 1000 models in 20 min. – ML Engineer, Instacart We did an internal benchmark for our forecast factory use cases and we found a 10x better performance compared to SageMaker. – Product Manager, Manufacturing Conglomerate With Ray we were able to create a self-service marketing attribution model. The service would train and tune many models & combinations and provide the best model based on user inputs. This has allowed to scale and provide an on-demand service for our customers. – Chief Technology Officer, AI Powered Marketing Co. We used Ray to solve our demand prediction use case and we obtained some astonishing results. Specifically, compared to our AWS Batch implementation, our Ray implementation is 9x faster and has reduced the cost by 87%. – Chief Technology Officer, anastasia.ai
MSA data from sequence data for ~100,000+ proteins, one would need 10+ years on a laptop. However, with Ray and a simple ~100-line python script, I was able to perform this task on 8,192 cores in one day. – Laksh Aithani, CEO at CHARM Therapeutics Using Ray and spacy.io, we can now process 15M documents in hours instead of weeks. This has allowed us to accelerate our NLP pipelines provide faster value to our clients. – Chief Technology Officer, AI Startup With Ray, we can now scale our time series backtesting part of our our algorithm trading workbench. This has allowed us to test and provide more robust models in a shorter period of time. – Thomas Kutschera, CEO @ Axovision Ray is 11x faster and 3x cheaper than traditional methods for our ultra-high resolution drone imagery — allowing us to significantly accelerate our restoration efforts in a cost-effective way. – Richard Decal, SWE at Dendra Systems
Python Ray AI Runtime Unified Framework for Scalable Computing Data Loading Training Reinforcement Learning Model Serving Ray Core Tuning One framework to scale all workloads!
Fast Time-to-Market Managed Ray Platform Eases development, deployment, scaling and management Managed Service Observability Access Control Workspaces Jobs Services Fully-Managed Scalable Compute Platform Ray AI Runtime Unified Framework for Scalable Computing Data Loading Training Reinforcement Learning Model Serving Ray Core Tuning Data / Features Orchestration Explainability / Observability Experiment Management Hyperparameter Tuning Serving / Applications Training
seamlessly scale to the cloud with no code changes! Develop Debug Develop on Laptop No code changes Develop Test Debug Develop on Cluster No code changes Run Monitor Production Deployment
change to go from laptop to the cloud • Speed time-to-market Train in hours or days rather than weeks or months. • Unified distributed framework Parallelize any ML and Python code • Simplify your MLOps Single script for data preprocessing, training, tuning and serving
Same function / Different hyperparam per job Different data / Same function 18 Scaling Design Patterns Same data / Different function Compute Data ... ...
Low task / actor overhead (ms) Node #N Head of a Node Node #1 19 Anatomy of a Ray Cluster Driver Worker Global Control Store (GCS) Scheduler Object Store RAYLET Worker Worker Scheduler Object Store RAYLET Worker Worker Scheduler Object Store RAYLET
Processing Batch Forecasting M5 Dataset ... ... ETS AutoArima Best Model Compute NYC Taxi Dataset PU Loc 1 PU Loc 2 ... ... PU Loc N LightShot Img 1 Img 2 ... ... Img N OCR Language? ... ... ...
@raydistributed • @anyscalecompute Fill out our survey for: • Feedback https://bit.ly/3CoqLX3 Request a Demo of the Anyscale Platform – Go to www.anyscale.com and Select ‘Try It Now’