Ray

Ray 是一个用于扩展人工智能和 Python 应用程序的统一框架。Ray 由一个核心分布式运行时和一套用于加速 ML 工作负载的人工智能库组成。「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 accelerating ML workloads.」

image

image

image

image

image

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:

image

Learn more about Ray AI
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.

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 Support Level
Response Time


Discourse Forum For discussions about < 1 day Community
development and questions
about usage.

GitHub Issues For reporting bugs and < 2 days Ray OSS Team
filing feature requests.

Slack For collaborating with other < 2 days Community
Ray users.

StackOverflow For asking questions about 3-5 days Community
how to use Ray.

Meetup Group For learning about Ray Monthly Ray DevRel
projects and best practices.

Twitter For staying up-to-date on Daily Ray DevRel
new features.

Main metrics

Overview
Name With Ownerray-project/ray
Primary LanguagePython
Program languageShell (Language Count: 16)
Platform
License:Apache License 2.0
所有者活动
Created At2016-10-25 19:38:30
Pushed At2025-04-22 14:20:51
Last Commit At2025-04-22 12:25:43
Release Count111
Last Release Nameray-2.44.1 (Posted on )
First Release Nameray-0.1.0 (Posted on )
用户参与
Stargazers Count36.7k
Watchers Count480
Fork Count6.2k
Commits Count24.9k
Has Issues Enabled
Issues Count20046
Issue Open Count3838
Pull Requests Count25390
Pull Requests Open Count680
Pull Requests Close Count6092
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private