2018-11-30 18:28:35 -08:00
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
<a href=http://ray.readthedocs.io/en/latest/index.html><img align="right" width="30%" src="https://github.com/devin-petersohn/ray/raw/docs/update_readme/doc/source/images/ray_logo.png"></a>
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-05-29 16:44:02 -07:00
|
|
|
.. image:: https://travis-ci.com/ray-project/ray.svg?branch=master
|
|
|
|
:target: https://travis-ci.com/ray-project/ray
|
2017-03-17 16:48:25 -07:00
|
|
|
|
|
|
|
.. image:: https://readthedocs.org/projects/ray/badge/?version=latest
|
|
|
|
:target: http://ray.readthedocs.io/en/latest/?badge=latest
|
|
|
|
|
2018-12-01 19:16:45 -08:00
|
|
|
.. image:: https://img.shields.io/badge/pypi-0.6.0-blue.svg
|
2018-11-30 18:28:35 -08:00
|
|
|
:target: https://pypi.org/project/ray/
|
|
|
|
|
2017-03-17 16:48:25 -07:00
|
|
|
|
|
|
|
|
|
2018-11-30 18:28:35 -08:00
|
|
|
**Ray is a flexible, high-performance distributed execution framework.**
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-03-12 00:52:00 -07:00
|
|
|
|
|
|
|
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)]) |
|
|
|
|
+------------------------------------------------+----------------------------------------------------+
|
|
|
|
|
|
|
|
|
2017-12-06 18:17:51 -08:00
|
|
|
Ray comes with libraries that accelerate deep learning and reinforcement learning development:
|
|
|
|
|
2018-01-21 12:07:15 -08:00
|
|
|
- `Ray Tune`_: Hyperparameter Optimization Framework
|
2018-03-15 15:57:31 -07:00
|
|
|
- `Ray RLlib`_: Scalable Reinforcement Learning
|
2018-11-10 21:52:20 -08:00
|
|
|
- `Distributed Training <http://ray.readthedocs.io/en/latest/distributed_sgd.html>`__
|
2017-12-06 18:17:51 -08:00
|
|
|
|
2018-01-21 12:07:15 -08:00
|
|
|
.. _`Ray Tune`: http://ray.readthedocs.io/en/latest/tune.html
|
2017-12-06 18:17:51 -08:00
|
|
|
.. _`Ray RLlib`: http://ray.readthedocs.io/en/latest/rllib.html
|
|
|
|
|
2017-08-27 19:55:39 -07:00
|
|
|
Installation
|
|
|
|
------------
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-03-12 00:52:00 -07:00
|
|
|
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`_.
|
2017-09-30 15:37:28 -07:00
|
|
|
|
2018-03-12 00:52:00 -07:00
|
|
|
.. _`installation documentation`: http://ray.readthedocs.io/en/latest/installation.html
|
2017-09-30 15:37:28 -07:00
|
|
|
|
2017-08-27 19:55:39 -07:00
|
|
|
More Information
|
|
|
|
----------------
|
|
|
|
|
|
|
|
- `Documentation`_
|
2017-09-30 15:37:28 -07:00
|
|
|
- `Tutorial`_
|
2017-08-27 19:55:39 -07:00
|
|
|
- `Blog`_
|
2018-01-02 16:33:07 -08:00
|
|
|
- `Ray paper`_
|
2017-09-30 15:37:28 -07:00
|
|
|
- `Ray HotOS paper`_
|
2017-08-27 19:55:39 -07:00
|
|
|
|
|
|
|
.. _`Documentation`: http://ray.readthedocs.io/en/latest/index.html
|
2017-09-30 15:37:28 -07:00
|
|
|
.. _`Tutorial`: https://github.com/ray-project/tutorial
|
2017-09-11 23:11:15 -07:00
|
|
|
.. _`Blog`: https://ray-project.github.io/
|
2018-01-02 16:33:07 -08:00
|
|
|
.. _`Ray paper`: https://arxiv.org/abs/1712.05889
|
2017-09-30 15:37:28 -07:00
|
|
|
.. _`Ray HotOS paper`: https://arxiv.org/abs/1703.03924
|
2017-10-03 10:23:47 -07:00
|
|
|
|
|
|
|
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
|