No description
Find a file
Eric Liang 173f1d629a
[tune] Ray Tune API cleanup (#1454)
Remove rllib dep: trainable is now a standalone abstract class that can be easily subclassed.

Clean up hyperband: fix debug string and add an example.

Remove YAML api / ScriptRunner: this was never really used.

Move ray.init() out of run_experiments(): This provides greater flexibility and should be less confusing since there isn't an implicit init() done there. Note that this is a breaking API change for tune.
2018-01-24 16:55:17 -08:00
.github Add docs for contributors. (#1191) 2017-11-10 00:40:19 -08:00
.travis Add a distributed Dataframe API to Ray (#1330) 2017-12-20 09:31:22 -08:00
cmake/Modules Second Part of Internal API Refactor (#1326) 2017-12-26 16:22:04 -08:00
doc [tune] Ray Tune API cleanup (#1454) 2018-01-24 16:55:17 -08:00
docker Fixing the jenkins tests (#1299) 2017-12-07 17:03:58 -08:00
examples [tune] Ray Tune API cleanup (#1454) 2018-01-24 16:55:17 -08:00
python [tune] Ray Tune API cleanup (#1454) 2018-01-24 16:55:17 -08:00
site 0.3 release blog post. (#1274) 2017-11-30 16:24:34 -08:00
src Update arrow with better dataframe serialization and get rid of custo… (#1413) 2018-01-24 10:03:29 -08:00
test [tune] Ray Tune API cleanup (#1454) 2018-01-24 16:55:17 -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 [docs] Add backlinks from hyperopt / rl algorithm examples to the built-on Ray libraries (#1356) 2017-12-23 00:31:33 -08:00
.style.yapf Make Monitor remove dead Redis entries from exiting drivers. (#994) 2017-09-26 00:11:38 -07:00
.travis.yml [tune] Experiment Management API (#1328) 2018-01-24 13:45:10 -08:00
build-docker.sh adding -x flag for better debugging during builds (#1079) 2017-10-04 13:56:14 -07:00
build.sh [rllib] Expose PPO evaluator resource requirements (#1391) 2018-01-11 11:09:01 -08:00
CMakeLists.txt Second Part of Internal API Refactor (#1326) 2017-12-26 16:22:04 -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

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