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 Infra2025

Measures generative AI inference performance with token-level metrics (TTFT, inter-token latency), latency, and throughput under realistic traffic patterns. Provides a multiprocess engine, real-time TUI dashboard, extensible plugins, and integrations for telemetry and result uploads, aimed at inference benchmarking and capacity planning.

GitHub
AI Train2019

Train and experiment with multi-billion to trillion-parameter transformer models on large GPU clusters using GPU-optimized building blocks and reference training scripts; offers advanced parallelism and mixed-precision support for research teams and ML engineers.

GitHub

Indexes full text of visited web pages and local files on a self‑hosted server so you can search your personal knowledge from a web UI, terminal, CLI, or an AI assistant. Runs without mandatory telemetry, offers a browser extension for automatic capture, and supports optional semantic search via a configurable embeddings endpoint.