Counting 2,019 Big Data & Machine Learning Frameworks, Toolsets, and Examples...
Suggestion? Feedback? Tweet @stkim1

Author
Last Commit
Nov. 18, 2017
Created
Oct. 25, 2016

Ray

https://travis-ci.org/ray-project/ray.svg?branch=master https://readthedocs.org/projects/ray/badge/?version=latest

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

Installation

  • Ray can be installed on Linux and Mac with pip install ray.
  • To build Ray from source, see the instructions for Ubuntu and Mac.

Example Program

Basic Python Distributed with Ray
import time





def f():
    time.sleep(1)
    return 1

# Execute f serially.
results = [f() for i in range(4)]
import time
import ray

ray.init()

@ray.remote
def f():
    time.sleep(1)
    return 1

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

More Information

Getting Involved

Latest Releases
ray-0.2.2
 Nov. 1 2017
ray-0.2.1
 Oct. 1 2017
ray-0.2.0
 Aug. 30 2017
ray-0.1.2
 Jun. 26 2017
ray-0.1.1
 Jun. 26 2017