ray 是一个统一的 Python 与 AI 应用分布式框架,旨在将计算密集型机器学习负载从单机开发环境扩展到集群。它提供无状态任务、有状态 Actor 和不可变对象的分布式抽象。
项目概览
当单机笔记本电脑的 ML 训练或数据处理遇到瓶颈时,ray 提供了通过统一框架将相同的 Python 代码扩展到集群的能力。
项目类型
模型开发 · 模型运行 · 数据处理 · 基础设施
部署方式
查看项目说明
License
Apache-2.0
适合谁
面临计算密集型 ML 工作负载超出单机开发环境瓶颈,且需要将 Python 和 AI 应用程序扩展到集群的 AI 工程师和开发者。
核心能力
为无状态任务、有状态 Actor 和可跨集群访问的不可变对象提供分布式抽象。
为机器学习工作负载提供可扩展的数据集处理能力。
为机器学习工作负载提供分布式训练能力。
提供可扩展的超参数调优能力。
提供可扩展的强化学习能力。
提供可扩展且可编程的服务部署能力。
监控 ray 应用程序和集群。
调试 ray 应用程序。
限制与风险
该框架要求用户具备编码能力,通过编写 Python 应用程序来进行交互。
关于 GPU 需求、最低硬件配置、操作系统兼容性以及外部数据库或服务依赖等文档信息尚未提供记录。
如何开始
可通过执行 pip install ray 命令来安装项目。根据现有文档资料,完整的首次成功工作流路径尚不明确。
核验依据
GitHub 项目简介: Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
README: 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:
README: 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.
README: Ray is a unified way to scale Python and AI applications from a laptop to a cluster.
README: - `Tasks`_: Stateless functions executed in the cluster. - `Actors`_: Stateful worker processes created in the cluster. - `Objects`_: Immutable values accessible across the cluste…