No description
Find a file
Eric Liang b85e7b43f3
[rllib] Refactor the sampler (#3387)
* refactor

* fix test

* add perf test

* Update sampler.py
2018-11-24 18:16:54 -08:00
.github Add docs for contributors. (#1191) 2017-11-10 00:40:19 -08:00
.travis [core] Add Global State Test for multi-node setting (#3239) 2018-11-13 10:35:24 -08:00
cmake/Modules Fix $MACOSX_DEPLOYMENT_TARGET (#3337) 2018-11-21 10:56:17 -08:00
dev Document the release process. (#2760) 2018-08-29 00:06:33 -07:00
doc [rllib] docs for td3 (#3381) 2018-11-22 13:36:47 -08:00
docker [tune] Node Fault Tolerance (#3238) 2018-11-21 12:38:16 -08:00
examples [rllib] Propagate model options correctly in ARS / ES, to action dist of PPO (#2974) 2018-10-01 12:49:39 -07:00
java Note requirement cython==0.27.3 in installation instructions. (#3322) 2018-11-15 15:27:19 -08:00
python [rllib] Refactor the sampler (#3387) 2018-11-24 18:16:54 -08:00
site Update Gemfile Jekyll version (#3140) 2018-10-25 21:43:08 -07:00
src/ray Fix memory leak in lineage cache (#3366) 2018-11-21 16:18:39 -08:00
test Fix incompatibility with most recent version of Redis. (#3379) 2018-11-24 16:36:38 -08:00
thirdparty/scripts Update arrow using Plasma with glog (#2913) 2018-09-20 13:37:44 -07:00
.clang-format Remove legacy Ray code. (#3121) 2018-10-26 13:36:58 -07:00
.gitignore Remove legacy Ray code. (#3121) 2018-10-26 13:36:58 -07:00
.style.yapf YAPF, take 3 (#2098) 2018-05-19 16:07:28 -07:00
.travis.yml Don't unsubscribe dependencies for infeasible tasks. (#3338) 2018-11-16 11:33:00 -08:00
build-docker.sh adding -x flag for better debugging during builds (#1079) 2017-10-04 13:56:14 -07:00
build.sh enable incremental builds (#3292) 2018-11-12 21:49:09 -05:00
CMakeLists.txt Remove legacy Ray code. (#3121) 2018-10-26 13:36:58 -07:00
CONTRIBUTING.rst Replace special single quote with regular single quote. (#1693) 2018-03-10 20:36:01 -08:00
LICENSE [rllib] add augmented random search (#2714) 2018-08-24 22:20:02 -07:00
pylintrc adding pylint (#233) 2016-07-08 12:39:11 -07:00
README.rst [sgd] Document and add simple MNIST example (#3236) 2018-11-10 21:52:20 -08:00
scripts Improve yapf speed and document its usage (#2160) 2018-06-05 20:22:11 -07:00
setup_thirdparty.sh update ray cmake build process (#2853) 2018-09-12 11:19:33 -07:00

Ray
===

.. image:: https://travis-ci.com/ray-project/ray.svg?branch=master
    :target: https://travis-ci.com/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 is easy to install: ``pip install ray``

Example Use
-----------

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


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

- `Ray Tune`_: Hyperparameter Optimization Framework
- `Ray RLlib`_: Scalable Reinforcement Learning
- `Distributed Training <http://ray.readthedocs.io/en/latest/distributed_sgd.html>`__

.. _`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 or to install the nightly versions, see the `installation documentation`_.

.. _`installation documentation`: http://ray.readthedocs.io/en/latest/installation.html

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