No description
Find a file
2018-03-08 00:48:49 -08:00
.github Add docs for contributors. (#1191) 2017-11-10 00:40:19 -08:00
.travis Replace python setup.py install with pip install -e . (#1460) 2018-02-22 11:15:03 -08:00
cmake/Modules Hiredis asio integration (#1547) 2018-02-20 13:37:09 -08:00
doc [autoscaler/tune] Optional YAML Fields + Fix Pretty Printing for Tune (#1541) 2018-03-04 23:35:58 -08:00
docker Remove vim from base-deps container and reduce number of build layers (#1667) 2018-03-07 10:16:08 -08:00
examples [rllib] Upgrade to OpenAI Gym 0.10.3 (#1601) 2018-03-06 00:31:02 -08:00
python [rllib] Move Ape-X metrics behind a debug flag and remove some of them (#1656) 2018-03-08 00:48:49 -08:00
site 0.3 release blog post. (#1274) 2017-11-30 16:24:34 -08:00
src Implement the Subscribe call for the new GCS API (#1652) 2018-03-06 09:56:12 -08:00
test Start chain replicated GCS with Ray (#1538) 2018-03-07 10:18:58 -08:00
thirdparty/scripts Start chain replicated GCS with Ray (#1538) 2018-03-07 10:18:58 -08:00
vsprojects Windows compatibility (#57) 2016-11-22 17:04:24 -08:00
.clang-format Implement object table notification subscriptions and switch to using Redis modules for object table. (#134) 2016-12-18 18:19:02 -08:00
.gitignore [DataFrame] Implement IO for ray_df (#1599) 2018-02-26 18:26:38 -08:00
.style.yapf Make Monitor remove dead Redis entries from exiting drivers. (#994) 2017-09-26 00:11:38 -07:00
.travis.yml Start chain replicated GCS with Ray (#1538) 2018-03-07 10:18:58 -08:00
build-docker.sh adding -x flag for better debugging during builds (#1079) 2017-10-04 13:56:14 -07:00
build.sh restructure how to organize 3rd party libs (#1630) 2018-03-01 14:29:56 -08:00
CMakeLists.txt restructure how to organize 3rd party libs (#1630) 2018-03-01 14:29:56 -08:00
CONTRIBUTING.rst Add docs for contributors. (#1191) 2017-11-10 00:40:19 -08:00
LICENSE [rllib] Basic port of baselines/deepq to rllib (#709) 2017-07-07 18:37:00 +00:00
pylintrc adding pylint (#233) 2016-07-08 12:39:11 -07:00
Ray.sln Windows compatibility (#57) 2016-11-22 17:04:24 -08:00
README.rst [tune] Standardize Ray Tune on documentation (#1448) 2018-01-21 12:07:15 -08:00
setup_thirdparty.sh restructure how to organize 3rd party libs (#1630) 2018-03-01 14:29:56 -08:00

Ray
===

.. image:: https://travis-ci.org/ray-project/ray.svg?branch=master
    :target: https://travis-ci.org/ray-project/ray

.. image:: https://readthedocs.org/projects/ray/badge/?version=latest
    :target: http://ray.readthedocs.io/en/latest/?badge=latest

|

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

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

- `Ray Tune`_: Hyperparameter Optimization Framework
- `Ray RLlib`_: A Scalable Reinforcement Learning Library

.. _`Ray Tune`: http://ray.readthedocs.io/en/latest/tune.html
.. _`Ray RLlib`: http://ray.readthedocs.io/en/latest/rllib.html


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`_.

.. _`Ubuntu`: http://ray.readthedocs.io/en/latest/install-on-ubuntu.html
.. _`Mac`: http://ray.readthedocs.io/en/latest/install-on-macosx.html


Example Program
---------------

+------------------------------------------------+----------------------------------------------+
| **Basic Python**                               | **Distributed with Ray**                     |
+------------------------------------------------+----------------------------------------------+
|.. code:: python                                |.. code-block:: python                        |
|                                                |                                              |
|  import time                                   |  import time                                 |
|                                                |  import ray                                  |
|                                                |                                              |
|                                                |  ray.init()                                  |
|                                                |                                              |
|                                                |  @ray.remote                                 |
|  def f():                                      |  def f():                                    |
|      time.sleep(1)                             |      time.sleep(1)                           |
|      return 1                                  |      return 1                                |
|                                                |                                              |
|  # Execute f serially.                         |  # Execute f in parallel.                    |
|  results = [f() for i in range(4)]             |  object_ids = [f.remote() for i in range(4)] |
|                                                |  results = ray.get(object_ids)               |
+------------------------------------------------+----------------------------------------------+


More Information
----------------

- `Documentation`_
- `Tutorial`_
- `Blog`_
- `Ray paper`_
- `Ray HotOS paper`_

.. _`Documentation`: http://ray.readthedocs.io/en/latest/index.html
.. _`Tutorial`: https://github.com/ray-project/tutorial
.. _`Blog`: https://ray-project.github.io/
.. _`Ray paper`: https://arxiv.org/abs/1712.05889
.. _`Ray HotOS paper`: https://arxiv.org/abs/1703.03924

Getting Involved
----------------

- Ask questions on our mailing list `ray-dev@googlegroups.com`_.
- Please report bugs by submitting a `GitHub issue`_.
- Submit contributions using `pull requests`_.

.. _`ray-dev@googlegroups.com`: https://groups.google.com/forum/#!forum/ray-dev
.. _`GitHub issue`: https://github.com/ray-project/ray/issues
.. _`pull requests`: https://github.com/ray-project/ray/pulls