Skip to content
A system for parallel and distributed Python that unifies the ML ecosystem.
Branch: master
Clone or download
Latest commit 50b2aa0 Apr 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
bazel
ci
dev
doc
docker Remove CMake files (#4493) Apr 3, 2019
examples
java
kubernetes On Kubernetes, set pod anti-affinity at the host level for pods of ty… Mar 11, 2019
python [tune] Better handling of tune.function in global checkpoint (#4519) Apr 5, 2019
site Update Gemfile Jekyll version (#3140) Oct 26, 2018
src/ray
thirdparty/scripts
tools
.bazelrc
.clang-format
.gitignore
.style.yapf
.travis.yml Travis CI: Do not hard-code Trusty, it EOLs this month (#4545) Apr 3, 2019
BUILD.bazel
CONTRIBUTING.rst Direct people to stackoverflow for questions about usage. (#3830) Jan 23, 2019
LICENSE
README.rst
WORKSPACE
build-docker.sh adding -x flag for better debugging during builds (#1079) Oct 4, 2017
build.sh
pylintrc
scripts
setup_thirdparty.sh update ray cmake build process (#2853) Sep 12, 2018

README.rst

https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_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

You can’t perform that action at this time.