一个针对强化学习和深度学习所设计的大规模分布式计算框架。

Artur Niederfahrenhorst e6368967ab Revert "Make GPU test" 1 年之前
.buildkite 3d124ccaba [RLlib] Add more gpu/multicpu jobs, make supported spaces tests exclusive (#35735) 1 年之前
.github fb4102471d [ci] External code tracker: Ignore if file is not found (#35376) 1 年之前
bazel f7435e1708 [core] Upgrade gtest to 1.13 (#32858) 1 年之前
binder 7d4296c72f run code in browser (#22727) 2 年之前
ci 045e617525 [git] enforce signoff in commit hooks (#35502) 1 年之前
cpp 44ef068bd1 [3/N] Streaming Generator. E2e integration (#35325) 1 年之前
dashboard 35cdd25be5 Add link to actor logs and message that task logs don't exist for async actors (#35828) 1 年之前
doc 11370b63a9 [Templates] Remove `runtime_env` usage and use a custom docker image when needed (#35475) 1 年之前
docker e211688a02 [docker] Add netbase to base deps docker image (#35174) 1 年之前
java 59822432c7 [serve] Add prefix to serve status protos (#34842) 1 年之前
python 443395bf3e [air/output] Fix output encoding in windows (#35770) 1 年之前
release 11370b63a9 [Templates] Remove `runtime_env` usage and use a custom docker image when needed (#35475) 1 年之前
rllib e6368967ab Revert "Make GPU test" 1 年之前
rllib_contrib 3275be3d9e [RLlib contrib] Added Table of content to list all externally contributed algorithm and examples in one centralized place (#35516) 1 年之前
scripts f2b65f5ca8 [ci] Remove scripts duplicates and symlinks except for format.sh (#34463) 1 年之前
src f2ce0f76fd [core][autoscaler] GCS Autoscaler V2: Add instance id to ray [3/x] (#35649) 1 年之前
thirdparty 2e83d1b353 [core] Update OpenCensus (#32553) 1 年之前
.bazeliskrc 1eb276b9f1 Update bazelisk version. (#34729) 1 年之前
.bazelrc 8d7f64ac6a Update bazel flags that is renamed. (#34732) 1 年之前
.clang-format e9755d87a6 [Lint] One parameter/argument per line for C++ code (#22725) 2 年之前
.clang-tidy 12100015d9 [Lint] Disable `modernize-use-override` (#19368) 3 年之前
.editorconfig 219180b580 Improve .editorconfig entries (#7344) 4 年之前
.flake8 9e2ee41c4d [serve] Fix traceback string for RayTaskErrors when deploying serve app (#33120) 1 年之前
.git-blame-ignore-revs da5cf93d97 Create `.git-blame-ignore-revs` for black formatting (#25118) 2 年之前
.gitignore ce7764b635 Revert "Revert "Global logging format changes" (#34126)" (#34182) 1 年之前
.isort.cfg 1adb0fb24c Remove python/ray/core from blacklist and sort imports (#28416) 2 年之前
BUILD.bazel d092f3d371 [core][autoscaler] GCS Autoscaler V2: Interface [1/x] (#35549) 1 年之前
CONTRIBUTING.rst 16b2963f11 fix docs: update broken links and edit for conciseness (#32733) 1 年之前
LICENSE 818ac9f469 Remove python 3.6 support [2/n] (#34416) 1 年之前
README.rst 2ddebc0aed Update README.rst (#35267) 1 年之前
SECURITY.md a68bd2fcfd Create SECURITY.md (#21521) 2 年之前
WORKSPACE 650bc36092 [ci] Use python 3.9 in WORKSPACE (#35255) 1 年之前
build-docker.sh d9d542db37 [ci] Restore pytest_checker script, but at correct location (#34523) 1 年之前
build.sh ac39e23145 Get rid of build shell scripts and move them to Python (#6082) 4 年之前
pylintrc 2e972c2a77 RLLIB and pylintrc (#8995) 4 年之前
pytest.ini e54ff46b62 [Fail on pytest warnings 1/n] Marking strings with invalid escape sequences as raw strings (#31523) 1 年之前
setup_hooks.sh 045e617525 [git] enforce signoff in commit hooks (#35502) 1 年之前

README.rst

.. image:: https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_logo.png

.. image:: https://readthedocs.org/projects/ray/badge/?version=master
:target: http://docs.ray.io/en/master/?badge=master

.. image:: https://img.shields.io/badge/Ray-Join%20Slack-blue
:target: https://forms.gle/9TSdDYUgxYs8SA9e8

.. image:: https://img.shields.io/badge/Discuss-Ask%20Questions-blue
:target: https://discuss.ray.io/

.. image:: https://img.shields.io/twitter/follow/raydistributed.svg?style=social&logo=twitter
:target: https://twitter.com/raydistributed

|

Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a toolkit of libraries (Ray AIR) for simplifying ML compute:

.. image:: https://github.com/ray-project/ray/raw/master/doc/source/images/what-is-ray-padded.svg

..
https://docs.google.com/drawings/d/1Pl8aCYOsZCo61cmp57c7Sja6HhIygGCvSZLi_AuBuqo/edit

Learn more about `Ray AIR`_ and its libraries:

- `Data`_: Scalable Datasets for ML
- `Train`_: Distributed Training
- `Tune`_: Scalable Hyperparameter Tuning
- `RLlib`_: Scalable Reinforcement Learning
- `Serve`_: Scalable and Programmable Serving

Or more about `Ray Core`_ and its key abstractions:

- `Tasks`_: Stateless functions executed in the cluster.
- `Actors`_: Stateful worker processes created in the cluster.
- `Objects`_: Immutable values accessible across the cluster.

Monitor and debug Ray applications and clusters using the `Ray dashboard `__.

Ray runs on any machine, cluster, cloud provider, and Kubernetes, and features a growing
`ecosystem of community integrations`_.

Install Ray with: ``pip install ray``. For nightly wheels, see the
`Installation page `__.

.. _`Serve`: https://docs.ray.io/en/latest/serve/index.html
.. _`Data`: https://docs.ray.io/en/latest/data/dataset.html
.. _`Workflow`: https://docs.ray.io/en/latest/workflows/concepts.html
.. _`Train`: https://docs.ray.io/en/latest/train/train.html
.. _`Tune`: https://docs.ray.io/en/latest/tune/index.html
.. _`RLlib`: https://docs.ray.io/en/latest/rllib/index.html
.. _`ecosystem of community integrations`: https://docs.ray.io/en/latest/ray-overview/ray-libraries.html


Why Ray?
--------

Today's ML workloads are increasingly compute-intensive. As convenient as they are, single-node development environments such as your laptop cannot scale to meet these demands.

Ray is a unified way to scale Python and AI applications from a laptop to a cluster.

With Ray, you can seamlessly scale the same code from a laptop to a cluster. Ray is designed to be general-purpose, meaning that it can performantly run any kind of workload. If your application is written in Python, you can scale it with Ray, no other infrastructure required.

More Information
----------------

- `Documentation`_
- `Ray Architecture whitepaper`_
- `Ray AIR Technical whitepaper`_
- `Exoshuffle: large-scale data shuffle in Ray`_
- `Ownership: a distributed futures system for fine-grained tasks`_
- `RLlib paper`_
- `Tune paper`_

*Older documents:*

- `Ray paper`_
- `Ray HotOS paper`_
- `Ray Architecture v1 whitepaper`_

.. _`Ray AIR`: https://docs.ray.io/en/latest/ray-air/getting-started.html
.. _`Ray Core`: https://docs.ray.io/en/latest/ray-core/walkthrough.html
.. _`Tasks`: https://docs.ray.io/en/latest/ray-core/tasks.html
.. _`Actors`: https://docs.ray.io/en/latest/ray-core/actors.html
.. _`Objects`: https://docs.ray.io/en/latest/ray-core/objects.html
.. _`Documentation`: http://docs.ray.io/en/latest/index.html
.. _`Ray Architecture v1 whitepaper`: https://docs.google.com/document/d/1lAy0Owi-vPz2jEqBSaHNQcy2IBSDEHyXNOQZlGuj93c/preview
.. _`Ray Architecture whitepaper`: https://docs.google.com/document/d/1tBw9A4j62ruI5omIJbMxly-la5w4q_TjyJgJL_jN2fI/preview
.. _`Ray AIR Technical whitepaper`: https://docs.google.com/document/d/1bYL-638GN6EeJ45dPuLiPImA8msojEDDKiBx3YzB4_s/preview
.. _`Exoshuffle: large-scale data shuffle in Ray`: https://arxiv.org/abs/2203.05072
.. _`Ownership: a distributed futures system for fine-grained tasks`: https://www.usenix.org/system/files/nsdi21-wang.pdf
.. _`Ray paper`: https://arxiv.org/abs/1712.05889
.. _`Ray HotOS paper`: https://arxiv.org/abs/1703.03924
.. _`RLlib paper`: https://arxiv.org/abs/1712.09381
.. _`Tune paper`: https://arxiv.org/abs/1807.05118

Getting Involved
----------------

.. list-table::
:widths: 25 50 25 25
:header-rows: 1

* - Platform
- Purpose
- Estimated Response Time
- Support Level
* - `Discourse Forum`_
- For discussions about development and questions about usage.
- < 1 day
- Community
* - `GitHub Issues`_
- For reporting bugs and filing feature requests.
- < 2 days
- Ray OSS Team
* - `Slack`_
- For collaborating with other Ray users.
- < 2 days
- Community
* - `StackOverflow`_
- For asking questions about how to use Ray.
- 3-5 days
- Community
* - `Meetup Group`_
- For learning about Ray projects and best practices.
- Monthly
- Ray DevRel
* - `Twitter`_
- For staying up-to-date on new features.
- Daily
- Ray DevRel

.. _`Discourse Forum`: https://discuss.ray.io/
.. _`GitHub Issues`: https://github.com/ray-project/ray/issues
.. _`StackOverflow`: https://stackoverflow.com/questions/tagged/ray
.. _`Meetup Group`: https://www.meetup.com/Bay-Area-Ray-Meetup/
.. _`Twitter`: https://twitter.com/raydistributed
.. _`Slack`: https://forms.gle/9TSdDYUgxYs8SA9e8