Skip to content
/ ray Public
forked from ray-project/ray

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

License

Notifications You must be signed in to change notification settings

stellaxu/ray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://github.com/ray-project/ray/raw/master/doc/source/images/ray_logo.png

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

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():
    time.sleep(1)
    return 1



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

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


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

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

Installation

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.

More Information

Getting Involved

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 61.8%
  • C++ 23.3%
  • Java 10.2%
  • Shell 1.5%
  • CMake 1.3%
  • HTML 0.8%
  • Other 1.1%