Skip to main content

A system for parallel and distributed Python that unifies the ML ecosystem.

Project description

Ray is a flexible, high-performance distributed execution framework.

Ray is easy to install: pip install ray

Example Use

Basic Python Distributed with Ray
# Execute f serially.

def f():
    return 1

results = [f() for i in range(4)]
# Execute f in parallel.

def f():
    return 1

results = ray.get([f.remote() for i in range(4)])

Ray comes with libraries that accelerate deep learning and reinforcement learning development:


Ray can be installed on Linux and Mac with pip install ray.

To build Ray from source or to install the nightly versions, see the installation documentation.

Getting Involved

Project details

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page