mirror of
https://github.com/vale981/ray
synced 2025-03-06 18:41:40 -05:00

* Teaser in the front page of docs * TEASER * try changing README * spacing * readme * power words * readme obj_id change * obj_ids change for docs * Updates to readme. * Update landing page in documentation. * Fix linting.
83 lines
2.9 KiB
ReStructuredText
83 lines
2.9 KiB
ReStructuredText
Ray
|
|
===
|
|
|
|
*Ray is a flexible, high-performance distributed execution framework.*
|
|
|
|
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)] | results = ray.get([f.remote() for i in range(4)]) |
|
|
+------------------------------------------------+----------------------------------------------------+
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:caption: Installation
|
|
|
|
install-on-ubuntu.rst
|
|
install-on-macosx.rst
|
|
install-on-docker.rst
|
|
installation-troubleshooting.rst
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:caption: Getting Started
|
|
|
|
tutorial.rst
|
|
api.rst
|
|
actors.rst
|
|
using-ray-with-gpus.rst
|
|
rllib.rst
|
|
webui.rst
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:caption: Examples
|
|
|
|
example-hyperopt.rst
|
|
example-rl-pong.rst
|
|
example-policy-gradient.rst
|
|
example-resnet.rst
|
|
example-a3c.rst
|
|
example-lbfgs.rst
|
|
example-evolution-strategies.rst
|
|
using-ray-with-tensorflow.rst
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:caption: Design
|
|
|
|
internals-overview.rst
|
|
serialization.rst
|
|
fault-tolerance.rst
|
|
plasma-object-store.rst
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:caption: Cluster Usage
|
|
|
|
using-ray-on-a-cluster.rst
|
|
using-ray-on-a-large-cluster.rst
|
|
using-ray-and-docker-on-a-cluster.md
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:caption: Help
|
|
|
|
troubleshooting.rst
|
|
contact.rst
|