talira

Distributed compute engine for scaling Python and AI workloads from a laptop to a cluster

open sourceApache-2.0free

Ray is an open source framework for scaling Python and AI applications: a core distributed runtime of tasks, actors and a shared object store, plus AI libraries for data processing (Ray Data), distributed training (Ray Train), hyperparameter tuning (Ray Tune), reinforcement learning (RLlib) and model serving (Ray Serve). The same code runs on a laptop, a cluster, any cloud or Kubernetes, with a dashboard and a distributed debugger.

Problems it solves

  • scale my Python code from my laptop to a cluster without rewriting it
  • run hyperparameter search across many GPUs
  • parallelise a Python workload across machines

Features

  • Ray Core: tasks, actors and distributed objects across a cluster
  • Ray Data for scalable ML datasets
  • Ray Train for distributed training
  • Ray Tune for hyperparameter tuning
  • RLlib for reinforcement learning
  • Ray Serve for model serving
  • Ray Dashboard and a distributed debugger
  • runs on a laptop, a cluster, any cloud or Kubernetes

Alternatives

The same job

These do what Ray does.

  1. Dask Easy parallel Python that does what you need
  2. Apache Spark Unified engine for large-scale data analytics
  3. SkyPilot Run, manage and scale AI jobs on Kubernetes, Slurm and 20+ clouds from one interface
  4. Colossal-AI PyTorch library for distributed training, fine-tuning and inference of large AI models
  5. PyTorch Lightning Organises PyTorch code and handles the training engineering, from one CPU to thousands of GPUs
  6. DeepSpeed Deep learning optimization library for training and serving very large models

Compare Ray with the top 3