AIAny
AI Infra2017
Icon for item

Ray (by Anyscale)

Scales any Python or ML workload across CPUs and GPUs with a few decorators, instead of rewriting code for Spark or MPI. Bundles libraries for distributed training, hyperparameter tuning, RL, batch inference, and online model serving on one cluster.

Introduction

Most teams hit the same wall: a model trains fine on one machine, then scaling it means rewriting everything around Spark, MPI, or a bespoke task queue. Ray's bet is that scaling Python should not require switching frameworks — wrap a function with @ray.remote and it runs as a distributed task; the same primitives carry from a laptop to a thousand-node cluster.

What Sets It Apart
  • One runtime, full ML lifecycle: Ray Core handles distributed tasks and stateful actors, while Train, Tune, RLlib, Data, and Serve cover training, hyperparameter search, reinforcement learning, batch processing, and serving — so a pipeline stays on one cluster instead of being stitched across tools.
  • Born from research, hardened in production: it started at UC Berkeley's RISELab in 2017 and is now driven by Anyscale, with 1,000+ contributors and adoption at OpenAI, Uber, and Shopify for large-scale training and inference.
  • Heterogeneous scheduling: a single job can mix CPU and GPU tasks with fractional GPU allocation, which suits modern LLM and RL workloads that interleave the two.
Who It's For

Great fit if you have Python ML code that has outgrown one box and you want to scale without adopting a new programming model, or if you need training, tuning, and serving to share infrastructure. Look elsewhere if your data work fits squarely in Spark SQL or pandas at small scale — Ray's actor and cluster model adds operational overhead you won't recoup unless you actually need distribution.

Information

  • Websitewww.ray.io
  • OrganizationsAnyscale, UC Berkeley RISELab
  • AuthorsAnyscale, RISELab (UC Berkeley)
  • Published date2017/12/16

More Items

GitHub
AI Infra2026

Compresses tool outputs, logs, files and RAG chunks locally before they reach the LLM to reduce token usage while caching originals for on-demand retrieval. Provides proxy/library/wrap modes, JSON- and code-aware compressors, and reversible compression.

GitHub
AI Infra2026

Provides a self‑hosted OpenAI‑compatible gateway that exposes one API endpoint to route requests to 40+ model providers, issue revocable virtual keys, enforce budgets before spend, and record usage.

GitHub
AI Coding2023

A statically typed, parallel programming language that prevents AI-introduced bugs by making correctness claims (laws) require machine-checked proofs. Compiles to native code and targets CPU/GPU parallelism with a fast proof checker.