ray README

项目的 README,来自 github.com/ray-project/ray。合并为一个 markdown 文件: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)

正在搜索数据库…

44.3K ·GitHub
这是什么?Ray 是一个用于扩展 AI 和 Python 应用的开源框架:它包含一个核心分布式运行时,以及一组简化机器学习算力使用的 AI 库。
它是一个库,还是一整套库?是一整套。在 Ray Core 运行时之上,有五个 AI 库:Data、Train、Tune、RLlib 和 Serve,每个库对应一种机器学习工作负载。
怎么把 Ray 加到我的项目里?用 pip install ray 从 PyPI 安装即可;体验版(每夜构建)可以通过安装页面获取。
它只适合机器学习,还是任何 Python 代码都能用?其实都可以:Ray 是通用型的,设计目标是让各种工作负载都能高效运行,只是自带的那些库专门面向机器学习算力。
我的 Ray 工作负载可以跑在哪里?哪里都行:Ray 可以在任何机器、集群、云服务商以及 Kubernetes 上运行,社区的集成生态也在不断壮大。
核心运行时到底给了我什么?三种抽象:Task(在集群中执行的无状态函数)、Actor(在集群中创建的有状态工作进程)和 Object(可跨集群访问的不可变值)。
我的脚本在自己的笔记本上跑得好好的,什么时候才需要 Ray?当算力需求超出一台机器的时候:笔记本这类单机环境跟不上算力密集的机器学习工作负载,而 Ray 无需额外基础设施,就能把同一份代码从笔记本扩展到集群。
我能看到正在运行的集群在做什么吗?可以——用内置的 Ray Dashboard 监控 Ray 应用和集群,并用 Ray Distributed Debugger 进行调试。
大小
846.5 MB
星标
44.3K
时长
10年
提交 · 90 天