Getting Started

How to get started with Ray

1

Install Ray

Install Ray using pip with the command `pip install ray`.

2

Start a Local Cluster

Launch a local Ray cluster using `ray start --head` or use the Anyscale platform for managed clusters.

3

Write Distributed Code

Use Ray's `@ray.remote` decorator to define tasks and actors for distributed execution.

4

Deploy to Cloud

Deploy your distributed application to cloud clusters via Anyscale or integrate with development tools like VSCode or Jupyter.

5

Monitor Workloads

Use the Ray Dashboard to observe workload performance and debug distributed tasks.