ray README

The project's README from github.com/ray-project/ray. As one markdown file: README.md.

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:

Learn more about Ray AI Libraries:

Or more about Ray Core and its key abstractions:

Learn more about Monitoring and Debugging:

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.

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

Older documents:

Getting Involved

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

ray (ray-project/ray)

Searching Database…

44.3K ·GitHub
What is this?Ray is an open-source framework for scaling AI and Python applications: a core distributed runtime plus a set of AI libraries that simplify ML compute.
Is it one library or a whole suite of them?A suite. On top of the Ray Core runtime sit five AI libraries: Data, Train, Tune, RLlib, and Serve, each targeting one ML workload.
How do I add Ray to a project?Install it from PyPI with pip install ray; nightly wheels are available via the installation page.
Is it only for ML work, or any Python code?Any of it, really: Ray is general-purpose and built to run any kind of workload performantly, though the bundled libraries zero in on ML compute.
Where can my Ray workloads run?Anywhere: Ray runs on any machine, cluster, cloud provider, and Kubernetes, with a growing ecosystem of community integrations.
What does the core runtime actually give me?Three abstractions: Tasks (stateless functions executed in the cluster), Actors (stateful worker processes created in the cluster), and Objects (immutable values accessible across the cluster).
My script runs fine on my laptop — when do I need Ray?When compute intensity outgrows one box: single-node environments like a laptop cannot keep up with compute-heavy ML workloads, and Ray scales the same code from a laptop to a cluster without other infrastructure.
Can I watch what a running cluster is doing?Yes — monitor Ray apps and clusters with the built-in Ray Dashboard, and debug them with the Ray Distributed Debugger.
Size
846.5 MB
Stars
44.3K
Age
10y
Commits · 90 Days