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

Aviv Haber 4d0db2df4c Add script for basic memory pinning CUDA benchmark (#28493) 2 年之前
.buildkite 678f89e51d [ci] Move authenticated Ray AIR examples to different job (#28371) 2 年之前
.github 8a1936bb01 Add @ericl as codeowner of autoscaler (#28458) 2 年之前
.gitpod 045c47f172 [CI] Check test files for `if __name__...` snippet (#25322) 2 年之前
bazel be7ba70be3 Revert "update grpc to 1.48.0 (#23246)" (#28101) 2 年之前
binder 7d4296c72f run code in browser (#22727) 2 年之前
ci 0493439abe [ci/release] Fix release/ray_release/setup.py (#28441) 2 年之前
cpp 5b1de2b6fd [Job Submission][CPP Worker] introduce CPP job submission (#28104) 2 年之前
dashboard fe204bc57e [Job Submission][refactor 3/N] implement job log api in JobAgent (#28288) 2 年之前
deploy 11c9b1779d expose imagePullSecret to values.yaml (#27537) 2 年之前
doc 10996bd1e3 Add imports to object-spilling.rst Python code (#28507) 2 年之前
docker 96d579a4fe Add support for Python 3.10 (#21221) 2 年之前
java 437cf14e73 [Serve][Java] Directly Serialize Protobuf Objects in Client (#28034) 2 年之前
python 4d0db2df4c Add script for basic memory pinning CUDA benchmark (#28493) 2 年之前
release e0caa70a33 [core/ci] Disallow protobuf 3.19.5 (#28504) 2 年之前
rllib 7ba37885c6 Cast rewards as tf.float32 to fix error in DQN in tf2 (#28384) 2 年之前
scripts 3876fcdbe8 [CI] Add bazel py_test checking for Serve (#25509) 2 年之前
src c8249f9232 [runtime env] Fix segfault by sending RPC reply only after we're done accessing the request (#28409) 2 年之前
thirdparty d6b0b9a209 Revert "Revert "[grpc] Upgrade grpc to 1.45.2"" (#24201) 2 年之前
.bazelrc 419e78180a [runtime env] plugin refactor[6/n]: java api refactor (#26783) 2 年之前
.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 ec62d7f510 [Streaming]Farewell : remove all of streaming related from ray repo. (#21770) 2 年之前
.git-blame-ignore-revs da5cf93d97 Create `.git-blame-ignore-revs` for black formatting (#25118) 2 年之前
.gitignore 293452dcba [Core] Unrevert "Add retry exception allowlist for user-defined filtering of retryable application-level errors." (#26449) 2 年之前
.gitpod.yml 0fa6bae104 [dev] Enable gitpod (#15420) 3 年之前
.isort.cfg 1adb0fb24c Remove python/ray/core from blacklist and sort imports (#28416) 2 年之前
BUILD.bazel d7dcb1f938 Replace boost::filesystem with std::filesystem (#27522) 2 年之前
CONTRIBUTING.rst 171ad62e30 Link to the documentation on contributing from CONTRIBUTING.rst (#19396) 2 年之前
LICENSE adf24bfa97 [State Observability] Use a table format by default (#26159) 2 年之前
README.rst ad40e19ca0 [docs] Add the AIR technical whitepaper to our docs (#28053) 2 年之前
SECURITY.md a68bd2fcfd Create SECURITY.md (#21521) 2 年之前
WORKSPACE 3234fd3db4 [CI] Bump Bazel version to 4.2.2 (#24242) 2 年之前
build-docker.sh c3ac6fcf3f Bump Ray Version from 2.0.0.dev0 to 3.0.0.dev0 (#24894) 2 年之前
build.sh ac39e23145 Get rid of build shell scripts and move them to Python (#6082) 4 年之前
pylintrc 2e972c2a77 RLLIB and pylintrc (#8995) 4 年之前
setup_hooks.sh 65d9a410f7 [ci] Clean up ci/ directory (refactor ci/travis) (#23866) 2 年之前

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:

- `Datasets`_: Distributed Data Preprocessing
- `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.

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
.. _`Datasets`: 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 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 whitepaper`: https://docs.google.com/document/d/1lAy0Owi-vPz2jEqBSaHNQcy2IBSDEHyXNOQZlGuj93c/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