# Ray | AI Compute Engine

**URL:** <https://onehack.st/t/ray-ai-compute-engine/294715>\
**Category:** Tools & Scripts\
**Tags:** programming, ai, gaming, pc-optimization\
**Created:** [October 29, 2024, 9:06pm UTC](https://onehack.st/t/ray-ai-compute-engine/294715 "2024-10-29T21:06:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlayBoy83](https://onehack.st/user_avatar/onehack.st/playboy83/32/164314_2.png) [@PlayBoy83](https://onehack.st/u/PlayBoy83)\
**Post date:** [October 29, 2024, 9:06pm UTC](https://onehack.st/t/ray-ai-compute-engine/294715/1 "2024-10-29T21:06:32Z")

</div>

[![https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_logo.png](https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_logo.png)](https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_logo.png)

[![https://readthedocs.org/projects/ray/badge/?version=master](https://camo.githubusercontent.com/7f5465690b415bb620cf8500a452603fbe5ea23e8b9801740b88f3000431151f/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f7261792f62616467652f3f76657273696f6e3d6d6173746572)](http://docs.ray.io/en/master/?badge=master) [![https://img.shields.io/badge/Ray-Join%20Slack-blue](https://camo.githubusercontent.com/94d9ec8e23284e1632c0906b67ef87507391fd583e08e974af6b60b931333309/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5261792d4a6f696e253230536c61636b2d626c7565)](https://forms.gle/9TSdDYUgxYs8SA9e8) [![https://img.shields.io/badge/Discuss-Ask%20Questions-blue](https://camo.githubusercontent.com/0da1a186dc1d8eeec17037d891e3a9f803aaea47ce024b13ec2fa271bede9707/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446973637573732d41736b2532305175657374696f6e732d626c7565)](https://discuss.ray.io/) [![https://img.shields.io/twitter/follow/raydistributed.svg?style=social&logo=twitter](https://camo.githubusercontent.com/10c05c5df4f1bd3fe18779d82bc39dc36c12a37dacd4fad04b244ee5b07a88e5/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f72617964697374726962757465642e7376673f7374796c653d736f6369616c266c6f676f3d74776974746572)](https://twitter.com/raydistributed) [![https://img.shields.io/badge/Get_started_for_free-3C8AE9?logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEKADAAQAAAABAAAAEAAAAAA0VXHyAAABKElEQVQ4Ea2TvWoCQRRGnWCVWChIIlikC9hpJdikSbGgaONbpAoY8gKBdAGfwkfwKQypLQ1sEGyMYhN1Pd%2B6A8PqwBZeOHt%2FvsvMnd3ZXBRFPQjBZ9K6OY8ZxF%2B0IYw9PW3qz8aY6lk92bZ%2BVqSI3oC9T7%2FyCVnrF1ngj93us%2B540sf5BrCDfw9b6jJ5lx%2FyjtGKBBXc3cnqx0INN4ImbI%2Bl%2BPnI8zWfFEr4chLLrWHCp9OO9j19Kbc91HX0zzzBO8EbLK2Iv4ZvNO3is3h6jb%2BCwO0iL8AaWqB7ILPTxq3kDypqvBuYuwswqo6wgYJbT8XxBPZ8KS1TepkFdC79TAHHce%2F7LbVioi3wEfTpmeKtPRGEeoldSP%2FOeoEftpP4BRbgXrYZefsAI%2BP9JU7ImyEAAAAASUVORK5CYII%3D](https://camo.githubusercontent.com/c2b92847d97281f1bf54644378bed3c81e106e59e765e8c73283baf11d689252/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4765745f737461727465645f666f725f667265652d3343384145393f6c6f676f3d64617461253341696d616765253246706e672533426261736536342532436956424f5277304b47676f414141414e5355684555674141414241414141415143415941414141663825324639684141414141584e535230494172733463365141414145526c57456c6d545530414b674141414167414159647041415141414141424141414147674141414141414136414241414d414141414241414541414b4143414151414141414241414141454b4144414151414141414241414141454141414141413056584879414141424b456c45515651344561325476576f43515252476e57435657436849496c696b433968704a64696b53624767614f4e6270416f5938674b4264414766776b66774b5179704c5131734547794d59684e315064253242364138507177425a654f48742532467673764d6e64335a5842524650516a425a394b364f59385a78462532423049597739505733717a386159366c6b3932625a25324256715349336f433954372532467943566e7246316e676a393375732532423534307366354272434466773962366a4a356c78253246796a74474b4242586333636e717830494e4e34496d62492532426c253242506e49387a57664645723463684c4c7257484370394f4f396a31394b626339314858307a7a7a424f3845624c4b324976345a764e4f3369733368366a6225324243774f30694c38416157714237494c50547871336b447970717642755975777377716f367767594a625438587842505a384b53315465706b4664433739544148486365253246374c6256696f693377456654706d654b7450524745656f6c6453502532464f656f456674705034425262675872595a656673414925324250394a5537496d794541414141415355564f524b3543594949253344)](https://console.anyscale.com/register/ha?utm_source=github&utm_medium=ray_readme&utm_campaign=get_started_badge)

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

[![](https://github.com/ray-project/ray/raw/master/doc/source/images/what-is-ray-padded.svg)](https://github.com/ray-project/ray/raw/master/doc/source/images/what-is-ray-padded.svg)

Learn more about [Ray AI Libraries](https://docs.ray.io/en/latest/ray-air/getting-started.html):

- [Data](https://docs.ray.io/en/latest/data/dataset.html): Scalable Datasets for ML
- [Train](https://docs.ray.io/en/latest/train/train.html): Distributed Training
- [Tune](https://docs.ray.io/en/latest/tune/index.html): Scalable Hyperparameter Tuning
- [RLlib](https://docs.ray.io/en/latest/rllib/index.html): Scalable Reinforcement Learning
- [Serve](https://docs.ray.io/en/latest/serve/index.html): Scalable and Programmable Serving

Or more about [Ray Core](https://docs.ray.io/en/latest/ray-core/walkthrough.html) and its key abstractions:

- [Tasks](https://docs.ray.io/en/latest/ray-core/tasks.html): Stateless functions executed in the cluster.
- [Actors](https://docs.ray.io/en/latest/ray-core/actors.html): Stateful worker processes created in the cluster.
- [Objects](https://docs.ray.io/en/latest/ray-core/objects.html): Immutable values accessible across the cluster.

Learn more about Monitoring and Debugging:

- Monitor Ray apps and clusters with the [Ray Dashboard](https://docs.ray.io/en/latest/ray-core/ray-dashboard.html).
- Debug Ray apps with the [Ray Distributed Debugger](https://docs.ray.io/en/latest/ray-observability/ray-distributed-debugger.html).

Ray runs on any machine, cluster, cloud provider, and Kubernetes, and features a growing [ecosystem of community integrations](https://docs.ray.io/en/latest/ray-overview/ray-libraries.html).

Install Ray with: `pip install ray`. For nightly wheels, see the [Installation page](https://docs.ray.io/en/latest/ray-overview/installation.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](http://docs.ray.io/en/latest/index.html)
- [Ray Architecture whitepaper](https://docs.google.com/document/d/1tBw9A4j62ruI5omIJbMxly-la5w4q_TjyJgJL_jN2fI/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)
- [RLlib paper](https://arxiv.org/abs/1712.09381)
- [Tune paper](https://arxiv.org/abs/1807.05118)

_Older documents:_

- [Ray paper](https://arxiv.org/abs/1712.05889)
- [Ray HotOS paper](https://arxiv.org/abs/1703.03924)
- [Ray Architecture v1 whitepaper](https://docs.google.com/document/d/1lAy0Owi-vPz2jEqBSaHNQcy2IBSDEHyXNOQZlGuj93c/preview)

## Getting Involved

| Platform | Purpose | Estimated Response Time | Support Level |
| --- | --- | --- | --- |
| [Discourse Forum](https://discuss.ray.io/) | For discussions about development and questions about usage. | \< 1 day | Community |
| [GitHub Issues](https://github.com/ray-project/ray/issues) | For reporting bugs and filing feature requests. | \< 2 days | Ray OSS Team |
| [Slack](https://www.ray.io/join-slack?utm_source=github&utm_medium=ray_readme&utm_campaign=getting_involved) | For collaborating with other Ray users. | \< 2 days | Community |
| [StackOverflow](https://stackoverflow.com/questions/tagged/ray) | For asking questions about how to use Ray. | 3-5 days | Community |
| [Meetup Group](https://www.meetup.com/Bay-Area-Ray-Meetup/) | For learning about Ray projects and best practices. | Monthly | Ray DevRel |
| [Twitter](https://twitter.com/raydistributed) | For staying up-to-date on new features. | Daily | Ray DevRel |

## GitHub:

> **[GitHub - ray-project/ray: Ray is an AI compute engine. Ray consists of a...](https://github.com/ray-project/ray)**
>
> Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
