Skip to main content

A system for parallel and distributed Python that unifies the ML ecosystem.

Project description

.. 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>

.. 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

.. image:: https://img.shields.io/badge/pypi-0.5.3-blue.svg
:target: https://pypi.org/project/ray/

|

**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


Project details


Release history Release notifications | RSS feed

This version

0.6.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

ray-0.6.0-cp37-cp37m-manylinux1_x86_64.whl (60.4 MB view hashes)

Uploaded CPython 3.7m

ray-0.6.0-cp37-cp37m-macosx_10_6_intel.whl (9.5 MB view hashes)

Uploaded CPython 3.7m macOS 10.6+ intel

ray-0.6.0-cp36-cp36m-manylinux1_x86_64.whl (60.3 MB view hashes)

Uploaded CPython 3.6m

ray-0.6.0-cp36-cp36m-macosx_10_6_intel.whl (9.5 MB view hashes)

Uploaded CPython 3.6m macOS 10.6+ intel

ray-0.6.0-cp35-cp35m-manylinux1_x86_64.whl (60.3 MB view hashes)

Uploaded CPython 3.5m

ray-0.6.0-cp35-cp35m-macosx_10_6_intel.whl (9.5 MB view hashes)

Uploaded CPython 3.5m macOS 10.6+ intel

ray-0.6.0-cp34-cp34m-manylinux1_x86_64.whl (60.3 MB view hashes)

Uploaded CPython 3.4m

ray-0.6.0-cp34-cp34m-macosx_10_6_intel.whl (9.5 MB view hashes)

Uploaded CPython 3.4m macOS 10.6+ intel

ray-0.6.0-cp27-cp27mu-manylinux1_x86_64.whl (60.3 MB view hashes)

Uploaded CPython 2.7mu

ray-0.6.0-cp27-cp27m-macosx_10_6_intel.whl (9.5 MB view hashes)

Uploaded CPython 2.7m macOS 10.6+ intel

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page