Fork me on GitHub

Ray is a fast and simple framework for building and running distributed applications.

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)])

To launch a Ray cluster, either privately, on AWS, or on GCP, follow these instructions.

View the codebase on GitHub.

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