Ray Tutorial Appendix C Adds a Bilingual Glossary
The tutorial author published Appendix C, a glossary covering roughly 218 Ray terms organized by topic with Chinese and English names, one-sentence definitions, and Ray-specific meanings. Entries link to relevant tutorial chapters, while “mini” labels identify corresponding implementations in mini-ray; the author also revised earlier body and index counts to distinguish them more clearly.
The appendix provides a practical reference for navigating Ray’s core concepts, scheduling, resources, observability, and ecosystem, with direct links to chapters and teaching implementations.
本附录目标:让"我到底在看哪个词"这件事不再消耗你的注意力。 正文约 218 条术语,按主题分组;每条给中文名 + 英文名 + 一句话定义 + 它在 Ray 里的具体含义(后者才是重点——同一个英文词在不同框架里意思常常不同)。 文末附按英文字母排序的索引(索引收 178 条,比正文少 —— 正文里有些是同一概念的不同侧面,索引只收主条目)。 ⚠️ 两个数字别混:第四轮修订前这里写"160 余条", 而当时正文实际已有 187 条、索引 160 条 —— 自述数与实际数不符。 现在按实测写,并把索引与正文分开计数。 交叉引用:括号里的"第 N 章"是本教程的对应章节;"(mini)"表示这条在 mini-ray 里有对应实现,可以去看代码。
C.1 Core 概念
任务 / Task —— 一次远程函数调用产生的执行单元。 在 Ray 里,@ray.remote 装饰的函数调用 f.remote(x) 就创建一个 Task;它无状态、可重试、 可并行,生命周期止于返回值被写进对象存储。(mini: miniray/remote.py)
Some source content is omitted. Continue reading on the original site.