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.

主要指標

概覽
名稱與所有者ray-project/ray
主編程語言Python
編程語言Shell (語言數: 16)
平台
許可證Apache License 2.0
所有者活动
創建於2016-10-25 19:38:30
推送於2025-06-10 14:27:25
最后一次提交2025-06-10 07:22:34
發布數113
最新版本名稱ray-2.46.0 (發布於 )
第一版名稱ray-0.1.0 (發布於 )
用户参与
星數37.4k
關注者數486
派生數6.4k
提交數25.5k
已啟用問題?
問題數20348
打開的問題數3791
拉請求數26043
打開的拉請求數502
關閉的拉請求數6482
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?