Skip to content
A fast and simple framework for building and running distributed applications.
Python C++ Java Shell HTML C Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add CODEOWNERS file (#5259) Jul 26, 2019
bazel Retry and exception for hang on memory store full (#5143) Jul 27, 2019
ci [rllib] Autoregressive action distributions (#5304) Aug 10, 2019
doc [rllib] Autoregressive action distributions (#5304) Aug 10, 2019
docker Bump 0.8.0.dev2 -> 0.8.0.dev3 (#5409) Aug 9, 2019
java [ID Refactor] Refactor ActorID, TaskID and ObjectID (#5286) Aug 7, 2019
python [tune] Allow relative local_dir at tune.run() (#4734) Aug 10, 2019
rllib [hotfix] fix Travis action dist test (#5428) Aug 11, 2019
src/ray Fix TestDirectActorTaskCrossNodesFailure test (#5406) Aug 11, 2019
thirdparty/scripts Silence some installation process for build from source (#5396) Aug 7, 2019
.bazelrc Fix compiler warnings and make warnings fatal (#5375) Aug 7, 2019
.clang-format Remove legacy Ray code. (#3121) Oct 26, 2018
.gitignore Define common data structures with protobuf. (#5121) Jul 8, 2019
.style.yapf YAPF, take 3 (#2098) May 19, 2018
.travis.yml [ID Refactor] Refactor ActorID, TaskID and ObjectID (#5286) Aug 7, 2019
BUILD.bazel [ID Refactor] Refactor ActorID, TaskID and ObjectID (#5286) Aug 7, 2019
CONTRIBUTING.rst Add linting pre-push hook (#5154) Jul 10, 2019
LICENSE [rllib] add augmented random search (#2714) Aug 25, 2018
README.rst [sgd] Deprecate old distributed SGD implementation (#5160) Jul 22, 2019
WORKSPACE [Bazel] Modifying WORKSPACE file, so that you can make the project us… Apr 29, 2019
build-docker.sh Find bazel even if it isn't in the PATH. (#4729) May 2, 2019
build.sh Silence some installation process for build from source (#5396) Aug 7, 2019
pylintrc adding pylint (#233) Jul 8, 2016
scripts Lint script link broken, also lint filter was broken for generated py… Feb 23, 2019
setup_hooks.sh Clean up top level Ray dir (#5404) Aug 9, 2019
setup_thirdparty.sh Find bazel even if it isn't in the PATH. (#4729) May 2, 2019

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 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():
    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.