No description
Find a file
Eric Liang 35f7398666
[rllib] Update RLlib docs and README (#1288)
Updates the rllib docs and README.
2017-12-06 18:17:51 -08:00
.github Add docs for contributors. (#1191) 2017-11-10 00:40:19 -08:00
.travis Upgrade cloudpickle to 0.5.2. (#1244) 2017-11-22 20:23:04 -08:00
cmake/Modules Changes to build to fix creation of wheels. (#840) 2017-08-21 17:49:35 -07:00
doc [rllib] Update RLlib docs and README (#1288) 2017-12-06 18:17:51 -08:00
docker Upgrade cloudpickle to 0.5.2. (#1244) 2017-11-22 20:23:04 -08:00
examples Add streaming MapReduce example (#1251) 2017-11-27 21:38:35 -08:00
python [rllib] Update RLlib docs and README (#1288) 2017-12-06 18:17:51 -08:00
site 0.3 release blog post. (#1274) 2017-11-30 16:24:34 -08:00
src Mark the killed as done outside of loop (#1284) 2017-12-02 14:42:16 -08:00
test [rllib] Refactor DQN to use an Evaluator abstraction (#1276) 2017-12-06 17:51:57 -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
.editorconfig Update Windows support (#317) 2016-07-28 13:11:13 -07:00
.gitignore Add basic functionality for Cython functions and actors (#1193) 2017-11-09 17:49:06 -08:00
.style.yapf Make Monitor remove dead Redis entries from exiting drivers. (#994) 2017-09-26 00:11:38 -07:00
.travis.yml Add basic functionality for Cython functions and actors (#1193) 2017-11-09 17:49:06 -08:00
build-docker.sh adding -x flag for better debugging during builds (#1079) 2017-10-04 13:56:14 -07:00
build.sh Changes to build to fix creation of wheels. (#840) 2017-08-21 17:49:35 -07:00
CMakeLists.txt Rebase Ray on latest arrow (remove numbuf from Ray). (#910) 2017-09-04 22:58:49 -07: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 [rllib] Update RLlib docs and README (#1288) 2017-12-06 18:17:51 -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`_: Efficient Distributed Hyperparameter Search
- `Ray RLlib`_: A Composable and 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 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 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